{"id":34116466,"url":"https://github.com/beeper/botbot","last_synced_at":"2026-03-12T06:01:59.050Z","repository":{"id":167561903,"uuid":"642818350","full_name":"beeper/botbot","owner":"beeper","description":"A bot that manages bot accounts on Beeper","archived":false,"fork":false,"pushed_at":"2023-05-22T13:25:20.000Z","size":62,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-11T03:55:49.789Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beeper.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-05-19T12:17:14.000Z","updated_at":"2025-05-03T04:53:51.000Z","dependencies_parsed_at":"2023-05-23T02:45:19.403Z","dependency_job_id":null,"html_url":"https://github.com/beeper/botbot","commit_stats":null,"previous_names":["beeper/botbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beeper/botbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeper%2Fbotbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeper%2Fbotbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeper%2Fbotbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeper%2Fbotbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeper","download_url":"https://codeload.github.com/beeper/botbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeper%2Fbotbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30416735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T04:41:02.746Z","status":"ssl_error","status_checked_at":"2026-03-12T04:40:12.571Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-12-14T20:15:21.728Z","updated_at":"2026-03-12T06:01:59.045Z","avatar_url":"https://github.com/beeper.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# botbot\nThe bot that manages bot accounts on beeper.com. Should work on a normal Synapse instance too.\n\n## Configuration\nThe bot is configured through environment variables\n\n* `BOTBOT_HOMESERVER_URL` (required) - The Matrix homeserver URL.\n  Can (and probably should) be local.\n* `BOTBOT_USERNAME` (required) - The username for this bot.\n  * The user must be a Synapse admin for resetting bot passwords and viewing\n    bot user info.\n* `BOTBOT_PASSWORD` (required) - The password for the user above.\n* `BOTBOT_DATABASE_URI` - The database URI (file name for SQLite or full\n  connection string for Postgres). Defaults to `botbot.db`.\n* `BOTBOT_DATABASE_TYPE` - The type of database. `postgres` for postgres,\n  `sqlite3-fk-wal` for SQLite. Defaults to `sqlite3-fk-wal`.\n* `BOTBOT_PICKLE_KEY` - Pickle key for encrypting encryption keys.\n* `BOTBOT_REGISTER_SECRET` - Registration shared secret for creating new bot\n  accounts for users. Required unless the Beeper API URL is set.\n* `BOTBOT_LOGIN_JWT_KEY` - JWT secret for logging into bot accounts.\n  If set, the bot will use Synapse's `org.matrix.login.jwt` login type instead\n  of password login. Only supports the `HS256` algorithm.\n* `BOTBOT_BEEPER_API_URL` - Optional Beeper API server URL for registering\n  users through the Beeper API instead of directly with Synapse.\n* `BOTBOT_LOG_LEVEL` - Log level. Defaults to `debug`.\n* `BOTBOT_MAX_BOTS_PER_USER` - Maximum number of bots that a single user can\n  create. Defaults to 10. Limit is disabled if set to 0.\n\n## Docker image\nThe docker image built by GitHub actions is available in the GitHub registry:\n[`ghcr.io/beeper/botbot`](https://github.com/beeper/botbot/pkgs/container/botbot)\n\nYou can use `:latest` for the latest commit, or a git commit hash to pin to a\nspecific version. Only amd64 images are currently available.\n\n## Usage notes\nThe bot will only accept encrypted DM invitations and will leave if any other\nusers join the room. After creating a DM, use `help` for help. Prefixing\ncommands is not necessary as there won't be any other bots in the room.\n\nThe bot enforces cross-signing (with trust-on-first-use for the master key)\nand will reject messages from unverified devices. Currently, the only way to\nreset TOFU is to manually change the `first_seen_key` column in the\n`crypto_cross_signing_keys` table in the database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeper%2Fbotbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeper%2Fbotbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeper%2Fbotbot/lists"}