aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 210735a7342bd083d342975bd0c9939bfe652302 (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
# EMBEDTUBE
A tiny, distraction-free YouTube web-client using 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://embedtube.tjkeller.xyz/watch?v=cvDyQUpaFf4

E.g. https://youtu.be/cvDyQUpaFf4?t=75
:  => https://embedtube.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 .
```

## 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>