webapp to collect SMS (or other protocol) messages via an API and displays them to the authenticated user
| Readme.md | ||
sms-collector-web
an website which can collect SMS [or anything else] using POST requests and then display them to the user
idea: (TODO)
/
"the app" or redirect to /login if not logged in
list of "chats" with maybe last messaged directly shown -> link to /chat/<number>
/login/
allows signin, on success redirects to /
/chat/<number> (authenticated)
list of messages from <number>
/settings/ (authenticated)
add/remove/edit settings incl. linked phones (-> generate <phone_id> to be used in /api/
/api/
api for phones to send the received messages to. (maybe other stuff int the future)
/api/sms/<phone_id>/submit (POST request)
JSON formatted sms contents at least "text", "from"
/api/sms/<phone_id>/heartbeat (GET,POST,whatever)
to be called by the phone every few minutes (could be used as "last seen" of the device in "the app"