Home

Awesome

Hatsu「初」

MSRV License Matrix

Self-hosted & Fully-automated ActivityPub Bridge for Static Sites.

Open in GitHub Codespaces

About

Hatsu is a self-hosted bridge that interacts with Fediverse on behalf of your static site.

Normally it can do all the:

Best of all, these are fully automated! Just set it up once and you won't need to do anything else.

Features

Installation

Read the documentation to get started.

Fediverse compatibility

Hatsu uses the same library as Lemmy, Activitypub-Federation, so it should behave similarly in practice.

In addition to this, Hatsu is also enabled:

If you're not sure whether it's a Hatsu or Activitypub-Federation compatibility issue, you should open new issue in Hatsu first.

<!-- ### TODO - Upgrade dependencies - axum 0.7 - https://github.com/LemmyNet/activitypub-federation-rust/issues/87 - utoipa-swagger-ui 5.0 - axum-extra 0.9 - use typed-routing (https://github.com/tokio-rs/axum/issues/2218, https://github.com/ibraheemdev/matchit/issues/13) - activitypub-federation 0.5 - https://github.com/tokio-rs/axum/pull/2398 - https://github.com/hyperium/hyper-util/pull/66 - Using AFIT / RPITIT instead of `async-trait` - Performance improvements - https://github.com/TechEmpower/FrameworkBenchmarks/issues/8501#issuecomment-1780275745 - sonic-rs (required nightly) / simd-json - uuid-simd --> <!-- ### Useful links #### ActivityPub - https://github.com/LemmyNet/activitypub-federation-rust/tree/main/examples/ - https://github.com/LemmyNet/lemmy/tree/main/crates/apub/ - https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/ #### SeaORM - https://www.sea-ql.org/SeaORM/docs/basic-crud/basic-schema/ - https://github.com/SeaQL/sea-orm/tree/master/examples/axum_example/ - https://github.com/SeaQL/sea-orm/blob/master/tests/basic.rs #### OpenAPI - https://github.com/juhaku/utoipa/tree/master/examples/todo-axum #### Leptos - https://github.com/leptos-rs/start-axum - https://github.com/leptos-rs/start-axum-workspace #### Shuttle - https://docs.shuttle.rs/migration/migrating-to-shuttle - https://github.com/shuttle-hq/shuttle/issues/179#issuecomment-1203536025 -->

License

Licensed under AGPLv3.

Third Party Licenses

This project partially copies code from the following projects:

ProjectLicense
LemmyNet/activitypub-federation-rustAGPL-3.0
LemmyNet/lemmyAGPL-3.0