Home Explore Blog Models CI



nixpkgs

nixos/modules/services/web-apps/hatsu.md
3ffe04af1b04a8e2b93e7aa80c45cba464c4a1215ad56f95000000030000027e
# 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.

Chunks
74f114d6 (1st chunk of `nixos/modules/services/web-apps/hatsu.md`)
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`.