Pi66

sta
minimal & simple status monitoring app.
git clone https://git.pi66.xyz/sta

← back to log

Init

author: pi66
date: 2025-09-18 14:15
hash: 833b53fc037a33b22a42bee6e7afd5ba447a3d0a

Diffstat:

A

README.md
25 ++++++++++++++++++++++++++++++
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0d3919f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,25 @@
+# STA
+sta is a minimal & simple status monitor app built in c.
+
+## How it works
+STA creates a UNIX socket on the server side and keeps running, waiting for updates from clients.
+
+When you run it for the first time, it starts the server (daemon) and keeps running.  
+After that, you can send status updates.
+
+### Example
+```bash
+# Run the server
+sta
+```
+
+```
+# Send a status update
+sta -id 1 -name "$(date +%H:%M)"
+```
+
+This sends the current time to the server with a unique ID.
+To update the status, rerun the command.
+
+> **Note:** This project was created for learning purposes. 
+