On a quest for agency in Bellairs

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"