Skip to content

LinkFix brings link embeds back to your Discord server! Simply post Twitter, Instagram, TikTok, or Reddit links and LinkFix will reply with a rich media embed.

License

Notifications You must be signed in to change notification settings

podaboutlist/linkfix-for-discord

 
 

Repository files navigation

LinkFix for Discord

Bot status badge

GitHub Actions linting workflow badge ghcr.io release badge support server badge Vote for LinkFix on Top.gg

What is LinkFix?

LinkFix brings link embeds back to your Discord server!

LinkFix in action replying to a message

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.

Supported Sites

LinkFix currently supports:

  • Twitter/X (Tweet embeds via fxtwitter)
  • 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)

Current Commands

  • /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

Contributing

Local Development

Follow these steps to get the code up and running:

  1. Clone the repo 🤗
  2. Run npm install
  3. Copy .env.example to .env
  4. Set DISCORD_BOT_TOKEN= in .env to your bot token
  5. Run npm run build && npm start. You're good to go!

Alternatively, with Docker Compose:

  1. Follow steps 1 and 2 above
  2. Copy docker-compose.example.yml to docker-compose.yml
  3. Edit docker-compose.yml a) Change the line image: ... to build: . b) Set DISCORD_BOT_TOKEN= to your bot token
  4. Run docker-compose up --no-log-prefix. You're good to go!

Pull Requests

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.

License

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.

About

LinkFix brings link embeds back to your Discord server! Simply post Twitter, Instagram, TikTok, or Reddit links and LinkFix will reply with a rich media embed.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 94.2%
  • Dockerfile 3.1%
  • JavaScript 2.7%