syndicate_utils/README.md

20 lines
617 B
Markdown
Raw Normal View History

2022-06-09 01:25:45 +00:00
# Syndicate utils
## http_translator
Dispatches HTTP requests to registered handlers.
See [http_translator.config-example.pr](./http_translator.config-example.pr) for an example configuration.
2022-06-09 05:28:26 +00:00
## json_translator
Wrapper that executes a command, parses its JSON output, and asserts a Preserves conversion in an `<output …>` record.
2022-06-09 18:15:13 +00:00
## json_socket_translator
Utility to communicate with sockets that send and receive lines of JSON. Compatible with [mpv](https://mpv.io/), see [mpv.config-example.pr](./mpv.config-example.pr).
## msg
A utility that sends a message to $SYNDICATE_SOCK in the form `<ARGV…>`.