Home Explore Blog Models CI



nixpkgs

1st chunk of `nixos/modules/services/web-apps/hatsu.md`
74f114d6d971bb9ef5ee2b677347c87e9054e9508c87c7ad000000010000027e
# Hatsu {#module-services-hatsu}

[Hatsu](https://github.com/importantimport/hatsu) is an fully-automated ActivityPub bridge for static sites.

## Quickstart {#module-services-hatsu-quickstart}

the minimum configuration to start hatsu server would look like this:

```nix
{
  services.hatsu = {
    enable = true;
    settings = {
      HATSU_DOMAIN = "hatsu.local";
      HATSU_PRIMARY_ACCOUNT = "example.com";
    };
  };
}
```

this will start the hatsu server on port 3939 and save the database in `/var/lib/hatsu/hatsu.sqlite3`.

Please refer to the [Hatsu Documentation](https://hatsu.cli.rs) for additional configuration options.

Title: Hatsu: ActivityPub Bridge for Static Sites - Quickstart
Summary
Hatsu is a fully-automated ActivityPub bridge designed for static websites. The provided quickstart guide demonstrates a minimum Nix configuration to enable the Hatsu server, requiring `HATSU_DOMAIN` and `HATSU_PRIMARY_ACCOUNT` settings. By default, it runs on port 3939 and stores its database at `/var/lib/hatsu/hatsu.sqlite3`.