The rsms mobile application lets you run a standalone HTTP and WebSocket server on your Android device.
The mobile application can be run individually, in case you're not interested in running the CLI.
You should have an Android IDE with Kotlin support. I use the Android Studio 3.0 Beta.
Clone the repository and navigate into it:
$ git clone https://github.com/kshvmdn/rsms
$ cd rsms/RemoteSMS
Open the project in your preferred IDE and build as you regularly would.
Open the app, set your preferred token and ports, and hit start.
Note that if you don't set a token, both servers are accessible to anyone on your local network.
This project is completely open source, feel free to open an issue or submit a pull request.
I'm relatively new to Kotlin (and native Android dev. for that matter), so I'd love any feedback.
- Investigate why token is being changed consistently.
- Build better queries for retrieving SMS conversations (i.e. only from certain numbers rather than all)
- Add support for protecting the WebSocket server with token.
- Document API endpoints and output.
- Bug: Stopping the server from notifications doesn't change the button text (so it still reads
"Stop"
). - There's a bunch of TODOs that need work throughout the code.
rsms source code is released under the MIT license.