- JavaScript 50.4%
- Vue 45.4%
- CSS 3.1%
- HTML 1%
- Dockerfile 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Move the frontend runtime image from nginx-unprivileged to
quay.io/hummingbird-rawhide/caddy:latest (caddy 2.10.x, unprivileged).
The image is fully distroless: caddy runs via an explicit
ENTRYPOINT/CMD split (deploy-time args overrides feed the caddy binary
directly), nothing is rewritten at startup, and the web root stays
root-owned and read-only with a numeric USER (997, the image's caddy
user).
The instance override moves out of the build artifacts: caddy serves
the runtime instance itself as /instance.js, a tiny script generated
from BACKEND_HOSTNAME and HTTP_MODE via Caddyfile env placeholders
(Cache-Control: no-store, loaded by index.html before any module
script). apiUrl() prefers the injected window.pipedApiBase and falls
back to the build-time VITE_PIPED_API when the override is empty —
a container run without BACKEND_HOSTNAME degrades to its baked
instance — plus dev servers and offline loads. The Vite dev server
mirrors the contract with a small middleware, so dev and the container
behave the same.
SPA fallback becomes try_files {path} /index.html, HTTP_PORT support
moves from the old entrypoint's sed into a {$HTTP_PORT:8080} Caddyfile
placeholder, and HTTP_WORKERS is dropped (no caddy equivalent). The
container serves plain HTTP, defaulting to port 8080.
|
||
| .forgejo/workflows | ||
| docker | ||
| docs | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .dockerignore | ||
| .env | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc.json | ||
| AGENTS.md | ||
| babel.config.js | ||
| CODE_OF_CONDUCT.md | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| LICENSE | ||
| localizefonts.sh | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| renovate.json | ||
| Taskfile.dist.yaml | ||
| vite.config.js | ||
SI-Tube
SI-Tube (Shivering-Isles Tube) is an open-source privacy-friendly YouTube frontend, built on top of the Piped codebase — many thanks to the upstream project and its community.
An open-source alternative frontend for YouTube which is efficient by design.
A list of public instances can be found at the documentation here.
The Problem
YouTube has an extremely invasive privacy policy which relies on using user data in unethical ways. You give them a lot of data - ranging from ideas, music taste, content, political opinions, and much more than you think.
By using SI-Tube, you can freely watch and listen to content without the fear of prying eyes watching everything you are doing.
Features:
User Features
- No Ads
- No Tracking
- Lightweight on server and client
- Infinite Scrolling
- Light/Dark themes
- Login
- Feeds
- Playlists
- Integration with SponsorBlock
- Integration with Return YouTube Dislike via RYD-Proxy
- 4K support
- No connections to Google's servers
- Playing just audio
- PWA support
- Locally saved Preferences
- Available in many languages
- Embedded video support
- No age restriction
- Bypasses Geo restrictions if possible through a federated network
Technical Features
- Multi-region load-balancing
- Performant by design, designed to handle 1000s of users concurrently
- Does not use official YouTube APIs
- Uses NewPipeExtractor to extract information
- Public JSON API
- Federated protocol on Matrix to let instances collaborate with each other
Having trouble?
If you have any general questions regarding how the upstream Piped project works or trouble setting up your own instance, please consult the following public chat rooms and documentation for help. Please use these platforms exclusively for such cases and do NOT open an issue.
Public Chat Rooms/Communities
- You can join us via Matrix at #piped.
- You can join us on Lemmy on the !piped@feddit.rocks community.
Self-Hosting
See https://docs.piped.video/docs/self-hosting/ for more details.
The source code of the documentation website is available at https://github.com/TeamPiped/Documentation.
Documentation
The documentation can be found at https://docs.piped.video (accessible via IPNS as well).
The API specification is located at https://github.com/TeamPiped/OpenAPI.
Extensions
To redirect all YouTube links to SI-Tube, you are highly recommended to use either Piped-Redirects, Libredirect or Predirect.
Contributing
Mirrors
- Cloudflare Pages - cf.piped.video
- Vercel - vc.piped.video
- Render - re.piped.video
- Fleek - fl.piped.video
- DigitalOcean - do.piped.video
- Netlify - nf.piped.video
- Azure - az.piped.video
Forking, and contributing
- Fork the repository to your own site
- Create your feature branch:
git checkout -b my-awesome-feature - Stage your files
git add . - Commit your changes
git commit -am 'Add awesome new feature' - Push to the branch
git push origin my-awesome-feature
Development Setup
pnpm install
Compiles and hot-reloads for development
pnpm dev
You can now make changes and view then in realtime!
OIDC authentication
SI-Tube instances can delegate login to an OpenID Connect identity provider. The frontend implements the authorization code flow with PKCE itself and works with both OIDC and legacy password instances. See docs/OIDC.md for how it works and what to keep in mind when touching auth code; backend/operator setup is covered in the backend's docs/OIDC.md.
Donations
Donations (to Kavin) can be made at:
- bc1qhq8zjxmu405nvp37njj6zv3s980zg400pu9jfe (BTC)
- 0x1D77D4cfB1a947514241bcf19B1F04738495e2fD (ETH)
- 84wyyeGTrg4U1daJufi78bAFrBQgdRhmxJZvgYv8dAFeFVwkJaBEmw5C7fNniUM9n4jfrz3NeG32Agxtp7JNAcCUFPACfwA (XMR, aka Monero)
- nano_1ngejzydncche4rdua3iebhj7sa95pw5geq4pb8phugtjf3tku933ktjb4pq (Nano)
- XpzgouDTKCUuE8a92XqjX9b43gKL8oLihw (Dash)
FIAT donations can be made at:
- https://liberapay.com/kavin (Initial author)
- https://liberapay.com/Bnyro (Project maintainer)
Contributions in any other form are also welcomed.
Made with Piped
(the following ecosystem projects are maintained upstream by TeamPiped; SI-Tube is compatible with them)
Mobile/desktop apps
- LibreTube - Alternative frontend for YouTube for Android.
- Yattee - Alternative frontend for YouTube for MacOS / iOS.
- YTDLnis - Video and audio downloader for Android that uses Piped to update formats.
- Pipeline - Alternative frontend for YouTube for Linux.
- PlasmaTube - Alternative frontend for YouTube for Linux.
- Harmony Music - YouTube Music alternative for Android/Windows/Debian, built with Flutter that supports piped linking for playlists.
Web apps
- Hyperpipe - Alternative privacy respecting front-end for YouTube Music.
- ytify - Complementary audio streaming frontend for YouTube & YouTube Music.
- Piped-Material - Fork of Piped, focusing on better performance and a more usable design.
- Musicale - Alternative frontend for YouTube Music with style.
Not Under Active Development
- PsTube - Watch and download videos without ads on Android, Linux, Windows, iOS, and Mac OSX.
- VibeYou - Privacy focused music player for Android supporting playback via Piped.
- conduit - Alternative frontend for YouTube, with a modern player and watch together capabilities.
- DeskVideo - Desktop styled, customizable alternative frontend for YouTube.
- ReacTube - Privacy friendly & distraction free YouTube frontend.
- vidyodl - Simple API to download videos from YouTube, using Piped.
- Piped Addon for Kodi - Kodi plugin for Piped.
YourKit
YourKit has given an open source license for their profiler, greatly simplifying the profiling of Piped's performance.
YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.