{"id":20227708,"url":"https://github.com/panga/askpwnedbot","last_synced_at":"2025-07-03T02:05:43.166Z","repository":{"id":70366616,"uuid":"138242405","full_name":"panga/askpwnedbot","owner":"panga","description":"Ask Pwned Bot uses https://haveibeenpwned.com API to check if your account has been pwned","archived":false,"fork":false,"pushed_at":"2018-06-22T21:24:13.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T02:05:19.577Z","etag":null,"topics":["telegram-bot","twitter-bot","webhooks","webtask"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/panga.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":"2018-06-22T01:59:30.000Z","updated_at":"2019-08-24T18:37:53.000Z","dependencies_parsed_at":"2023-02-22T20:15:39.732Z","dependency_job_id":null,"html_url":"https://github.com/panga/askpwnedbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/panga/askpwnedbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Faskpwnedbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Faskpwnedbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Faskpwnedbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Faskpwnedbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panga","download_url":"https://codeload.github.com/panga/askpwnedbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Faskpwnedbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263245308,"owners_count":23436513,"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":["telegram-bot","twitter-bot","webhooks","webtask"],"created_at":"2024-11-14T07:26:12.033Z","updated_at":"2025-07-03T02:05:43.125Z","avatar_url":"https://github.com/panga.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AskPwnedBot \n\nAsk Pwned Bot uses https://haveibeenpwned.com API to check if your account has been pwned.\n\nThe implementation of the webhook is done using https://webtask.io/ a serverless solution.\n\n## Test on Telegram\n\nhttps://t.me/askpwnedbot\n\n## Test on Twitter\n\nhttps://twitter.com/askpwnedbot\n\n## Deploy on Telegram\n\n1. Create a Telegram Bot and get its token:\n\nhttps://core.telegram.org/bots\n\n2. Deploy the webtask:\n\n`wt create askpwnedbot-telegram.js --name askpwnedbot-telegram --secret BOT_TOKEN=$BOT_TOKEN`\n\n3. Set the webhook:\n\n```\ncurl -X POST -d \"url=$WEBTASK_URL\" -H \"Content-Type: application/x-www-form-urlencoded\" https://api.telegram.org/bot$BOT_TOKEN/setWebhook\n```\n\n## Deploy on Twitter\n\n1. Create a Twitter app + developer account to use Account Activity API\n\nhttps://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/overview\n\n2. Deploy the webtask:\n\n`wt create askpwnedbot-twitter.js --name askpwnedbot-twitter --secret TWITTER_BOT_ID=$TWITTER_BOT_ID --secret TWITTER_CONSUMER_KEY=$TWITTER_CONSUMER_KEY --secret TWITTER_CONSUMER_SECRET=$TWITTER_CONSUMER_SECRET --secret TWITTER_ACCESS_TOKEN_KEY=$TWITTER_ACCESS_TOKEN_KEY --secret TWITTER_ACCESS_TOKEN_SECRET=$TWITTER_ACCESS_TOKEN_SECRET`\n\n3. Setup the webhook:\n\n`node scripts/setup_twitter_webhook.js`\n\n4. Setup the subscription:\n\n`node scripts/setup_twitter_subscription.js`\n\n## License\n\n[Apache License 2.0](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanga%2Faskpwnedbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanga%2Faskpwnedbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanga%2Faskpwnedbot/lists"}