m3t4f1v3 / rpi-discord-display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPI Discord Display

Requirements

  • Waveshare 2.7 Inch E-Paper Display HAT Module Kit 264 x 176 Resolution
  • Raspberry Pi (tested on 3B and 4)

Install the packages

npm i
pip3 install fastapi Pillow

Running the project

Discord Bot Client

Create a Discord Application and place the token and the discord bot's ID as arguments

node bot.js <token> <bot ID>

Python Backend

cd display
./start.sh

Using the project

Text

Head to a discord chat and type draw <text> to show the text on the screen

Image

Type in image on a chat and attach a single image in the same message to have it displayed on the screen

About

License:Other


Languages

Language:Python 96.0%Language:JavaScript 3.9%Language:Shell 0.1%