Synchronized viewing, theater, live streaming, video, long-distance relationship
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
zijiren 9e0e0c280e
chore(dev): remove background server targets (#407)
## Summary

- remove the `dev-start` and `dev-stop` Makefile targets and related
documentation
- keep `dev-serve` as the foreground development server entry point
- make the provider smoke test own and clean up its server process
- keep `dev-down` and `dev-clean` scoped to Compose services

## Verification

- `bash -n scripts/dev-e2e-smoke.sh`
- Makefile dry runs for `dev-serve`, `dev-down`, and `dev-clean`
- `make help` target inspection
- `git diff --check`
- existing development backend health check
1 month ago
.cargo chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
.config chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
.github ci: align checks with repository policies 2 months ago
.sqlx feat: add recoverable resource deletion lifecycle (#394) 2 months ago
docs fix: classify forced realtime disconnects (#395) 1 month ago
helm/synctv release: prepare v1.0.1 2 months ago
migrations feat: add recoverable resource deletion lifecycle (#394) 2 months ago
scripts chore(dev): remove background server targets (#407) 1 month ago
synctv fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-adapter fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-api fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-api-common fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-api-grpc fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-api-http fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-cluster chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
synctv-common chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
synctv-core fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-livestream chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
synctv-management fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-media-providers fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-proto fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-proto-build feat(providers): unify discovery and playback routing (#397) 1 month ago
synctv-proto-main chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
synctv-proto-playback-provider feat(providers): unify discovery and playback routing (#397) 1 month ago
synctv-proto-providers chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
synctv-proxy chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
synctv-realtime fix: type playback identities and stabilize FNOS playback (#400) 1 month ago
synctv-xiu feat(oauth2): add provider modes and native Apple flow 2 months ago
.dockerignore chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
.env.postgres.example chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
.env.redis.example chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
.env.synctv.example docs: add Compose environment generator 2 months ago
.gitattributes feat: add recoverable resource deletion lifecycle (#394) 2 months ago
.gitignore chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
CONTRIBUTING.md chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
Cargo.lock release: prepare v1.0.1 2 months ago
Cargo.toml release: prepare v1.0.1 2 months ago
Dockerfile docs: add Compose environment generator 2 months ago
LICENSE chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
Makefile chore(dev): remove background server targets (#407) 1 month ago
README.md chore(dev): remove background server targets (#407) 1 month ago
README.zh-CN.md chore(dev): remove background server targets (#407) 1 month ago
SECURITY.md chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
deny.toml chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
docker-compose.dev.yml feat(providers): unify discovery and playback routing (#397) 1 month ago
docker-compose.yml fix(compose): make image tag configurable 2 months ago
rust-toolchain.toml chore: replace synctv-org backend with SyncTV v1.0.0 2 months ago
synctv.example.yaml feat(oauth2): add provider modes and native Apple flow 2 months ago

README.md

SyncTV

SyncTV

简体中文 · Website

Rust Tokio Axum gRPC PostgreSQL Redis Docker Helm Kubernetes OpenAPI Astro Starlight License

SyncTV is a Rust implementation of a real-time synchronized video watching platform with media provider integration, livestreaming, HTTP/gRPC APIs, and Kubernetes-ready horizontal scaling.

SyncTV synchronized room playback

Highlights

  • Synchronized room playback with real-time state updates.
  • Media providers for Bilibili, Twitch, YouTube, Douyin, TikTok, Huya, Douyu, AcFun, CCTV, Alist, Cloudreve, Emby/Jellyfin, FNOS, QNAP, Synology, Nextcloud, Seafile, TrueNAS, direct URLs, and livestream sources.
  • RTMP push/pull, HLS, and HTTP-FLV livestream support.
  • RTSP external pull with TCP/UDP transport and live HLS/HTTP-FLV remuxing.
  • HTTP REST, public gRPC, WebSocket, management gRPC, metrics, RTMP, and STUN runtime surfaces.
  • PostgreSQL-backed durable storage with optional Redis shared state, cache, rate limiting, and cluster coordination.
  • Docker Compose and Helm deployment templates.
  • Built-in management CLI and optional OpenAPI/Swagger UI.
  • Astro Starlight documentation site with English and Simplified Chinese content.

Discussion and Contributors

Join the SyncTV Telegram discussion to talk with users and contributors about deployment, operations, media providers, client development, and the product roadmap.

SyncTV contributors

Quick Start

Development environment from a full repository checkout:

# Starts PostgreSQL and Redis, then runs SyncTV locally with development settings.
make dev-serve

# Starts optional media/auth/storage dependencies too.
make dev-stack

# Runs real CLI/curl provider smoke tests through the Makefile dev startup path.
make dev-smoke

Production Compose uses generated PostgreSQL, Redis, and application secrets:

# Requires Docker Compose and openssl.
make compose-init

# Edit SYNCTV_BOOTSTRAP_ROOT_PASSWORD in .env.synctv before starting.
make compose-up

Validate configuration:

cargo +nightly run -p synctv --bin synctv -- config validate

Optional migration preflight. The server also runs embedded SQLx migrations automatically during startup:

cargo +nightly run -p synctv --bin synctv -- db migrate

Start locally:

cargo +nightly run -p synctv --bin synctv -- serve

Documentation

Read the complete documentation at docs.syncs.tv.

Download the native client from the client downloads guide or SyncTV App releases. Store builds are distributed through the supported app stores.

License

MIT. See LICENSE.