{"id":16282994,"url":"https://github.com/djcopley/twitterbot","last_synced_at":"2025-04-08T18:22:50.544Z","repository":{"id":127274509,"uuid":"129143630","full_name":"djcopley/TwitterBot","owner":"djcopley","description":"A TwitterBot that replies to people automatically when they @ you.","archived":false,"fork":false,"pushed_at":"2020-12-08T22:20:25.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T12:57:33.090Z","etag":null,"topics":["api","bot","cleverbot","python3","twitter","twitter-bot"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/djcopley.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-04-11T19:27:08.000Z","updated_at":"2020-12-08T22:20:29.000Z","dependencies_parsed_at":"2023-08-15T18:15:55.318Z","dependency_job_id":null,"html_url":"https://github.com/djcopley/TwitterBot","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djcopley%2FTwitterBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djcopley%2FTwitterBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djcopley%2FTwitterBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djcopley%2FTwitterBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djcopley","download_url":"https://codeload.github.com/djcopley/TwitterBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247898967,"owners_count":21014809,"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":["api","bot","cleverbot","python3","twitter","twitter-bot"],"created_at":"2024-10-10T19:12:14.312Z","updated_at":"2025-04-08T18:22:50.512Z","avatar_url":"https://github.com/djcopley.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TwitterBot\n\nA simple program that replies to tweets. Response is generated using the CleverBot API.\n\n# Usage\n\nTwitterBot requires one positional argument to run, your twitter handle. Make sure to include the '@'\nsymbol.\n\nExample: `python3 twitter_bot.py @yourhandle` or `./twitter_bot.py @yourhandle`\n\n### Program Arguments\n\n    usage: Twitter Bot [-h] [-r] [-q] [-l {0,1,2}] twitter_handle\n    \n    positional arguments:\n      twitter_handle        your twitter @handle\n    \n    optional arguments:\n      -h, --help                    show this help message and exit\n      -r, --reply_to_thread         toggles reply to thread where mentioned\n      -q, --quiet                   disables console output of non-errors\n      -l {0,1,2}, --log {0,1,2}     change logging level\n\n\n    Logging Levels\n    - 0 : logging is disabled (default)\n    - 1 : errors and critical failures are logged\n    - 2 : in addition, tweets (incoming and outgoing) are logged\n\n\n***Note**: if the account tweeting you is private, TwitterBot will not reply.*\n\n# Installation\n\nGenerate API keys for [Twitter](https://apps.twitter.com) and [CleverBot](https://www.cleverbot.com/api/)\n\nFind the credentials.py file and paste your credentials into the empty fields:\n    \n    class Twitter:\n        CONSUMER_KEY = ''\n        CONSUMER_SECRET = ''\n        ACCESS_TOKEN_KEY = ''\n        ACCESS_TOKEN_SECRET = ''\n    \n    \n    class CleverBot:\n        API_KEY = ''\n\nInstall Dependencies: `pip3 install python-twitter CleverWrap`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjcopley%2Ftwitterbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjcopley%2Ftwitterbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjcopley%2Ftwitterbot/lists"}