{"id":16671149,"url":"https://github.com/lurst/mylittlebotie","last_synced_at":"2025-07-28T05:34:59.338Z","repository":{"id":141776147,"uuid":"96898014","full_name":"LuRsT/mylittlebotie","owner":"LuRsT","description":":robot:The simplest possible twitter bot","archived":false,"fork":false,"pushed_at":"2018-03-04T15:33:35.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T00:41:23.282Z","etag":null,"topics":["bot","microcode","python","twitter"],"latest_commit_sha":null,"homepage":"","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/LuRsT.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":"2017-07-11T13:46:50.000Z","updated_at":"2023-02-05T21:52:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"573c259a-4fee-4139-a6ff-aef6cfd05017","html_url":"https://github.com/LuRsT/mylittlebotie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LuRsT/mylittlebotie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuRsT%2Fmylittlebotie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuRsT%2Fmylittlebotie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuRsT%2Fmylittlebotie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuRsT%2Fmylittlebotie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuRsT","download_url":"https://codeload.github.com/LuRsT/mylittlebotie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuRsT%2Fmylittlebotie/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267468561,"owners_count":24092337,"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-07-28T02:00:09.689Z","response_time":68,"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","microcode","python","twitter"],"created_at":"2024-10-12T11:41:04.665Z","updated_at":"2025-07-28T05:34:59.302Z","avatar_url":"https://github.com/LuRsT.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mylittlebotie\n\nThe simplest possible twitter bot.\n\nIt twittes a random Wikipedia page every time you run the script.\n\nExample of this script in use: https://twitter.com/mylittlebotie\n\n\n## How to use?\n\n- Create a twitter account\n- Add an app\n- Add access token to app\n- Fill in necessary environment variables:\n    - TWITTER_CONSUMER_KEY\n    - TWITTER_CONSUMER_SECRET\n    - TWITTER_ACCESS_TOKEN\n    - TWITTER_ACCESS_TOKEN_SECRET\n- Create a virtual environment (Optional)\n- Install requirements\n    - `pip install -r requirements.txt`\n- Run it: `python main.py`\n- Check twitter account\n\n\n## How to make it bot-like\n\nAdd this line to your crontab:\n\n    0 * * * * python main.py\n\nNote: You need to pass the env vars somehow to the environment runing the\nscript.\n\n\n## Known issues\n\n- The client raises an exception if we send the same status update, which with\nthe current implementation will happen very quickly.\n\n\n## Tips and tricks\n\nTo easily run the script without having to set the twitter keys all the time,\nyou can create a `keys.sh` file which will store them (this is NOT safe!) and\nthen you run `source keys.sh` and now you can run `python main.py` without an\nissue.\n\nExample `keys.sh` file:\n\n    export TWITTER_CONSUMER_KEY=\"\u003cKEY\u003e\"\n    export TWITTER_CONSUMER_SECRET=\"\u003cKEY\u003e\"\n    export TWITTER_ACCESS_TOKEN=\"\u003cKEY\u003e\"\n    export TWITTER_ACCESS_TOKEN_SECRET=\"\u003cKEY\u003e\"\n\nNote: `keys.sh` is already in `.gitignore`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flurst%2Fmylittlebotie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flurst%2Fmylittlebotie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flurst%2Fmylittlebotie/lists"}