2022-06-09 01:25:45 +00:00
# Syndicate utils
2022-06-10 04:49:49 +00:00
## freedesktop_notifier
Does that desktop notification thing. See [notifications.prs ](./notifications.prs ) for the message schema.
2022-06-09 01:25:45 +00:00
## 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 17:24:02 +00:00
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 ).
2022-06-09 17:24:02 +00:00
## msg
A utility that sends a message to $SYNDICATE_SOCK in the form `<ARGV…>` .