Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

Off-Internet nodes with laptop clients #1

@benhylau

Description

@benhylau

I am hoping to use this for a workshop, using this as the base OS on Raspberry Pi 3. The network is created ad-hoc and completely isolated from the Internet, with nodes communicating over cjdns tun interfaces. I have a couple questions:

  1. I cannot npm install since the nodes are not on the Internet, so I am thinking to pre-build a docker image of this based on https://github.com/nodejs/docker-node/blob/master/9/alpine/Dockerfile and place it into every node's home dir (docker-ce is already on each node). Do you think this will work?

  2. Clients are connected to the Raspberry Pi access point, how can we expect them to interact with the sbot websocket? I would like two interactions:

    • From a laptop client, command line interface to send and receive messages to the Raspberry Pi mDNS address (e.g. bloor.local) with similar syntax as what you would do from the Raspberry Pi SSH session: sbot publish --type post --text "Hello, world!"

    • From a laptop client, browse to their mDNS address (e.g. http://bloor.local) and have a UI similar to Patchwork / Patchbay / Patchfoo

Storage is not really a concern since these nodes are only active for the duration of the workshop, the ramdisk filesystem is backed by 6 GB of SD card space, and will be reset upon power cycle.

Please close if Issues is not the right place for questions.

cc. @ansuz @jkms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions