williamp
ff02993a0a
Merge branch 'master' into code-cleanup
Build only (for PRs) / build-only (pull_request) Successful in 4m52s
2026-03-09 11:05:10 -04:00
williamp
52337254b6
bugfix: handle lack of separate audio/video streams
Build only (for PRs) / build-only (pull_request) Successful in 3m47s
2026-03-09 10:58:56 -04:00
williamp
a44bb1bf34
optimize codebase
...
Build only (for PRs) / build-only (pull_request) Successful in 3m33s
main.go:
- Eliminated ~160 lines of duplicate code: Extracted 3 new helper functions at the bottom of the file:
buildVideoMenuOptions([]VideoOption) — builds the Discord select menu options for video formats
buildAudioMenuOptions([]AudioOption) — same for audio
fetchAndShowFormats(s, i, url) — fetches formats, sorts them, builds menus, stores state, and edits the interaction; previously duplicated identically in both the download and download video command handlers
- Fixed time.Sleep ordering bug: The startAsyncDownload goroutine was launched before InteractionRespond with a 100ms sleep to compensate. Now the download is launched after InteractionRespond returns — no sleep needed. Removed "time" import.
- Used helpers in video_select handler: The two inline menu-building loops in that handler now call buildAudioMenuOptions / buildVideoMenuOptions
misc.go:
- Moved regexp.MustCompile(...) to a package-level var urlPattern — previously it recompiled the regex on every call to extractURLFromString
- Simplified the function body to a single return line
2026-03-09 10:46:10 -04:00
williamp
d3e6ddebcd
remove my fork after my changes were merged upstream
Build only (for PRs) / build-only (pull_request) Successful in 4m27s
2026-03-08 11:50:09 -04:00
williamp
451333860f
chore(deps): update go-ytdlp and my fork
Build and Push Docker Image / build-and-push (push) Successful in 7m26s
Build and Push Docker Image / deploy-on-green (push) Successful in 6s
2026-03-07 23:55:40 -05:00
williamp
e3b5542b78
add /version command
Build and Push Docker Image / build-and-push (push) Successful in 5m5s
Build and Push Docker Image / deploy-on-green (push) Successful in 6s
2026-03-07 21:14:31 -05:00
williamp
aaf3338797
re-introduce context menu command
2026-03-07 21:05:23 -05:00
williamp
8f2bda0b52
chore(actions): change buildkitd url
Build and Push Docker Image / build-and-push (push) Successful in 7m19s
Build and Push Docker Image / deploy-on-green (push) Successful in 6s
2026-03-07 18:56:26 -05:00
williamp
91f2eb39cb
chore(actions): change buildkitd url
Build and Push Docker Image / deploy-on-green (push) Has been skipped
Build and Push Docker Image / build-and-push (push) Failing after 26s
2026-03-07 18:35:56 -05:00
williamp
4347bf733c
fix flake.nix
2026-03-06 20:32:37 -05:00
williamp
5748834af4
fix Dockerfile
Build and Push Docker Image / build-and-push (push) Successful in 16s
Build and Push Docker Image / deploy-on-green (push) Successful in 7s
2026-03-06 20:08:45 -05:00
williamp
06d2a5ef01
Deploy and release v1.0.0 (Go Refactor) #30
Build and Push Docker Image / build-and-push (push) Failing after 11s
Build and Push Docker Image / deploy-on-green (push) Has been skipped
2026-03-06 20:06:43 -05:00
williamp
bdcd77eff1
rm build-testing to make way for merge
Build only (for PRs) / build-only (pull_request) Successful in 4m59s
2026-03-06 19:52:24 -05:00
williamp
4541559f47
remove RecodeVideo, too resource intensive
Build only (for PRs) / build-only (pull_request) Successful in 3m30s
Build and Push Docker Image / build-and-push (push) Successful in 3m46s
2026-03-06 19:40:11 -05:00
williamp
906ef98bd5
docker: fix more issues with dynamic linking
Build only (for PRs) / build-only (pull_request) Successful in 32s
Build and Push Docker Image / build-and-push (push) Successful in 2m13s
2026-03-06 10:04:19 -05:00
williamp
640c952b20
actions: adjust build-only for new PRs
2026-03-06 10:03:50 -05:00
williamp
f30686fd7c
start pushing test images
Build only (for PRs) / build-only (push) Has been cancelled
Build and Push Docker Image / build-and-push (push) Successful in 7m31s
2026-03-05 23:28:58 -05:00
williamp
eceb3b3d76
fix multiarch in ffmpeg stage
Build only (for PRs) / build-only (push) Successful in 27s
2026-03-05 23:18:57 -05:00
williamp
23a27217df
actions: fix wording
Build only (for PRs) / build-only (push) Has been cancelled
2026-03-05 22:40:57 -05:00
williamp
82a6421c88
actions: create build-only workflow for testing automated builds and later for PR autochecks
Build only (for PRs) / build-only (push) Failing after 5m7s
2026-03-05 22:37:42 -05:00
williamp
c72bc42496
renovate: track yt-dlp version from dockerfiles
2026-03-05 22:25:33 -05:00
williamp
991a5f376f
new dockerfile for staged yt-dlp/deno/go builds to distroless container
2026-03-05 22:15:34 -05:00
williamp
13bd3b82db
minor UX tweaks
2026-03-05 21:42:56 -05:00
williamp
2c99fbf517
update flake
Build and Push Docker Image / build-and-push (push) Successful in 18s
Build and Push Docker Image / deploy-on-green (push) Successful in 7s
2026-03-05 19:36:59 -05:00
williamp
890a0dd5c9
format final video download message
2026-03-05 19:35:13 -05:00
williamp
6fd6160edf
use animated loading emote
2026-03-05 19:17:05 -05:00
williamp
43c2fa2f91
update flake
2026-03-05 18:55:23 -05:00
williamp
481c8d9bb6
replace progress percentage with actual file size
2026-03-04 23:58:11 -05:00
williamp
3cac63ba82
implement progress bar
2026-03-04 21:06:41 -05:00
williamp
b3d779374b
have progress messages edit each other
2026-03-04 20:26:31 -05:00
williamp
204404b761
update flake for latest yt-dlp
Build and Push Docker Image / build-and-push (push) Successful in 4m3s
Build and Push Docker Image / deploy-on-green (push) Successful in 11s
2026-03-02 20:10:03 -05:00
williamp
600fde2e71
define static location for yt-dlp binary
2026-02-12 23:27:02 -05:00
williamp
a2a0aabb3a
downlad into temp folder then move to out folder when done, temp replace with my fork until upstream PR is merged
2026-02-12 23:26:08 -05:00
williamp
bd643344ef
direct requirements
2026-02-11 20:40:43 -05:00
williamp
63a6c38079
create download.go for async download function
2026-02-10 22:00:34 -05:00
williamp
4f34872f10
code cleanup
2026-02-10 21:59:30 -05:00
williamp
6ae35ec636
list formats and provide them for download
2026-02-10 21:52:39 -05:00
williamp
725c650deb
update flake for latest yt-dlp
2026-02-10 21:52:24 -05:00
williamp
d7ad90a1d5
actions: add duplicate detection
Build and Push Docker Image / build-and-push (push) Successful in 2m59s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2026-02-06 21:45:08 -05:00
williamp
b496d14cf7
flake: add go and yt-dlp for refactor
Build and Push Docker Image / build-and-push (push) Successful in 23s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2026-01-26 20:34:04 -05:00
williamp
7bd9ef1230
flake: check for existance of python project
2026-01-26 20:32:25 -05:00
williamp
c2de1abfd2
flake: check for existance of python project
Build and Push Docker Image / build-and-push (push) Successful in 18s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2026-01-26 20:28:23 -05:00
williamp
aa9dc58259
pass download status to discord
2026-01-26 20:16:13 -05:00
williamp
4bad5f72da
interaction state management, call ytdlp through /download function
2026-01-25 20:16:58 -05:00
williamp
99c6bd379a
start discord-side of things
2026-01-22 23:12:19 -05:00
williamp
b5642456c2
add options for downloads
2026-01-22 23:11:59 -05:00
williamp
f569f382f5
add .env shellhook
2026-01-21 20:21:27 -05:00
williamp
635d5d5113
nix dev environment: update flake and add deno
Build and Push Docker Image / build-and-push (push) Successful in 22s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2026-01-21 15:42:47 -05:00
williamp
9345a941fb
slight dl-only PoC
2026-01-21 15:40:40 -05:00
williamp
1b9437fea9
blank slate go app
2026-01-21 14:15:59 -05:00
williamp
39dcad6bcc
nix dev environment: update flake and add deno
2026-01-21 14:07:58 -05:00
williamp
db488e06ab
fix syntax
Build and Push Docker Image / build-and-push (push) Successful in 2m58s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-11-11 22:29:39 -05:00
williamp
e124ea31de
aaaaaargh, _ instead of -
Build and Push Docker Image / build-and-push (push) Successful in 2m57s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2025-11-11 22:21:49 -05:00
williamp
2f47bbd848
hotfix: specify ejs:github remote component
Build and Push Docker Image / build-and-push (push) Successful in 3m8s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-11-11 22:11:43 -05:00
williamp
0c21a854d2
add Deno to image
Build and Push Docker Image / build-and-push (push) Successful in 2m39s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-10-22 19:04:11 -04:00
williamp
0c1e715f98
Revert "use yt-dlp[default] to ensure Deno will be included"
...
Build and Push Docker Image / deploy-on-green (push) Has been cancelled
Build and Push Docker Image / build-and-push (push) Has been cancelled
This reverts commit a3a74571b4 .
2025-10-22 18:17:23 -04:00
williamp
a3a74571b4
use yt-dlp[default] to ensure Deno will be included
Build and Push Docker Image / build-and-push (push) Failing after 28s
Build and Push Docker Image / deploy-on-green (push) Has been skipped
2025-10-22 18:13:36 -04:00
williamp
c2c228d8de
chore: sign deploy commits
Build and Push Docker Image / build-and-push (push) Successful in 16s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2025-10-22 11:03:48 -04:00
williamp
0cf1b4a6df
Revert "install zstd for it to work on 3.14"
...
Build and Push Docker Image / build-and-push (push) Successful in 21s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
This reverts commit 0821359792 .
2025-10-08 09:21:04 -04:00
williamp
0821359792
install zstd for it to work on 3.14
Build and Push Docker Image / build-and-push (push) Successful in 2m54s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-10-08 09:16:48 -04:00
williamp
7c3905e65f
Revert "Update python Docker tag to v3.14.0"
...
Build and Push Docker Image / build-and-push (push) Successful in 18s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
This reverts commit 59f6bcb22e .
2025-10-08 09:07:46 -04:00
williamp
236ef0dcda
revert feb99c0dc1
...
Build and Push Docker Image / build-and-push (push) Successful in 22s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
revert add args due to new update
2025-09-29 16:46:15 +00:00
williamp
feb99c0dc1
add args to fix error ( https://github.com/yt-dlp/yt-dlp/issues/14456#issuecomment-3339167951 )
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
Build and Push Docker Image / build-and-push (push) Successful in 2m29s
2025-09-26 15:48:00 -04:00
williamp
c0a9422fbd
exclude all untested formats
Build and Push Docker Image / build-and-push (push) Successful in 2m15s
Build and Push Docker Image / deploy-on-green (push) Successful in 10s
2025-08-02 15:43:53 -04:00
williamp
bffe801da5
correct workflow
Build and Push Docker Image / build-and-push (push) Successful in 19s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2025-07-16 23:10:05 -04:00
williamp
82304688b8
implement deploy on green
Build and Push Docker Image / build-and-push (push) Successful in 19s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2025-07-16 23:00:35 -04:00
williamp
3ffb2e4640
add error reporting to download process
Build and Push Docker Image / build-and-push (push) Successful in 2m53s
2025-07-12 16:51:39 -04:00
williamp
2558a7e930
add ffmpeg to dockerfile
Build and Push Docker Image / build-and-push (push) Successful in 3m18s
2025-07-11 20:41:09 -04:00
williamp
94582d5f38
add dockerfile and gitea build action
Build and Push Docker Image / build-and-push (push) Successful in 2m55s
2025-07-11 20:33:11 -04:00
williamp
ba573ccea1
add license
2025-07-11 20:24:10 -04:00
williamp
1781b3b8b2
initial commit
2025-07-11 20:22:56 -04:00