Publish stuff on the Web by piping it to a Unix domain socket.
This repository has been archived on 2024-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2022-09-02 18:52:39 +02:00
shrlok change html type to raw 2022-09-02 18:52:39 +02:00
.gitignore shrlok: add html type 2022-07-10 18:24:59 +02:00
pyproject.toml init 2022-07-04 21:52:48 +02:00
README.md readme 2022-09-02 18:52:39 +02:00
setup.cfg init 2022-07-04 21:52:48 +02:00

Shrlok

Publish stuff on the Web by piping it to a Unix domain socket (WIP).

Shrlok listens in the background on a Unix socket for a small header followed by data and pushes this data in a directory with some basic treatment. For example, text pushed to Shrlok is put into a pre tag of an HTML page.

The current expected format is described at the top of the shrlok.py module.

Supported types:

  • txt: put into a pre tag in an HTML page;
  • raw: put as is.

Example: TODO