Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.03 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.03 KB

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