{"id":22897727,"url":"https://github.com/newtonmunene99/nodetwitterbot","last_synced_at":"2026-04-19T03:03:53.687Z","repository":{"id":97432052,"uuid":"138475137","full_name":"newtonmunene99/NodeTwitterBot","owner":"newtonmunene99","description":"A twitter bot for retweets using nodejs","archived":false,"fork":false,"pushed_at":"2025-07-20T08:43:01.000Z","size":31,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-20T10:23:31.321Z","etag":null,"topics":["bot","node","nodejs","twitter","twitter-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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newtonmunene99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-24T11:08:55.000Z","updated_at":"2018-08-07T07:41:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"afce58c1-89bb-42d4-aeb9-24c514eefa08","html_url":"https://github.com/newtonmunene99/NodeTwitterBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/newtonmunene99/NodeTwitterBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtonmunene99%2FNodeTwitterBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtonmunene99%2FNodeTwitterBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtonmunene99%2FNodeTwitterBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtonmunene99%2FNodeTwitterBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newtonmunene99","download_url":"https://codeload.github.com/newtonmunene99/NodeTwitterBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtonmunene99%2FNodeTwitterBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270579613,"owners_count":24610044,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bot","node","nodejs","twitter","twitter-bot"],"created_at":"2024-12-14T00:18:55.350Z","updated_at":"2026-04-19T03:03:53.590Z","avatar_url":"https://github.com/newtonmunene99.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeTwitterBot\n\nA twitter bot for retweets using nodejs\n\n## To Run Locally\n\n**Ensure you have the latest stable version of nodejs installed.**\n\n1.  Git clone this repo\n2.  cd into repo\n3.  Run `npm install` to install dependencies\n4.  Register a new app on twitter developers\n5.  In src folder create a new file `app.keys.ts` and paste the code below.\n    Fill in the required fields with credetials obtained in step 4.\n\n```js\nexport const config = {\n    twitterKeys: {\n        consumer_key: 'key here',\n        consumer_secret: 'secret here',\n        access_token: 'access token here',\n        access_token_secret: 'access token secret here'\n    },\n    twitterConfig: {\n        queryString: [\n            '#gainwithxtiandela',\n            '#gain',\n            '#gainwith',\n            'Ionic Framework',\n            '#100daysofcode'\n        ], // add your own queries above\n        language: 'en',\n        username: 'your twitter username here',\n        retweet: 0.1 * 1000 * 60, //this is the retweet interval in milliseconds. default is every six seconds\n        searchCount: 20 // how many retweets at every interval\n    }\n};\n```\n\n6.  Run `npm run start` to start bot.\n7.  Run `npm run dev` to start bot with live reload\n8.  `npm run start` and `npm run dev` will build for you but if you just want to build only, use `npm run build`\n\n## To run on a remote server\n\nI suggest you try hosting on Heroku or any other that you prefer. Please refer to their respective docs.\n\n**Currently Supported**\n\n-   [x] Retweets\n\nI only implemented retweets because thats what I needed. Feel free to open a pull request or an issue and I will implement.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewtonmunene99%2Fnodetwitterbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewtonmunene99%2Fnodetwitterbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewtonmunene99%2Fnodetwitterbot/lists"}