11 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
7246fba257 Merge pull request 'Clean up comments' (#10) from comment-cleanup into master
Reviewed-on: https://git.thegrind.dev/thegrind/papibot/pulls/10
Reviewed-by: xbazzi <xander@xbazzi.com>
2025-02-05 01:28:56 -07:00
a5ad0095f2 Clean up comments 2025-02-05 03:23:16 -05:00
Javier Feliz
cf2ddc4741 delete convert.sh 2025-02-05 01:52:31 -05:00
dd65e50731 Merge pull request 'Add logging for performance analysis' (#1) from logg into main
Reviewed-on: https://git.thegrind.dev/thegrind/papibot/pulls/1
2025-02-04 23:49:43 -07:00
2bca615e82 Add logging for performance analysis 2025-02-05 01:46:30 -05:00
Javier Feliz
b2edb9b8b3 Fix 2025-02-05 00:07:28 -05:00
Javier Feliz
cdcb0f8c06 yt-dlp output fix 2025-02-04 23:53:19 -05:00
Javier Feliz
846b5a2123 Progress on downloading videos 2025-02-04 22:55:37 -05:00
Javier Feliz
f223c87353 Starting this bad boy again. No api keys on the repo 2025-02-04 00:06:55 -05:00