{"id":22385596,"url":"https://github.com/roger-king/slack-twitter-bot","last_synced_at":"2025-03-26T20:26:19.873Z","repository":{"id":45615909,"uuid":"434578294","full_name":"roger-king/slack-twitter-bot","owner":"roger-king","description":"A simple slack channel events listener to post things to twitter","archived":false,"fork":false,"pushed_at":"2021-12-05T23:42:07.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T02:25:14.547Z","etag":null,"topics":["bot","notifications","python","python-twitch-api","python3","slack-api","slack-python","twitter-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","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/roger-king.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}},"created_at":"2021-12-03T11:52:17.000Z","updated_at":"2021-12-05T23:42:10.000Z","dependencies_parsed_at":"2022-09-05T01:51:11.753Z","dependency_job_id":null,"html_url":"https://github.com/roger-king/slack-twitter-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roger-king%2Fslack-twitter-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roger-king%2Fslack-twitter-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roger-king%2Fslack-twitter-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roger-king%2Fslack-twitter-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roger-king","download_url":"https://codeload.github.com/roger-king/slack-twitter-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245729797,"owners_count":20662907,"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","notifications","python","python-twitch-api","python3","slack-api","slack-python","twitter-bot"],"created_at":"2024-12-05T01:26:30.130Z","updated_at":"2025-03-26T20:26:19.845Z","avatar_url":"https://github.com/roger-king.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-twitter-bot\n\nA simple python service to listen to a slack channel and tweet it text.\n\n# Usage\n\n_Note_: This will tweet everything in the desired channels. It will not ignore replies (threads) or direct message or reply in thread.\n\nSome fun ideas this can be used for:\n\n- Tweeting updates about a service outage. This can be consolidated to relay from your slack alerts.\n\n## Environment variables:\n\n| ENV_NAME  | VALUE | DESCRIPTION  | REQUIRED |\n| ------------- | ------------- | ------------- | ------------- |\n|  TWITTER_API_KEY | string  | Twitter Consumer API Key  | True |\n|  TWITTER_API_SECRET_KEY | string  | Twitter Consumer Secret Key  | True |\n|  TWITTER_ACCESS_TOKEN | string  | Twitter Access Token  | True |\n|  TWITTER_ACCESS_SECRET | string  | Twitter Access Secret Key  | True |\n|  SLACK_CHANNELS | comma-separated string  | Slack Channel IDs you wish the service to listen to. | True |\n|  HASHTAGS | comma-separated string  | Hashtags you wish to append to the tweet. | False |\n\n## Development\n\n### Pre-requisites\n\n- Python3.9.8^\n- set `.env` file with above environment variables\n- Poetry dependency management\n- Slack App and endpoint configured to `http://{host}/api/slack`\n- Twitter Application keys configured\n\n```bash\n    poetry run python run.py\n```\n\n## Future Features\n\n- Retweet reply responses from a thread to original post.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froger-king%2Fslack-twitter-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froger-king%2Fslack-twitter-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froger-king%2Fslack-twitter-bot/lists"}