https://github.com/n-ce/hyprepipe
Simplified YT Music API to be used in Privacy Friendly Frontends. [mirror/codeberg/snematoda/hyperpipe-backend]
https://github.com/n-ce/hyprepipe
docker gofiber golang hyperpipe invidious piped privacy self-hosted youtube ytmusic
Last synced: about 2 months ago
JSON representation
Simplified YT Music API to be used in Privacy Friendly Frontends. [mirror/codeberg/snematoda/hyperpipe-backend]
- Host: GitHub
- URL: https://github.com/n-ce/hyprepipe
- Owner: n-ce
- License: agpl-3.0
- Created: 2025-07-14T04:06:00.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-09-19T14:36:08.000Z (9 months ago)
- Last Synced: 2025-09-19T16:33:33.234Z (9 months ago)
- Topics: docker, gofiber, golang, hyperpipe, invidious, piped, privacy, self-hosted, youtube, ytmusic
- Language: Go
- Homepage: https://codeberg.org/Hyperpipe/Hyperpipe-backend
- Size: 196 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Hyperpipe-backend
Until NewPipeExtractor Supports Youtube Music Browse endpoints.
## Conifig
| env var | details |
| :---: | :---: |
| `HYP_PROXY=piped-proxy.example.tld` | hostname of the piped-proxy you would like to connect to |
| `HYP_PREFORK=1` | enable gofiber prefork (better performance, but may not work in all machines) |
## Self-Hosting
*Please see [Hyperpipe/Docker](https://codeberg.org/Hyperpipe/Docker) if hosting both the frontend and the backend*
### Docker
Run the [container](https://codeberg.org/Hyperpipe/-/packages/container/hyperpipe-backend/latest) with `HYP_PROXY` set as an env var
### Manual
```sh
go build -tags netgo -ldflags '-s -w' -o app
./app
```
## Official Frontend
https://codeberg.org/Hyperpipe/Hyperpipe
## Docs
### `GET` `/explore`
### `GET` `/genres`
### `GET` `/genres/:id`
- `:id` -> `ggMPO*`
### `GET` `/charts?params=${id}&code=${code}`
### `GET` `/next/:id?queue=${queue}`
- `:id` -> `song id (same as /watch?v=:id)`
- `$queue` -> `avoid` (optional)
### `GET` `/lyrics/:id`
- `:id` -> `MPLY*`
### `GET` `/channel/:id`
- `:id` -> `UC*`
### `GET` `/next/channel/:id/:params?ct=${click}&v=${visit}`
*Use with caution*
- `:id` -> `UC*`
## License
Hyperpipe-Backend
Copyright (C) 2022-24 Shiny Nematoda
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .