{"id":37096824,"url":"https://github.com/spamwatch/spamwatchbot","last_synced_at":"2026-01-14T11:54:52.247Z","repository":{"id":100454640,"uuid":"108768566","full_name":"SpamWatch/SpamWatchBot","owner":"SpamWatch","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T22:33:41.000Z","size":66,"stargazers_count":10,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T13:35:42.373Z","etag":null,"topics":["spamwatch","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpamWatch.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}},"created_at":"2017-10-29T20:26:37.000Z","updated_at":"2024-09-05T19:41:08.000Z","dependencies_parsed_at":"2023-05-14T19:45:33.635Z","dependency_job_id":null,"html_url":"https://github.com/SpamWatch/SpamWatchBot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SpamWatch/SpamWatchBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpamWatch%2FSpamWatchBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpamWatch%2FSpamWatchBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpamWatch%2FSpamWatchBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpamWatch%2FSpamWatchBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpamWatch","download_url":"https://codeload.github.com/SpamWatch/SpamWatchBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpamWatch%2FSpamWatchBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"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":["spamwatch","telegram","telegram-bot"],"created_at":"2026-01-14T11:54:51.444Z","updated_at":"2026-01-14T11:54:52.239Z","avatar_url":"https://github.com/SpamWatch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpamWatch Bot\n\nReporting and information bot for [SpamWatch](https://t.me/SpamWatch). See me in action at https://t.me/SpamWatchBot.\n\n# Development\n\nThis bot was created using [grammY](https://grammy.dev) and TypeScript. To build the bot for production just use `npm build` and then run the bot with `node dist/main.js`. Running in development can be done with `npm start`.\n\n### Environment Variables\n\n#### BOT_TOKEN\nThe API token given by @BotFather on Telegram.\n\n#### SPAMWATCH_HOST\nThe host to use for the SpamWatch API.\n\n#### SPAMWATCH_API_KEY\nThe API key to use for the SpamWatch API.\n\n#### REPORT_CHAT_ID\nThe chat in which to send reports. Reports can be forwarded to the bot, or created using the `/report` command. The bot will then send them on to the given chat. The bot does need to be in the chat to send messages to it of course.\n\n#### ADMIN_CHAT_ID\nThe chat where unban requests are forwarded. This may also be used for other things, such as logging in the future.\n\n#### SUPER_ADMIN_IDS\nA comma separated list of admins that should be able to reply to unban requests.\n\n#### LOGGLY_TOKEN\nAPI token for [Loggly](https://loggly.com). This is used for logging event to the cloud and is not necessary for running the bot.\n\n#### LOGGLY_SUBDOMAIN\nSubdomain for Loggly.\n\n#### LOGGLY_TAGS\nA comma separated list of tags to use with Loggly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspamwatch%2Fspamwatchbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspamwatch%2Fspamwatchbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspamwatch%2Fspamwatchbot/lists"}