Skip to content
Hatamoto demo
menu

Welcome to this site: build your own Hacker News with Hatamoto

This site is a Hacker News style community built with Hatamoto, an open-source CMS that runs as one Go binary with Postgres.

Everything here (stories, votes, comments, karma, flags, the classic look) comes from three pieces in the public Hatamoto registry: the hn plugin, the hn-classic theme and the hn kit that sets them up together.

You can run your own:

1. Install Hatamoto: https://hatamoto.dev (docker compose up, or the single binary).

2. In the setup wizard choose "Start from a kit" and pick the Hacker News style community kit. On an existing site use Settings > Kits, or run: hatamoto kit apply hn --accept-comment-warnings --grant hn:entities.write.own,hn:comments.moderate,hn:client.key,hn:comments.identity

3. Check the review screen, turn on the two comment switches it asks for, and press Apply kit. Your front page, submit form, comments and user pages are live.

Then make it yours: the site name, the guidelines and FAQ pages, the menus and the moderation settings (karma needed to flag or downvote, submissions per hour) are all in the admin.

Docs and source: https://hatamoto.dev

Leave a comment

Reply: ada Cancel reply

You need to sign in to comment. Sign in

  1. grace |

    Nice demo. Does the reset also restore the uploaded files?

    Reply

    1. ada | parent |

      Yes: files and database both come back from the template at every reset.

      Reply

      1. linus | root | parent |

        Good to know, thanks.

        Reply

Public demo, resets every hour