blob: d4eb7d496ae137f3623208c80fc7feb95be63828 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# EMBEDTUBE
A tiny, distraction-free YouTube micro-client which wraps the official [embed API](https://developers.google.com/youtube/iframe_api_reference).
Written in [Go](https://go.dev/)
# USAGE
Simply replace the hostname of your youtube.com or youtu.be link with the hostname of your favorite EmbedTube instance:
E.g. https://www.youtube.com/watch?v=cvDyQUpaFf4
: => https://yt.tjkeller.xyz/watch?v=cvDyQUpaFf4
E.g. https://youtu.be/cvDyQUpaFf4?t=75
: => https://yt.tjkeller.xyz/cvDyQUpaFf4?t=75
# SELF-HOSTING
Install [Go](https://go.dev/) and [Git](https://git-scm.com/). Then run:
```sh
git clone https://git.tjkeller.xyz/embedtube
cd embedtube
go run .
```
A `flake.nix` with an option module and a `Dockerfile` are also available.
## API KEY
EmbedTube currently uses the official YouTube API for grabbing video details and comments.
Generate an API key and export it into your environment using `API_KEY=`.
Or better yet, save it into a `.env` file!
# DONATE
BTC: [bc1q2ehdum4d3y0grwtcpqcf33kpljusl6c0urdsvqmy6zvkaydgh8hsr0m2t0](bitcoin:bc1q2ehdum4d3y0grwtcpqcf33kpljusl6c0urdsvqmy6zvkaydgh8hsr0m2t0) ([QR](/static/btc-qr.png))
# COPYRIGHT
EmbedTube is [Free Software](https://www.gnu.org/philosophy/free-sw.en.html).
It is made available under the [MIT license](https://git.tjkeller.xyz/embedtube/plain/LICENSE).
You can clone or view the git repository here:
: https://git.tjkeller.xyz/embedtube
Copyright (c) 2026 Tim Keller <https://tjkeller.xyz>
|