An open API service indexing awesome lists of open source software.

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

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.