On a quest for agency in Bellairs
HTML 43.6%
OCaml 21.8%
CSS 21.2%
Python 5.2%
JavaScript 4.3%
Cap'n Proto 2.9%
Dune 0.1%
Other 0.9%
29 2 0

Clone this repository

https://tangled.org/anil.recoil.org/bellairs-quest
git@git.recoil.org:anil.recoil.org/bellairs-quest

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Bellairs Quest#

Instructions to use Tangled on git.recoil.org:

  • Ask @anil.recoil.org to add you to the knot.

  • Add your SSH key to the tangled.sh login under 'Settings'.

  • use port 2222 for the SSH !!! Put the following into ~/.ssh/config:

Host git.recoil.org
   User git
   Port 2222
  • Wait a minute for the relay to catch up.

  • Try ssh git.recoil.org to ensure that you have a login and you get a message saying that this is a knot and that it doesnt like interactive mode (instead of access denied).

  • Try cloning over https and pushing over SSH.

MVP#

Run the server with:

$ dune exec -- mvp/ocaml/server/server.exe --capnp-secret-key-file server.pem --capnp-listen-address tcp:127.0.0.1:1234

Run the client (in another terminal):

$ export BELLAIRS_CAP=storage.cap # this is located on the same dir as where the server has started
$ dune exec -- mvp/ocaml/client/client.exe read foo
foo: ""
$ dune exec -- mvp/ocaml/client/client.exe write foo 'hello bellairs!'
9 bytes successfully written into foo.
$ dune exec -- mvp/ocaml/client/client.exe read foo
foo: "hello bar"