36b012ac92
refactor: move route handlers to named functions
2023-09-16 05:09:44 +03:00
e9aafd0cea
feat: package updater
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2023-09-16 04:56:32 +03:00
c36275d07b
fix: increase RW http server timeouts, since now we stream the content:
...
A download of 500MB on 40Mb/s could never finish
2023-09-15 18:49:12 +03:00
9532b70458
feat: Set content length header for comletion and time estiamte on
...
browsers
2023-09-15 18:48:45 +03:00
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
61502ea2f6
feat: direct download via streaming
2023-09-14 20:13:32 +03:00
8fd3811a72
fix: sitemap at root
2023-09-13 18:23:15 +03:00
98c7ee4b61
feat: sitemap and updated robots
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2023-09-13 18:09:20 +03:00
797d39e847
[WIP] feat: perpping for audio
2023-09-13 16:16:29 +03:00
f4a348b00f
feat: serve robots.txt, subtitle
2023-09-13 14:52:57 +03:00
b88ca836ef
feat: basic active url validation:
...
- Does not check if the link is actually
a video. Change isValidURL() for better
validation
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2023-09-13 13:13:13 +03:00
857c4ed001
feat: read env for TLS to set schemas for assets/css
2023-09-13 11:32:47 +03:00
61fa4fe192
feat: assetsFS for serving images and media
2023-09-13 11:26:23 +03:00
9336f0531b
fix: remove trace print
2023-09-12 01:03:17 +03:00
1fd65a5827
feat: Logger: log X-Real-IP when behind rProxy
2023-09-12 00:52:54 +03:00
b82b70d911
feat: added yt for yt-dlp logic within the app
2023-09-12 00:09:24 +03:00
d047788835
fix: download link was incorrect. Added hint for saving file
2023-09-11 23:42:58 +03:00
84c85c98fe
feat: display error message
2023-09-11 23:27:18 +03:00
c8b706aee6
feat: embed static files and templates in binary
2023-09-11 21:44:41 +03:00
98c98d16b4
[WIP] prep for embedded files 2
2023-09-11 21:10:58 +03:00
5c7bfc21ed
[WIP] settings up template and static files embedding
2023-09-11 20:54:28 +03:00
598fd51412
feat: Working download with mp3-convx
2023-09-11 02:46:14 +03:00
d9e047c517
feat: colored logging
2023-09-10 23:33:06 +03:00
484ecd1cc3
init: main and templates
2023-09-10 23:18:30 +03:00