Publish stuff on the Web by piping it to a Unix domain socket.
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.
 
 
dece b51b314d74
improoooove
2 years ago
shrlok improoooove 2 years ago
.gitignore shrlok: add html type 2 years ago
README.md readme 2 years ago
pyproject.toml init 2 years ago
setup.cfg init 2 years ago
share.sh improoooove 2 years ago

README.md

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