[READ-ONLY] Mirror of https://github.com/jphastings/jan-poka. Jan Poka is a suite of tools for controlling custom internet-of-things devices that help make your distant friends feel closer.
geolocation hardware mqtt
0

Configure Feed

Select the types of activity you want to include in your feed.

Go 37.5%
C++ 11.7%
OpenSCAD 8.3%
Dockerfile 0.2%
C 0.2%
Other 42.2%
201 8 7

Clone this repository

https://git.vm.fail/byjp.me/jan-poka https://git.vm.fail/did:plc:xoutkbtr3ds5ns5bucoxkcor
ssh://git@knot1.tangled.sh:2222/byjp.me/jan-poka ssh://git@knot1.tangled.sh:2222/did:plc:xoutkbtr3ds5ns5bucoxkcor

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


README.md

Jan Poka#

A device for bringing your distant friends a little nearer.

Set up#

Use docker to run anywhere:

docker run --env-file .env --network host ghcr.io/jphastings/jan-poka:latest

NB. You must run attached to the host network, as this service uses Bonjour service discovery, so needs to know its network-visible IP address.

(Assuming that you have appropriate environment variables in a file called .env)

Options#

While executing:

$ENV_VAR Functionality
$JP_HOMELATITUDE The latitude of where the device is.
$JP_HOMELONGITUDE The longitude of where the device is.
$JP_HOMEALTITUDE The altitude of where the device is.
$JP_MQTTPORT The port to run the MQTT broker on.
$JP_USEAUDIO Allows audio playing — used by text-to-speech. (Requires libasound2-dev on Linux)

While building:

build tag Functionality
libnova Allows celestial body location (Requires libnova)