24 lines
750 B
Markdown
24 lines
750 B
Markdown
# Syndicate utils
|
|
|
|
## freedesktop_notifier
|
|
|
|
Does that desktop notification thing. See [notifications.prs](./notifications.prs) for the message schema.
|
|
|
|
## http_translator
|
|
|
|
Dispatches HTTP requests to registered handlers.
|
|
|
|
See [http_translator.config-example.pr](./http_translator.config-example.pr) for an example configuration.
|
|
|
|
## json_translator
|
|
|
|
Wrapper that executes a command, parses its JSON output, and asserts a Preserves conversion in an `<output …>` record.
|
|
|
|
## 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…>`.
|