aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHaskell Guy <haskell.guy@localhost>2020-05-26 13:07:50 +0200
committerHaskell Guy <haskell.guy@localhost>2020-05-26 13:37:29 +0200
commit41cde99ec6189dbecca6803a5aa4f6f18142e8ba (patch)
tree7a0ceab0d516b8c3b7b49313100ae50c97e875c3 /README.md
downloadssb-haskell-41cde99ec6189dbecca6803a5aa4f6f18142e8ba.tar.xz
initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md67
1 files changed, 67 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..75bb728
--- /dev/null
+++ b/README.md
@@ -0,0 +1,67 @@
+# Scuttlebutt in Haskell
+
+[Scuttlebutt](https://www.scuttlebutt.nz/) is a decentralised gossiping
+platform which also works well offline. SSB feed for the project is at
+@f5ABjSMAR95ajlGST63/xx+XUoty53mlSZZ3GhGbQeE=.ed25519.
+
+This project is under active development (in alpha). USE AT YOUR OWN RISK.
+
+
+## Related Projects
+
+ - [Cryptoscope's SSB](https://github.com/cryptoscope/ssb) - Scuttlebutt implementation in Golang
+ - [Scuttlebutt Types](https://git.joeyh.name/git/haskell-scuttlebutt-types.git/) - data types for common Scuttlebutt messages
+ - [Sunrise Choir's SSB](https://github.com/sunrise-choir) - Scuttlebutt implementation in Rust
+
+## Building and Installation
+
+Haskell [stack](https://docs.haskellstack.org/en/stable/README/) is used to
+build the code and manage dependencies. See their
+[README](https://docs.haskellstack.org/en/stable/README/) for how to install
+it.
+
+Stack can then be used to:
+
+Build the project
+
+```sh
+stack build
+```
+
+Install the project into your local bin path
+
+```sh
+stack install
+```
+
+Run the project without installing it
+
+```sh
+stack run -- help
+```
+
+## Hosting a SSB Room
+
+You can host an [SSB room](https://github.com/staltz/ssb-room) using this
+project. SSB peers can then use the room to discover and communicate with each
+other. For more information, refer to the official project.
+
+```sh
+ssb host-room --help
+# Usage: ssb host-room NAME DESCRIPTION HOSTNAME
+# host a room
+#
+# Available options:
+# NAME what's the room called
+# DESCRIPTION summary of room's purpose
+# HOSTNAME IP address or Domain Name to host on. The Domain Name
+# must resolve.
+# -h,--help Show this help text
+```
+
+For example:
+
+```sh
+ssb host-room "the-room" "Movie discussion on a cult-classic" room.lets-discuss.org
+# Hosting room for 'net:room.lets-discuss.org:8008~shs:f2Ofh8qBvMNaQSI0RJTf7zr/NEfSOU/RuOXzCMNRu0M=:SSB+Room+PSK3TLYC2T86EHQCUHBUHASCASE18JBV24='
+```