Server for remote control your pc 💻
- List all installed applications of your pc
- List all application categories of your pc
- Start applications with or without delay
sudo apt install libgtk-3-dev libcairo2-dev libglib2.0-dev libnotify-bin
sudo pacman -S gtk3 libnotify
Run make
or make build
and at <project directory>/bin
the binary called rmtly-server can be used.
After building the project run make run
or open the rmtly-server file in the build directory.
If you miss an important feature fell free to contribute or create a feature request.
rmtly-server is a server application written in golang that allows you to start application with a rest api
http://localhost:3000/applications
http://localhost:3000/applications/org.gnome.gedit.desktop
http://localhost:3000/applications/run/org.gnome.gedit.desktop
http://localhost:3000/applications/org.gnome.gedit.desktop/icon
http://localhost:3000/authentication/code
after requesting the code go to the terminal and scan the created qr code or type it then post a json with that code and an id
{
"qrCode": "code",
"deviceId": "random string"
}
to http://localhost:3000/authentication/signUp
after that you get a jwt and add it to your headers for the requests
The config file for this server is located at .config/rmtly-server/config.json
this file is auto generated if not available.
{
"application": { "cacheExpiresInMillis": 10000 },
"security": {
"expirationInDays": 99, // jwt expiration time
"secret": "authenticationCode",
},
"network": { "address": "0.0.0.0:3000" }
}
Check out Rmtly to control your pc with your phone.
MIT License
Copyright (c) 2021 free-bots
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.