Skip to content

🤖 Discord bot for realtime streaming tweet media to channels

Notifications You must be signed in to change notification settings

joinemm/siniara

Repository files navigation

Siniara

Discord bot for realtime streaming tweets into discord channels. Now updated for Twitter API v2!

Any media is parsed and downloaded as discord files so it will never disappear in case the tweet is deleted.

Media options are configurable per server/channel/user, and non-media tweets can be ignored.

Invite here!


Deploying

  1. Clone this repository.
  2. Rename .env.example to .env and fill in your keys. You need a Twitter API v2 bearer token.

Deployment is very easy with docker compose.

$ docker-compose build
# docker-compose up

If you don't want to use docker, you can run the bot in your local environment.

  1. You need a running mariadb database. Apply the provided schema in sql/schema.sql
  2. Change .env database keys to point at your local database.

Tested with python 3.10.5, earlier versions might break.

$ pip install -r requirements.txt
$ python main.py

About

🤖 Discord bot for realtime streaming tweet media to channels

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages