Skip to content

A Discord bot that automatically posts better embeds for Twitter, Instagram and TikTok.

License

Notifications You must be signed in to change notification settings

arthurlockman/FixMediaBot

 
 

Repository files navigation

FixMediaBot

FixMediaBot is based on its upstream FixTweetBot. The main modifications in this bot are that this one is able to update previews for Twitter, Tiktok, and Instagram.

Deployment

Given the sensitive nature of the content that this bot needs to process, I do not provide a public instance of this bot. Instead, I encourage you to self-host in an environment that you trust to ensure the privacy of the messages that your guild members send. To that end, I provide an easy way to get going using Docker.

To get started, make a new folder to act as a base and create a copy of docker-compose.yml in that folder.

services:
  fixMediaBot:
    image: ghcr.io/arthurlockman/fixmediabot:main
    restart: unless-stopped
    volumes:
      - ./override.config.yml:/app/override.config.yml
    depends_on:
      db:
        condition: service_healthy
  db:
    image: mariadb:10.3
    restart: unless-stopped
    environment:
      MYSQL_DATABASE: fixmediabot
      MYSQL_ALLOW_EMPTY_PASSWORD: yes
    volumes:
      - ./dbSchema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
      - db-data:/var/lib/mysql:rw
    healthcheck:
      test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
      timeout: 20s
      retries: 10

volumes:
  db-data:

About

A Discord bot that automatically posts better embeds for Twitter, Instagram and TikTok.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 99.7%
  • Dockerfile 0.3%