PET-MONITOR-APP(5)
pet-monitor-app - a simple and secure pet monitor for Linux.
The config file is located at $XDG_CONFIG_HOME/pet-monitor-app/config.toml. XDG_CONFIG_HOME defaults to ~/.config. A different path can be set by passing the --config command-line option. The file is in the TOML format.
These options are top-level TOML keys.
password_hash = The argon2 hash of the password. This option should only be edited using the CLI's set-password subcommand described in pet-monitor-app(1).
jwt_secret = The 32-byte secret used for signing JSON web tokens. This option should only be edited using the CLI's regen-secret subcommand described in pet-monitor-app(1).
jwt_timeout = The duration in seconds that JSON web tokens should remain valid for. Users will have to reenter the password after this amount of time.
Default: _604800_ (7 days)
host = The IP address for the server to listen on.
Default: _127.0.0.1_
port = The port for the server to listen on.
Default: _8080_
These options are also top-level TOML keys.
device = The V4L2 device to capture video on.
Default: _/dev/video0_
format = The FourCC code of the format to capture video in.
Default: _YUYV_
resolution = [, ] The resolution in pixels to capture video in.
Default: [_640_, _480_]
interval = [, ] The frame interval to capture video in, represented as a fraction.
Default: [_1_, _30_]
pet-monitor-app(1)
Developed and maintained by Sam Nystrom [email protected]. Source code is available at https://github.com/Stonks3141/pet-monitor-app.