A simple discord slash-command LaTeX renderer written in bash (with a hint of php)
- CGI Server (e.g. NGINX)
- PHP 7.2+ (used for libsodium)
- PDFLaTeX
- ImageMagick
- jq
- Bash
- Copy git repository into folder with CGI access
cp credentials.json.sample credentials.json
- Fill credentials in for Discord bot
- Run
bash publish.sh
to register commands with Discord - Invite the bot at
https://hexf.me/cgi/hextex/invite
or whatever your URL is