{"id":16183787,"url":"https://github.com/tleunen/npm-keyword-twitterbot","last_synced_at":"2025-04-07T12:43:51.715Z","repository":{"id":22413559,"uuid":"25751065","full_name":"tleunen/npm-keyword-twitterbot","owner":"tleunen","description":"Tweet updated NPM modules based on keywords","archived":false,"fork":false,"pushed_at":"2017-02-11T03:35:44.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T15:45:58.792Z","etag":null,"topics":["bot","keyword","twitter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tleunen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-25T23:54:33.000Z","updated_at":"2018-04-26T19:23:55.000Z","dependencies_parsed_at":"2022-08-20T13:01:02.853Z","dependency_job_id":null,"html_url":"https://github.com/tleunen/npm-keyword-twitterbot","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tleunen%2Fnpm-keyword-twitterbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tleunen%2Fnpm-keyword-twitterbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tleunen%2Fnpm-keyword-twitterbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tleunen%2Fnpm-keyword-twitterbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tleunen","download_url":"https://codeload.github.com/tleunen/npm-keyword-twitterbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247655374,"owners_count":20974166,"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":["bot","keyword","twitter"],"created_at":"2024-10-10T07:07:00.855Z","updated_at":"2025-04-07T12:43:51.687Z","avatar_url":"https://github.com/tleunen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-keyword-twitterbot\n![npm][npm-version-image]\n\nThis library allows you to automatically tweet new NPM modules based on keywords.\n\n## Usage\n\n```js\nrequire('npm-keyword-twitterbot')({\n    // Specify a local file to keep the cache.\n    local_cache_file: __dirname + '/cache_modules.json',\n\n    // S3 settings to save the file on your S3 bucket\n    s3_region: 'us-east-1',\n    s3_access_key: '',\n    s3_secret_access_key: '',\n    s3_bucket_name: '',\n    s3_file_key: 'npm-keyword-twitterbot/cache_modules.json',\n\n    // Twitter key/secret for the app\n    twitter_consumer_key: '',\n    twitter_consumer_secret: '',\n\n    // Twitter tokens for the user\n    twitter_access_token: '',\n    twitter_access_token_secret: '',\n\n    npm_keyword: [\n        'keyword1',\n        'keyword2'\n    ],\n\n    // Enable this to use the homepage url set in package.json instead of the npm url\n    use_homepage_url: true,\n\n    tweet_hashtags: ''\n});\n```\n\n## Example\n\nThe [ReactJSnpm](https://twitter.com/ReactJSnpm) twitter bot is an example of bot using this script.\n\nHave a bot? Send a PR!\n\n## How to use\n\n* Create a Twitter app for your bot: https://apps.twitter.com/\n* Create a specific Twitter user for your bot and retrieve its tokens.\n* Create a bot like the one in the `usage` section.\n* Add a cron job to start your bot. The cron job should run the script at least every 30 minutes.\n\n## License\n\nMIT, see [LICENSE.md](/LICENSE.md) for details.\n\n[npm-version-image]: https://img.shields.io/npm/v/npm-keyword-twitterbot.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftleunen%2Fnpm-keyword-twitterbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftleunen%2Fnpm-keyword-twitterbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftleunen%2Fnpm-keyword-twitterbot/lists"}