{"id":50444028,"url":"https://github.com/vinta/laughing-man","last_synced_at":"2026-05-31T20:04:00.352Z","repository":{"id":348229058,"uuid":"1194334849","full_name":"vinta/laughing-man","owner":"vinta","description":"Turn your Markdown into a self-hosted newsletter","archived":false,"fork":false,"pushed_at":"2026-04-28T07:42:07.000Z","size":1627,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-28T09:29:42.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinta.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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-03-28T07:57:59.000Z","updated_at":"2026-04-28T07:41:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vinta/laughing-man","commit_stats":null,"previous_names":["sadcoderlabs/laughing-man","vinta/laughing-man"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/vinta/laughing-man","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinta%2Flaughing-man","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinta%2Flaughing-man/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinta%2Flaughing-man/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinta%2Flaughing-man/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinta","download_url":"https://codeload.github.com/vinta/laughing-man/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinta%2Flaughing-man/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33746536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-31T20:03:59.463Z","updated_at":"2026-05-31T20:04:00.347Z","avatar_url":"https://github.com/vinta.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"themes/laughing-man/assets/laughing-man.svg\" width=\"200\" alt=\"Laughing Man logo\"\u003e\n\u003c/p\u003e\n\n# laughing-man\n\n[![npm Version](https://img.shields.io/npm/v/laughing-man-cli?style=for-the-badge)](https://www.npmjs.com/package/laughing-man-cli)\n[![CI](https://img.shields.io/github/actions/workflow/status/vinta/laughing-man/ci.yml?style=for-the-badge\u0026label=Build)](https://github.com/vinta/laughing-man/actions/workflows/ci.yml)\n[![Agent Friendly](https://img.shields.io/badge/Agent-Friendly-blue?style=for-the-badge)](https://github.com/vinta/laughing-man/blob/main/skills/laughing-man/SKILL.md)\n\nTurn your Markdown into a self-hosted newsletter.\n\nWrite your newsletter in Markdown with whatever tools you like (Obsidian, Logseq, VSCode, etc.). `laughing-man` turns them into a static archive site and email-ready newsletter HTML. Host on Cloudflare Pages, deliver to subscribers with Resend. Fully self-hosted, fully free within their free tiers. No CMS, no database, no code.\n\n## Installation\n\nRequires Node.js 22+ (for npx) and a domain name.\n\n```bash\nnpm install -g laughing-man-cli\n```\n\nOr run without installing:\n\n```bash\nnpx laughing-man-cli --help\n```\n\n## Usage\n\nIf you're the type who skips the manual, just copy this prompt to your agent:\n\n```prompt\nHow do I use this tool? Read https://raw.githubusercontent.com/vinta/laughing-man/main/skills/laughing-man/SKILL.md\n```\n\n### Initiate\n\nGenerate `laughing-man.yaml` in any folder:\n\n```bash\ncd /path/to/your/markdown/folder/\nlaughing-man init\n```\n\n### Preview\n\nPreview your newsletter website (and the email template) with the local server:\n\n```bash\nlaughing-man preview\n```\n\n### Configure\n\n```yaml\nname: Your Newsletter Name\ndescription: A newsletter by [Your Name](https://blog.example.com)\nissues_dir: .\nattachments_dir: .\n\ntheme: laughing-man\nsyntax_highlight_theme: material-theme-lighter\n\nauthor:\n  name: Your Name\n  url: https://example.com\n  x_handle: \"@your_handle\"\n\nweb_hosting:\n  provider: cloudflare-pages\n  project: your-newsletter-name\n  domain: example.com\n\nemail_hosting:\n  provider: resend\n  from: \"Your Name \u003cyour-name@newsletter.example.com\u003e\"\n  reply_to: your-name@newsletter.example.com\n\nenv:\n  CLOUDFLARE_API_TOKEN: \"cf_xxxxx\" # or set CLOUDFLARE_API_TOKEN env var\n  RESEND_API_KEY: \"re_xxxxx\" # or set RESEND_API_KEY env var\n```\n\n- Get your Cloudflare API token from [dash.cloudflare.com/profile/api-tokens](https://dash.cloudflare.com/profile/api-tokens)\n  - Permissions:\n    - `Account | Cloudflare Pages | Edit`\n    - `Zone | DNS | Edit`\n  - Account Resources\n    - `Include | your account name`\n  - Zone Resources:\n    - `Include | Specific zone | example.com`\n- Get your Resend API key from [resend.com/api-keys](https://resend.com/api-keys)\n  - Permission: **Full access**\n    - Because the subscribe function creates contacts, not just sends email\n\n### Deploy\n\nSet up Cloudflare Pages (project + custom domain + DNS) and deploy:\n\n```bash\nlaughing-man setup web                 # Create Cloudflare Pages project + custom domain + DNS\nlaughing-man deploy                    # Deploy to Cloudflare Pages\n```\n\nSet up Resend and send an issue:\n\n```bash\nlaughing-man setup newsletter          # Verify Resend API key + sender domain + DNS\nlaughing-man send \u003cissue-number\u003e       # Send an issue via Resend Broadcast\nlaughing-man send status               # Show delivery status for all sent broadcasts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinta%2Flaughing-man","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinta%2Flaughing-man","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinta%2Flaughing-man/lists"}