You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Fabien Benetou 2eedef5398 basic SSE example, Web client 6 months ago
examples basic SSE example, Web client 6 months ago
README.md demo day video 8 months ago
cloudinit script to deploy on cloud (tested on DO) 1 year ago
index.js basic SSE examples for /events 6 months ago

README.md

Offtopus, offline-octopus

Goal

Provide a way to connect local machines to work and tinker with efficiently, building prototypes with resilience in mind.

Demo

5min recorded demo video https://video.benetou.fr/w/sHE39WSZkQgfPNDdiypfog

Note that XR is optional. Original extract from https://youtu.be/BRjohy0ruAg?t=2061 for Future of Text demo day.

How does it work

It provides a Web server with endpoints for different functions, including listing machines joining that network, make functions available to that new network of machines, sharing files, etc. Note that the point is to build on top of it, consequently functions as endpoints here are solely examples.

How to install

  1. clone repository
  2. install dependancies (no package.json yet) but mostly express missing, i.e npm i express
  3. run e.g node .
  4. connect to it locally first, e.g https://localhost:8082 (assumes existing SSL certificates) or https://localhost:8082/routes

Note that the cloudinit file is an example on a brand new machine.

tested on

  • Linux machines, e.g Ubuntu on desktop, RPi Zero
  • Android devices using Termux, e.g Quest 1
  • iOS via iSH Most likely partially works on Windows with Linux subsystem. System commands, e.g shutdown, xrandr, etc must be adapted.

Developing and debugging

  • See the console REPL, starting with help()
  • see /routes/json to connect to all services

Digging deeper

Inspiration

  • Designing for serendipity: supporting end-user configuration of ubiquitous computing environments, Xerox PARC 2002
  • Providing an Integrated User Experience of Networked Media, Devices, and Services through End-User Composition, 2008