Documentation
¶
Overview ¶
Package comfylib holds the code Imvault and Witmoot share: service confinement, service configuration, mail sending, key files, tokens, client addresses behind proxies, reverse-proxy configuration, and automatic backups. Each subpackage uses only the standard library and never imports application code.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package autobackup schedules private compressed snapshots.
|
Package autobackup schedules private compressed snapshots. |
|
Package brandimage validates small uploaded PNG, JPEG and GIF images and converts them to a single PNG without metadata or animation.
|
Package brandimage validates small uploaded PNG, JPEG and GIF images and converts them to a single PNG without metadata or animation. |
|
Package clientip finds the address of the person behind a request, believing forwarding headers only from proxies the operator named.
|
Package clientip finds the address of the person behind a request, believing forwarding headers only from proxies the operator named. |
|
Package invitation describes invitation availability for display.
|
Package invitation describes invitation availability for display. |
|
Package keyfile keeps a random key in a file of its own, creating it on first use.
|
Package keyfile keeps a random key in a file of its own, creating it on first use. |
|
Package memberprofile validates optional, plain-text member biographies and links.
|
Package memberprofile validates optional, plain-text member biographies and links. |
|
oidc
module
|
|
|
Package password provides confirmed password prompting.
|
Package password provides confirmed password prompting. |
|
Package privdrop re-runs an administrative command as the installed service's account when an operator starts it as root, for example with sudo.
|
Package privdrop re-runs an administrative command as the installed service's account when an operator starts it as root, for example with sudo. |
|
Package profileimage normalizes account pictures and keeps a still rendition alongside bounded GIF animation.
|
Package profileimage normalizes account pictures and keeps a still rendition alongside bounded GIF animation. |
|
Package proxyconfig prints a reverse-proxy site configuration for an app, generated from the example files the app ships in its packages.
|
Package proxyconfig prints a reverse-proxy site configuration for an app, generated from the example files the app ships in its packages. |
|
proxytest
Package proxytest runs an app's generated nginx and Apache configurations in real servers and checks what reaches the app through them.
|
Package proxytest runs an app's generated nginx and Apache configurations in real servers and checks what reaches the app through them. |
|
Package reference provides browser-only Comfyware discussion handoffs.
|
Package reference provides browser-only Comfyware discussion handoffs. |
|
Package sandbox constructs explicit Bubblewrap policies.
|
Package sandbox constructs explicit Bubblewrap policies. |
|
Package setup supplies the common, host-authorized first-owner browser flow.
|
Package setup supplies the common, host-authorized first-owner browser flow. |
|
Package smtp sends the small number of transactional messages the apps need, such as password reset links, through an SMTP relay.
|
Package smtp sends the small number of transactional messages the apps need, such as password reset links, through an SMTP relay. |
|
Package suite provides optional navigation between independently hosted apps.
|
Package suite provides optional navigation between independently hosted apps. |
|
Package svcconfig reads an installed service's settings the way its service manager would pass them, so that a command an operator runs by hand acts on the same instance as the running service.
|
Package svcconfig reads an installed service's settings the way its service manager would pass them, so that a command an operator runs by hand acts on the same instance as the running service. |
|
Package token mints opaque secrets and hashes them for storage.
|
Package token mints opaque secrets and hashes them for storage. |
|
Package ui supplies shared, palette-independent Comfyware presentation assets.
|
Package ui supplies shared, palette-independent Comfyware presentation assets. |
Click to show internal directories.
Click to hide internal directories.