whacked / brltty-display-server

simple json rpc server to drive braille display using brlapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brltty-display-server

a barebones JSON-RPC 2.0 server that provides a single show method that displays the input text onto a BrlAPI-compatible display.

documentation on the python usage seems to be limited to apitest.py from the official repository. That file also seems to demonstrate windows usage; this repository assumes linux.

tested on Ubuntu 18.04.2 LTS (bionic) using nix-env (Nix) 2.2.1

usage

example settings.ini file:

[braille-python-server]
HOSTNAME = localhost
PORT = 8111

nix-shell into the environment and run:

  • start-brltty starts the brltty daemon
  • start-receiver starts the jsonprc server defined in receiver.py

see example_transmitter.py for a minimal transmission request

About

simple json rpc server to drive braille display using brlapi

License:GNU Lesser General Public License v2.1


Languages

Language:Python 82.9%Language:Nix 17.1%