summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-25 16:33:43 -0400
committerIan Moffett <ian@osmora.org>2025-09-25 16:33:43 -0400
commitea4705684287796cd3ab1919d6958b4a964255c8 (patch)
treebfb5f3c95b9b5ce7306c227fd59878128228df41 /README.md
parentf8e8b89693cd4137cbbc3a10514594dc45b49d09 (diff)
docs: Use markdown readme and describe protocol
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4d68a6a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,29 @@
+# Protocol stack for OSMORA ONET infrastructure
+
+## What is O.1P?
+
+O.1P is a minimal, fast and lightweight LAN protocol which can be used for
+various applications such as file sharing, shared logs, printer servers, etc.
+
+It is mainly intended for use with OSMORA infrastructure, however anyone is
+welcome to deploy their own instance for personal usage.
+
+## Make sure to assign an IP to your ethernet interface!:
+
+```sh
+ip addr add 192.168.5.11/24 dev eth0
+```
+
+## Build instructions
+
+```sh
+make
+doas make install
+```
+
+An example program is in ``examples/`` and can be compiled with
+the following commands (assuming an install was made):
+
+```sh
+gcc -lonet examples/hello.c
+```