{"id":18522424,"url":"https://github.com/astro/buzzrelay","last_synced_at":"2025-04-07T13:08:14.505Z","repository":{"id":66098750,"uuid":"587851846","full_name":"astro/buzzrelay","owner":"astro","description":"Source to relay.fedi.buzz: relay the streaming API of Mastodon instances","archived":false,"fork":false,"pushed_at":"2024-10-29T22:33:35.000Z","size":323,"stargazers_count":74,"open_issues_count":13,"forks_count":10,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-10-30T00:45:07.580Z","etag":null,"topics":["activitypub","fedibuzz","relay"],"latest_commit_sha":null,"homepage":"https://relay.fedi.buzz","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-11T18:31:57.000Z","updated_at":"2024-10-29T22:33:38.000Z","dependencies_parsed_at":"2023-03-10T23:37:01.413Z","dependency_job_id":"df0516c5-7393-40cc-924d-414508ada686","html_url":"https://github.com/astro/buzzrelay","commit_stats":{"total_commits":192,"total_committers":5,"mean_commits":38.4,"dds":"0.13541666666666663","last_synced_commit":"98b976dc8118d232650e79956955f1af43752828"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro%2Fbuzzrelay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro%2Fbuzzrelay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro%2Fbuzzrelay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro%2Fbuzzrelay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astro","download_url":"https://codeload.github.com/astro/buzzrelay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419857,"owners_count":20936012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activitypub","fedibuzz","relay"],"created_at":"2024-11-06T17:30:48.884Z","updated_at":"2025-04-07T13:08:14.486Z","avatar_url":"https://github.com/astro.png","language":"Rust","readme":"# buzzrelay\n\nA follow-only ActivityPub relay that connects to Mastodon's [Streaming\nAPI](https://docs.joinmastodon.org/methods/streaming/#public).\n\nYou don't need to run this yourself, just use the instance at\n[relay.fedi.buzz](https://relay.fedi.buzz/).\n\n## Setup\n\nSee also: [Notes on an setting up a fediverse relay with FediBuzz on an Ubuntu server.](https://box464.com/posts/fediverse-relays/)\n\n### Build\n\nNixOS/Flakes users are in luck: not only does this build, it also\ncomes with a NixOS module!\n\nAnyone else installs a Rust toolchain to build with:\n\n```bash\ncargo build --release\n```\n\n### Generate signing keypair\n\nActivityPub messages are signed using RSA keys. Generate a keypair\nfirst:\n\n```bash\nopenssl genrsa -out private-key.pem 4096\nopenssl rsa -in private-key.pem -pubout -out public-key.pem\n```\n\nLet your `config.yaml` point there.\n\n### Database\n\nCreate a PostgreSQL database and user, set them in your `config.yaml`.\n\nThe program will create its schema on start.\n\n## Ethics\n\n*Should everyone connect to the streaming API of the big popular\nMastodon instances?*\n\nOnce these connections become a problem, they may become disallowed,\nresulting in problems for everyone. That's why **fedi.buzz** serves\nthe firehose feed through the streaming API, too.\n\nYou can let this service use **fedi.buzz** as listed in the default\n`config.yaml`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastro%2Fbuzzrelay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastro%2Fbuzzrelay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastro%2Fbuzzrelay/lists"}