{"id":26722784,"url":"https://github.com/thelovinator1/discord-twitter-webhooks","last_synced_at":"2025-04-05T10:10:46.496Z","repository":{"id":38068758,"uuid":"140038087","full_name":"TheLovinator1/discord-twitter-webhooks","owner":"TheLovinator1","description":"🤖Stream tweets to Discord","archived":false,"fork":false,"pushed_at":"2025-02-28T03:13:55.000Z","size":1500,"stargazers_count":118,"open_issues_count":28,"forks_count":29,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T20:42:09.845Z","etag":null,"topics":["bot","discord","discord-twitter-bot","discord-twitter-webhooks","discord-webhooks","hacktoberfest","python","tweepy","tweets","twitter","twitter-api","webhook","webhooks"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheLovinator1.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-07-06T23:30:00.000Z","updated_at":"2025-03-12T11:50:22.000Z","dependencies_parsed_at":"2025-03-27T20:37:14.718Z","dependency_job_id":"da866cea-8d98-4006-a5c5-49651e68ca83","html_url":"https://github.com/TheLovinator1/discord-twitter-webhooks","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLovinator1%2Fdiscord-twitter-webhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLovinator1%2Fdiscord-twitter-webhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLovinator1%2Fdiscord-twitter-webhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLovinator1%2Fdiscord-twitter-webhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheLovinator1","download_url":"https://codeload.github.com/TheLovinator1/discord-twitter-webhooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318745,"owners_count":20919484,"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","discord","discord-twitter-bot","discord-twitter-webhooks","discord-webhooks","hacktoberfest","python","tweepy","tweets","twitter","twitter-api","webhook","webhooks"],"created_at":"2025-03-27T20:37:12.035Z","updated_at":"2025-04-05T10:10:46.472Z","avatar_url":"https://github.com/TheLovinator1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord-twitter-webhooks\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"https://i.lovinator.space/discord-twitter-webhooks.png\" title=\"Example Image\" alt=\"This image shows a tweet from @Steam\"/\u003e\r\n\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n\u003csup\u003e\r\nTheme is https://github.com/KillYoy/DiscordNight\r\n\u003c/sup\u003e\r\n\u003c/p\u003e\r\n\r\n`discord-twitter-webhooks` is an automated tool that sends tweets from Twitter to Discord using webhooks.\r\n\r\n## Features\r\n\r\n- Send tweets from Twitter to Discord using webhooks.\r\n- Send the tweet as an embed, link or text.\r\n- Support for translations via [DeepL](https://www.deepl.com/translator).\r\n\r\n## Installation\r\n\r\nYou have two choices, using [Docker](https://hub.docker.com/r/thelovinator/discord-twitter-webhooks)\r\nor [install directly on your computer](#install-directly-on-your-computer).\r\n\r\n### Run with Docker\r\n\r\nThis is the recommended way to install the bot.\r\n\r\nDocker Hub: [thelovinator/discord-twitter-webhooks](https://hub.docker.com/r/thelovinator/discord-twitter-webhooks)\r\n\r\n- Data is stored in /home/botuser/.local/share/discord_twitter_webhooks in the container.\r\n- The container runs as the bot user with UID 1000 and GID 1000, this means your directory must be owned by UID 1000 and\r\n  GID 1000.\r\n- The server runs on port 8000.\r\n\r\n### Install directly on your computer\r\n\r\nThis is not recommended if you don't have an init system (e.g., systemd)\r\n\r\n- Install the latest version of needed software:\r\n    - [Python](https://www.python.org/)\r\n        - You should use the latest version.\r\n        - You want to add Python to your PATH.\r\n        - Windows: Find `App execution aliases` and disable python.exe and python3.exe\r\n    - [Poetry](https://python-poetry.org/docs/master/#installation)\r\n        - Windows: You have to add `%appdata%\\Python\\Scripts` to your PATH for Poetry to work.\r\n            - Open System Properties\r\n            - Click on Environment Variables...\r\n            - Under User variables find Path and click Edit...\r\n            - Add `%appdata%\\Python\\Scripts` to the list.\r\n- Download the project from GitHub with Git or download\r\n  the [ZIP](https://github.com/TheLovinator1/discord-twitter-webhooks/archive/refs/heads/master.zip).\r\n    - If you want to update the bot, you can run `git pull` in the project folder or download the ZIP again.\r\n- Open a terminal in the repository folder.\r\n    - Windows 10: \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eright-click\u003c/kbd\u003e in the folder and select `Open PowerShell window here`\r\n    - Windows 11: \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eright-click\u003c/kbd\u003e in the folder and Show more options\r\n      and `Open PowerShell window here`\r\n- Install requirements:\r\n    - Type `poetry install` into the terminal.\r\n- Start the bot:\r\n    - Type `poetry run bot` into the PowerShell window.\r\n        - You can stop the bot with \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003ec\u003c/kbd\u003e.\r\n- Go to [http://localhost:8000](http://localhost:8000) or the IP of your server.\r\n- You can change the Nitter instance in Settings.\r\n- Add a group under Add.\r\n    - A group is a collection of Twitter accounts and Discord webhooks that will be used to send tweets.\r\n    - Each group has its own settings. (e.g., If retweets should be sent, should be sent as an embed, etc.)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthelovinator1%2Fdiscord-twitter-webhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthelovinator1%2Fdiscord-twitter-webhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthelovinator1%2Fdiscord-twitter-webhooks/lists"}