moin

module
v1.0.0-beta.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: AGPL-3.0

README

moin.

Deploy anything. Lose nothing. Any app on any server you own, every SQLite and Postgres change backed up and checked every day. Web, CLI, terminal UI and MCP.

moin login              # sign in with an API token
moin servers add web-1  # prints the one-line install for your server
moin deploy             # ✓ moin. your app is live
moin                    # the live terminal UI

The agent on your server only dials out. Nothing listens for moin.

Documentation

Everything else is in the docs: moin.run/docs, or /docs on your own control plane. They are the source of truth.

Build

go install github.com/axadrn/moin/cmd/moin@latest

The control plane is in controlplane.

License

AGPL-3.0, all of it. See LICENSE and CONTRIBUTING.md. The license covers the code, not the name or the logo: see TRADEMARKS.md.

Directories

Path Synopsis
cmd
moin command
Command moin opens the TUI without arguments, runs a CLI command with them, and runs the agent on a server with `moin agent`.
Command moin opens the TUI without arguments, runs a CLI command with them, and runs the agent on a server with `moin agent`.
controlplane
cmd/devport command
cmd/server command
internal/api
Package api serves the JSON API under /api/v1.
Package api serves the JSON API under /api/v1.
internal/brand
Package brand holds the words the site shows about the product.
Package brand holds the words the site shows about the product.
internal/catalog
Package catalog is the list of open source apps moin installs in one click.
Package catalog is the list of open source apps moin installs in one click.
internal/dbbackup
Package dbbackup keeps the control plane's own SQLite database in its bucket with Litestream, the way the agent keeps the databases of apps: every change within seconds, and the database comes back by itself when a new server starts without one.
Package dbbackup keeps the control plane's own SQLite database in its bucket with Litestream, the way the agent keeps the databases of apps: every change within seconds, and the database comes back by itself when a new server starts without one.
internal/githubstars
Package githubstars knows how many stars the moin repo has on GitHub.
Package githubstars knows how many stars the moin repo has on GitHub.
internal/mcp
Package mcp serves the MCP server at /mcp.
Package mcp serves the MCP server at /mcp.
internal/secret
Package secret seals small values, such as app env vars, with AES-256-GCM.
Package secret seals small values, such as app env vars, with AES-256-GCM.
internal
agent
Package agent is `ops agent`: the process on a server that dials out to the control plane and holds one WebSocket session to it.
Package agent is `ops agent`: the process on a server that dials out to the control plane and holds one WebSocket session to it.
build
Package build holds the product name and the version of this binary.
Package build holds the product name and the version of this binary.
cli
Package cli is `moin <command>`.
Package cli is `moin <command>`.
client
Package client talks to the control plane API for the CLI and the TUI.
Package client talks to the control plane API for the CLI and the TUI.
dotenv
Package dotenv reads and writes the env vars of an app as one .env text, KEY=value per line, and says what replacing them with such a text changes.
Package dotenv reads and writes the env vars of an app as one .env text, KEY=value per line, and says what replacing them with such a text changes.
style
Package style is the look of moin in the terminal: the brand and status colors of the web UI (controlplane/DESIGN.md), symbols and text styles.
Package style is the look of moin in the terminal: the brand and status colors of the web UI (controlplane/DESIGN.md), symbols and text styles.
tui
Package tui is what `moin` opens without a command.
Package tui is what `moin` opens without a command.
Package protocol is the contract between the ops agent and the control plane.
Package protocol is the contract between the ops agent and the control plane.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL