2 Commits

Author SHA1 Message Date
7e55444346 Add validation package (#19)
Closes #7

Added a simple validation package we can expand on. For now we can use it to validate links that get sent to the bot and make sure that:
1. It's an actual url
2. It's a url for a service we support

Also added a make file to run tests and other tasks we might need in the future.

Added a github action to run tests.

Reviewed-on: #19
Co-authored-by: Javier Feliz <me@javierfeliz.com>
Co-committed-by: Javier Feliz <me@javierfeliz.com>
2025-02-13 22:10:24 -07:00
d42bb9b288 Add opusframes package with encoding/decoding (#13)
Closes #12

Added a library to encode videos from yt-dlp into our custom `.of` file format that can be easily read and directly streamed to discord.

Co-authored-by: Xander Bazzi <xander@xbazzi.com>
Reviewed-on: https://www.gitgud.foo/thegrind/papibot/pulls/13
Reviewed-by: xbazzi <xander@xbazzi.com>
Co-authored-by: Javier Feliz <me@javierfeliz.com>
Co-committed-by: Javier Feliz <me@javierfeliz.com>
2025-02-07 12:20:35 -07:00