Go to file
HeshamTB 4a1a254026 feat: direct download with filename:
- Fixed issues with escaping query in Hx-Redirect
	header.

	- GetFilename functions that runs concurrently
	since it takes time for yt-dlp to fetch info.
	Investigate getting url and name in one execution.

	- Directly redirects to /download-direct for a
	streaming response of the file. I am observing
	that the request on the server side to content
	provider does not wait for the full download.
	instead, it is streamed in a buffer, that is
	also copied at the same time to the user response
	as partial. Pretty cool. Not much memory overhead,
	which was the main concern.

Signed-off-by: HeshamTB <hishaminv@gmail.com>
2023-09-14 21:49:17 +03:00
assets feat: sitemap and updated robots 2023-09-13 18:09:20 +03:00
static feat: sitemap and updated robots 2023-09-13 18:09:20 +03:00
templates fix: new domain ad 2023-09-13 18:03:00 +03:00
.gitignore feat: embed static files and templates in binary 2023-09-11 21:44:41 +03:00
bindata.go feat: serve robots.txt, subtitle 2023-09-13 14:52:57 +03:00
Containerfile Revert "feat: Container healthcheck" 2023-09-13 16:48:02 +03:00
go.mod [WIP] settings up template and static files embedding 2023-09-11 20:54:28 +03:00
main.go feat: direct download with filename: 2023-09-14 21:49:17 +03:00
Makefile Basic Makefile 2023-09-11 00:00:01 +03:00
yt.go feat: direct download with filename: 2023-09-14 21:49:17 +03:00