LinkFix brings link embeds back to your Discord server!
Rich media embeds are not well supported by large social media sites. For example, Tweets (a.k.a. "Posts") from Twitter/X no longer embed in Discord. LinkFix solves this problem by replying to messages containing such links with vxtwitter-style alternatives that support rich media embeds.
LinkFix currently supports:
- Twitter/X (Tweet embeds via fxtwitter)
- BlueSky/bsky via vixbluesky
- TikTok (video embeds via vxtiktok)
- Instagram (image, video, and reel embeds via ddinstagram)
- Reddit (text, image, and video embeds via vxreddit)
- Pixiv (artwork + description embeds via phixiv)
- YouTube Shorts (replies with a
youtu.be
URL that directs to the full player)
/help
: Displays a help message with this list of commands/invite
: Get a link to invite LinkFix to a server/vote
: Get a link to vote for LinkFix on Top.gg
Follow these steps to get the code up and running:
- Clone the repo 🤗
- Run
npm install
- Copy
.env.example
to.env
- Set
DISCORD_BOT_TOKEN=
in.env
to your bot token - Run
npm run build && npm start
. You're good to go!
Alternatively, with Docker Compose:
- Follow steps 1 and 2 above
- Copy
docker-compose.example.yml
todocker-compose.yml
- Edit
docker-compose.yml
a) Change the lineimage: ...
tobuild: .
b) SetDISCORD_BOT_TOKEN=
to your bot token - Run
docker-compose up --no-log-prefix
. You're good to go!
Please write a detailed description for your PR! Also note commit messages will be squashed as part of the merge. PRs must pass all automated checks to qualify for a merge.
LinkFix for Discord - A Discord bot for improving link embeds.
Copyright (C) 2023 Ralph and suchipi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
See LICENSE.txt
for the full license details.