Note
Please note that this bot is not actively maintained.
This is a Node.js-based Discord bot that intercepts messages with potentially faulty social media embeds and provides proxy links for the content in response.
Here's an overview of the URL replacements:
Original URL | Replacement URL |
---|---|
twitter.com |
fxtwitter.com |
x.com |
fixupx.com |
tiktok.com |
d.tnktok.com |
vm.tiktok.com |
d.tnktok.com |
reddit.com |
rxddit.com |
old.reddit.com |
old.rxddit.com |
instagram.com |
ddinstagram.com |
This bot runs in a Docker container. To set up and run the bot using Docker, follow these steps:
Ensure you have Docker installed on your system.
-
Clone this repository.
-
Configure your
.env
file.Before running the Docker container, make sure you set up the necessary environment variables. Create a
.env
file in thedata
directory with the following content:DISCORD_TOKEN=<discord-token> CLIENT_ID=<bot-client-id>
Replace
<discord-token>
and<bot-client-id>
with your actual Discord bot token and client ID. -
Navigate to the project directory where the Dockerfile and
compose.yml
are located. -
Build and start the Docker container using Docker Compose:
docker compose up --build
This command will:
- Build the Docker image as defined in the
Dockerfile
. - Start the container with the configuration specified in
compose.yml
.
- Build the Docker image as defined in the
This project is licensed under the MIT License.