mirror of
https://github.com/knadh/listmonk.git
synced 2025-09-29 01:46:01 +08:00
High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
campaigncampaign-managementemail-campaignsemail-marketingemail-subscriptionfcm-messaginglistmonkmailing-listnewsletternewsletter-managementself-hostedsms-gatewaysmtpstarred-knadh-repostarred-repo
- During install, listmonk now accepts the env `LISTMONK_ADMIN_API_USER` and creates an API user (with username $LISTMONK_ADMIN_API_USER) with full superadmin permissions. This requires LISTMONK_ADMIN_USER and LISTMONK_ADMIN_API_PASSWORD to be set so that that there's always a superadmin user to avoid bad states, mainly: bot superadmin exists, but no admin user exists, leaving the installation perpetually open with the superadmin user creation UI on the first login. The API user's token is printed to stderr in the following format: `export LISTMONK_ADMIN_API_TOKEN="7I81VSd90UWhKDj5Kq9c6YopToRduyDF"` This can be redirected to a file with ./listmonk 2> /tmp/token or captured directly and then source()'d. - Add new function `core.GetRole(id)`. - Fix `at least one super admin` query in user deletion. |
||
---|---|---|
.devcontainer | ||
.github | ||
cmd | ||
dev | ||
docs | ||
frontend | ||
i18n | ||
internal | ||
models | ||
scripts | ||
static | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
.goreleaser.yml | ||
config.toml.sample | ||
CONTRIBUTING.md | ||
docker-compose.yml | ||
docker-entrypoint.sh | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
listmonk-simple.service | ||
listmonk@.service | ||
Makefile | ||
permissions.json | ||
project.inlang.json | ||
queries.sql | ||
README.md | ||
schema.sql | ||
VERSION |
listmonk is a standalone, self-hosted, newsletter and mailing list manager. It is fast, feature-rich, and packed into a single binary. It uses a PostgreSQL (⩾ 12) database as its data store.
Visit listmonk.app for more info. Check out the live demo.
Installation
Docker
The latest image is available on DockerHub at listmonk/listmonk:latest
.
Download and use the sample docker-compose.yml.
# Download the compose file to the current directory.
curl -LO https://github.com/knadh/listmonk/raw/master/docker-compose.yml
# Run the services in the background.
docker compose up -d
Visit http://localhost:9000
Binary
- Download the latest release and extract the listmonk binary.
./listmonk --new-config
to generate config.toml. Edit it../listmonk --install
to setup the Postgres DB (or--upgrade
to upgrade an existing DB. Upgrades are idempotent and running them multiple times have no side effects).- Run
./listmonk
and visithttp://localhost:9000
Developers
listmonk is free and open source software licensed under AGPLv3. If you are interested in contributing, refer to the developer setup. The backend is written in Go and the frontend is Vue with Buefy for UI.
License
listmonk is licensed under the AGPL v3 license.