blob: 0fc9f96a5a78ed682a41cce60776c3a927deb8f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# status
Just something I threw together real quick for an incredibly specific and niche use case (displaying silly little messages on my girlfriend's dashboard)
## Usage
- Create `~/.status/auth`
- Run the server
- Make requests to `/generate-hash` to create user and admin hashes
- With cURL: `curl -u username:password <address>/generate-hash`
- Put generated hashes into `~/.status/auth`
- Restart the server
- Set a message
- With cURL: `curl -u username:password -d 'message' -X POST <address>/update`
- Read the message
- With cURL: `curl -u username:password <address>`
If that seems incredibly janky, that's because it is :3
|