https://github.com/chubek/mathcord
Discord Math Bot using Custom-Made Shunting Yard (WIP), Custom-Made SHA-512, Custom-Made ED25519
https://github.com/chubek/mathcord
cryptography cryptography-algorithms discord discord-bot ed25519 edwards-curve edwards25519 go golang golang-bot golang-discord sha-512
Last synced: 3 months ago
JSON representation
Discord Math Bot using Custom-Made Shunting Yard (WIP), Custom-Made SHA-512, Custom-Made ED25519
- Host: GitHub
- URL: https://github.com/chubek/mathcord
- Owner: Chubek
- License: gpl-3.0
- Created: 2022-02-09T13:02:16.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T08:36:22.000Z (over 2 years ago)
- Last Synced: 2025-06-09T08:08:23.438Z (4 months ago)
- Topics: cryptography, cryptography-algorithms, discord, discord-bot, ed25519, edwards-curve, edwards25519, go, golang, golang-bot, golang-discord, sha-512
- Language: Go
- Homepage:
- Size: 69.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mathcord: A Disord Math Expression Bot Written From Scratch
Good day! You can add a version of the bot via:
[
](https://discord.com/api/oauth2/authorize?client_id=941278523132358686&scope=bot&permissions=380104611840)
Use:
```
/solve
```This bot is written from scratch. It relies on zero third-party libraries (save for Godotenv).
The following algorithms have been implemented for this bot:
- Shunting Yard (for actual parsing and solving)
- SHA-512 (which ED25519 relies on)
- ED25519 (for verification)To run this bot on your own server, just do:
sudo docker-compose up -d**You'll need a public key!**
Provide the script with PK through local environment variable `APP_PK`. Just do:
```
echo APP_PK= > .env
```in the directory.