{"id":15408974,"url":"https://github.com/rojvv/rtwtrbt","last_synced_at":"2026-03-05T18:38:36.546Z","repository":{"id":49523573,"uuid":"517366465","full_name":"rojvv/rtwtrbt","owner":"rojvv","description":"A Twitter bot that retweets tweets matching a specific search rule.","archived":false,"fork":false,"pushed_at":"2022-10-03T07:25:31.000Z","size":25,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-09T02:02:50.258Z","etag":null,"topics":["deno","denoland","twitter","twitter-api","twitter-bot"],"latest_commit_sha":null,"homepage":"https://twitter.com/DenoRetweeter","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rojvv.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}},"created_at":"2022-07-24T15:45:40.000Z","updated_at":"2023-02-26T14:07:25.000Z","dependencies_parsed_at":"2023-01-19T02:45:25.637Z","dependency_job_id":null,"html_url":"https://github.com/rojvv/rtwtrbt","commit_stats":null,"previous_names":["rojvv/rtwtrbt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rojvv/rtwtrbt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Frtwtrbt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Frtwtrbt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Frtwtrbt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Frtwtrbt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rojvv","download_url":"https://codeload.github.com/rojvv/rtwtrbt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojvv%2Frtwtrbt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30143192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: 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":["deno","denoland","twitter","twitter-api","twitter-bot"],"created_at":"2024-10-01T16:36:18.396Z","updated_at":"2026-03-05T18:38:36.516Z","avatar_url":"https://github.com/rojvv.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# rtwtrbt\n\n\u003e A Twitter bot that retweets tweets matching a specific search rule.\n\n## Features\n\n- Action logging\n- Character, term and word blacklisting\n- Catching up the tweets that were missed during downtime\n- Instant retweets with a maximum delay of 20s between each retweet which is\n  only for not exceeding the API limits\n\n## Configuration\n\n| Variable          | Required | Description                                                                                                            |\n| ----------------- | -------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `CLIENT_ID`       | Yes      | OAuth 2.0 Client ID                                                                                                    |\n| `CLIENT_SECRET`   | Yes      | OAuth 2.0 Client Secret                                                                                                |\n| `APP_BEARER`      | Yes      | App bearer token                                                                                                       |\n| `RULE`            | Yes      | Search rule ([guide](https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/integrate/build-a-rule)) |\n| `TAG`             | Yes      | Search rule tag (e.g. Cool tweets)                                                                                     |\n| `LOG_DESTINATION` | No       | Path to log file                                                                                                       |\n\n\u003e Note: You can also provide these environment variables in `.env`.\n\nAfter setting the variables, you will have to get a user token for your\nautomation account:\n\n1. Set your app's callback URL to the following:\n\n```txt\nhttp://127.0.0.1:3000/callback\n```\n\n2. Run authenticate.ts:\n\n```shell\ndeno run --allow-env --allow-net --allow-read authenticate.ts\n```\n\n3. Visit http://127.0.0.1:3000/login.\n\n4. Authenticate your account.\n\n5. Copy the printed token in your console.\n\n6. Run import.ts:\n\n```shell\ndeno run import.ts\n```\n\n7. Provide the token and skip the lastId prompt.\n\n## Blacklisting\n\nYou can blacklist characters, words and/or terms so they are not retweeted. You\ncan do this by placing the characters, words and/or or terms you want to\nblacklist inside a file called `blacklist.txt` in the directory you run from.\n\n- The characters, words, and/or terms should be separated by `\\n`.\n- Each line is a regular expression that will make tweets not retweeted if they\n  match its text. Flags can be provided like this: `/regex/i`.\n\n## Running\n\n```shell\ndeno run --allow-env --allow-net --allow-read --allow-write main.ts\n```\n\n## License\n\n0. You just DO WHAT THE FUCK YOU WANT TO.\n\n[Read again](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frojvv%2Frtwtrbt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frojvv%2Frtwtrbt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frojvv%2Frtwtrbt/lists"}