Home Explore Blog 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
8071f52a (1st chunk of `nixos/modules/services/web-apps/hatsu.md`)
Title: Hatsu: ActivityPub Bridge for Static Sites
Summary
Hatsu is a fully-automated ActivityPub bridge for static sites. The minimum NixOS configuration to start a Hatsu server involves enabling the service, setting the domain (HATSU_DOMAIN), and primary account (HATSU_PRIMARY_ACCOUNT). This starts the server on port 3939 and saves the database in /var/lib/hatsu/hatsu.sqlite3. Refer to the Hatsu documentation for more configuration options.