Save videos, music and photos from the page you are watching, in Hungarian.
Version 3 is a rewrite. The old, server-side version (v2.1.0) no longer works, because the video sites block downloads from servers; its page is the blurred background above.
Version 3 lets the user's own browser do as much of the work as possible:
- a bookmarklet runs on the video page, finds the media and passes it to the tiaTube window;
- the tiaTube window asks what to save, shows the progress and saves the result;
- the server only muxes with ffmpeg and encodes audio (MP3) where a browser cannot do it well. It never downloads from a video site.
When a site's own class finds nothing on a page, tiaWeb looks for any video there.
| site | what | |
|---|---|---|
| tiaTube | YouTube | MP3, MKV, MP4 (up to 1080p); a playlist in a ZIP |
| tiaFace | videos, reels, all photos and videos of a post in a ZIP | |
| tiaVidea | videa.hu | every quality the player offers |
| tiaWeb | any other site with an HTML5 video | plain video files, straight from the site |
tiaTube is one Docker image: a small Go server with ffmpeg. It needs a public HTTPS address (the bookmarklet runs on HTTPS pages), so it goes behind a reverse proxy that terminates TLS.
- Copy compose.example.yml to
compose.yml, fill in the image version and the public URL. docker compose up -d- Open the public URL and drag the tiaTube button to the bookmarks bar.
The server keeps nothing but the jobs in progress; finished files are deleted after a few hours.
Anyone who can open the public URL can use the server. The server refuses requests that other sites' pages send through their visitors' browsers; to limit who may use it, put the address behind the reverse proxy's authentication.
A bookmarklet stays as it was dragged, while the window always comes from the server: after an update the window asks for the new bookmarklet when the old one is outdated.
| variable | default | |
|---|---|---|
TIATUBE_ORIGIN |
the address the browser used | the public URL, with its path when the proxy serves it under one |
TIATUBE_LISTEN |
:8765 |
|
TIATUBE_DATA |
/data |
the jobs' files; emptied on start |
TIATUBE_MAX_FRAG |
16MiB |
one uploaded piece |
TIATUBE_MAX_JOB |
6GiB |
what one job may keep on disk |
TIATUBE_MAX_TOTAL |
24GiB |
all jobs together; a new job starts only while a largest one still fits |
TIATUBE_JOB_TTL |
6h |
how long a finished file is kept |
TIATUBE_IDLE_TIMEOUT |
10m |
a job whose window is gone is dropped after this |
TIATUBE_REMUX_PARALLEL |
2 |
muxing jobs at a time; transcoding (MP3) runs one at a time |
Everything builds and runs in Docker through the Makefile; the CI runs the same targets.
| target | |
|---|---|
make test |
Go tests (with ffmpeg) |
make image |
the image tiatube:dev |
make run |
runs it on http://127.0.0.1:8765/ |
make assets |
regenerates the logos and the background from sites.json and the old screenshot |
make ci |
what the CI runs |
