Print Nanny OS Tools

Discord Github Followers

Commit Activity Release

Print Nanny Logo

Learn more

Install Print Nanny OS

Crates

This workspace contains the following tools used in Print Nanny OS:

printnanny-services

printnanny-cli

``` printnanny Leigh Johnson leigh@bitsy.ai Print Nanny Command-line Interface

USAGE: printnanny-cli [OPTIONS] --config

OPTIONS: -c, --config Path to Config.toml (see env/ for examples) -h, --help Print help information -v Sets the level of verbosity -V, --version Print version information

SUBCOMMANDS: device Interact with device REST API factsd Config serializer (JSON) intended for use with Ansible facts.d help Print this message or the help of the given subcommand(s) janus-admin Interact with Janus admin/monitoring APIs https://janus.conf.meetecho.com/docs/auth.html#token monitor Interact with Print Nanny monitoring service mqtt Interact with MQTT pub/sub service
```

Device commands

``` printnanny-cli-device Leigh Johnson leigh@bitsy.ai Interact with device REST API

USAGE: printnanny-cli --config device [OPTIONS] [action]

ARGS: [possible values: get, setup]

OPTIONS: -h, --help Print help information -o, --output
-V, --version Print version information
```

Ansible facts.d commands

``` printnanny-cli-factsd Leigh Johnson leigh@bitsy.ai Config serializer (JSON) intended for use with Ansible facts.d

USAGE: printnanny-cli --config factsd [OPTIONS]

OPTIONS: -h, --help Print help information -o, --output
-V, --version Print version information ```

Janus Gateway admin commands

``` printnanny-cli-janus-admin Leigh Johnson leigh@bitsy.ai Interact with Janus admin/monitoring APIs https://janus.conf.meetecho.com/docs/auth.html#token

USAGE: printnanny-cli --config janus-admin [OPTIONS] [endpoint]

ARGS: Janus admin/monitoring API endpoint [default: janus.plugin.echotest,janus.plugin.streaming] [possible values: get-status, info, ping, add-token, remove-token, list-tokens, test-stun]

OPTIONS: --adminsecret [env: JANUSADMINSECRET] -h, --help Print help information -H, --host [default: http://localhost:7088/admin] --plugins Commaseparated list of plugins used to scope token access. [default: janus.plugin.echotest,janus.plugin.streaming] --token [env: JANUS_TOKEN] -V, --version Print version information ```

Print Nanny monitoring commands

``` printnanny-cli-monitor Leigh Johnson leigh@bitsy.ai Interact with Print Nanny monitoring service

USAGE: printnanny-cli --config monitor

OPTIONS: -h, --help Print help information -V, --version Print version information

SUBCOMMANDS: help Print this message or the help of the given subcommand(s) start Start Print Nanny monitoring service stop Stop Print Nanny monitoring service ```

MQTT pub/sub commands

``` printnanny-cli-mqtt Leigh Johnson leigh@bitsy.ai Interact with MQTT pub/sub service

USAGE: printnanny-cli --config mqtt --ca-certs --private-key --public-key [action]

ARGS: [possible values: publish, subscribe]

OPTIONS: --ca-certs [env: MQTTCACERTS=] -h, --help Print help information --private-key [env: MQTTPRIVATEKEY=] --public-key [env: MQTTPUBLICKEY=] -V, --version Print version information ```

printnanny-dash

Two-factor authentication dash based on Rocket.rs

Credits

Created from XAMPPRocky/mean-bean-ci-template

This is a template for GitHub Actions meant as a successor to japaric/trust for handling XAMPPRocky/tokei's CI and deployment. I decided to make it a template to be able share it across projects and with the community.