{"id":49665138,"url":"https://github.com/5000k/5000mails","last_synced_at":"2026-05-06T15:07:24.407Z","repository":{"id":351287471,"uuid":"1209292204","full_name":"5000K/5000mails","owner":"5000K","description":"A markdown-oriented newsletter server. Signups, double opt-in, test-mails, markdown-based newsletters.","archived":false,"fork":false,"pushed_at":"2026-04-14T11:53:37.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-14T12:24:41.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/5000K.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-13T09:26:37.000Z","updated_at":"2026-04-14T11:52:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/5000K/5000mails","commit_stats":null,"previous_names":["5000k/5000mails"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/5000K/5000mails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5000K%2F5000mails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5000K%2F5000mails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5000K%2F5000mails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5000K%2F5000mails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5000K","download_url":"https://codeload.github.com/5000K/5000mails/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5000K%2F5000mails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32699315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-06T15:07:23.158Z","updated_at":"2026-05-06T15:07:24.402Z","avatar_url":"https://github.com/5000K.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 5000mails\n\nA markdown-oriented newsletter platform. Signups, double opt-in, test-mails, markdown-based newsletters.\n\nIt comes with a backend to manage self-serving user setup (signup, opt-in, unsubscribe) and a CLI that uses a private management API to facilitate all interactions your minimal newsletter really needs.\n\nThis is a sibling project of [5000blogs](https://github.com/5000K/5000blogs).\n\n## CLI\n\n`5kmcli` is the command-line client for the management API. Build it with:\n\n```sh\ngo build -o 5kmcli ./cmd/cli\n```\n\n**Global flags**\n\n| Flag                 | Default                 | Description                             |\n| -------------------- | ----------------------- | --------------------------------------- |\n| `--server URL`       | `http://localhost:9000` | Server base URL                         |\n| `--private-key-path` | -                       | Path to Ed25519 private key for signing |\n\n**Commands**\n\n```sh\n# Mailing lists\n5kmcli list create  --name NAME\n5kmcli list get     --id ID\n5kmcli list rename  --id ID --name NAME\n5kmcli list delete  --id ID\n5kmcli list users   --id ID\n\n# Send newsletters\n5kmcli send list  --list NAME  --raw-path PATH [--data KEY=VALUE ...]\n5kmcli send test  --email EMAIL --raw-path PATH [--name NAME] [--data KEY=VALUE ...]\n\n# Key management\n5kmcli keys generate [--out-dir DIR]\n```\n\n`--data` can be repeated to inject multiple template variables, e.g. `--data title=Hello --data month=April`.\n\n**Authentication**\n\nGenerate a key pair and configure the public key on the server:\n\n```sh\n5kmcli keys generate --out-dir ~/.config/5kmcli\n```\n\nPass `--private-key-path ~/.config/5kmcli/5kmcli.key` on every subsequent call to sign requests automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5000k%2F5000mails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5000k%2F5000mails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5000k%2F5000mails/lists"}