podaboutlist / linkfix-for-discord

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.
https://discord.com/application-directory/385950397493280805
GNU Affero General Public License v3.0
13 stars 4 forks source link
discord discord-bot discord-js instagram reddit tiktok twitter typescript x youtube

LinkFix for Discord

Bot status badge

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

LinkFix Logo

erm... your link, my liege

:arrow_forward: Click Here to add LinkFix to your Discord server! :arrow_backward:

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:

Current Commands

Contributing

Local Development

Follow these steps to get the code up and running:

1) Clone the repo :hugs: 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.