patty

Version, currently 0.1.03 versions

github.com/Aspenini/patty

Patty — pick your Caddy. A local/LAN web app for managing installed apps and their Caddy routes.

0 stars
0 dependents
License: MIT

Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  patty:
    github: Aspenini/patty
    version: ~> 0.1.0

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.1.0. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

Patty

Pick your Caddy.

Patty is a local web app for turning apps and Caddy routes on and off. You write small .pattyfile profiles, Patty validates the Caddy config, and you manage everything from one dashboard.

Quick start

Build and run (needs Crystal and just):

just setup
just build
just run

Open http://127.0.0.1:7629, set an admin password, and add a profile.

Windows: just run launches pattyw.exe, a small tray wrapper that starts patty.exe run without a console. Use patty.exe from the terminal for CLI commands.

Pattyfiles

Put profiles in Patty's data folder. The filename is the profile name, e.g. jellyfin.pattyfile.

program: jellyfin

caddy: |
  jellyfin.localhost {
      reverse_proxy 127.0.0.1:8096
  }

program is optional (starts/stops a Windows service, systemd unit, or Homebrew service). caddy is required.

Caddy-only example:

caddy: |
  files.localhost {
      root * /srv/files
      file_server
  }

CLI

patty run             Start the web server
patty doctor          Check Caddy, services, and routes
patty install         Start Patty after sign-in
patty uninstall       Remove automatic startup
patty reset-password  Clear the admin password
patty reset-mfa       Disable MFA
patty version         Show version

Where stuff lives

  • Data (profiles, config, auth): %APPDATA%\Patty (Windows), ~/Library/Application Support/Patty (macOS), ~/.local/share/patty (Linux)
  • Logs: %LOCALAPPDATA%\Patty\Logs (Windows), ~/Library/Logs/Patty (macOS), ~/.local/state/patty (Linux)

Set PATTY_HOME to use a different data directory.

Notes

  • Caddy must be on PATH or configured in Settings.
  • Patty binds to 127.0.0.1 by default.
  • Optional MFA and dashboard forwarding are in Settings.