aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8d0c22f..0fc9f96 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,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