异地观影-go后端
Go to file
zijiren e5d91d0b9b
Create SECURITY.md (#8)
2023-10-05 10:09:07 -05:00
.github Feat: update workflow 2023-10-05 22:31:37 +08:00
cmd Opt: detach sys notidy 2023-10-05 15:45:52 +08:00
internal Feat: dev build default use dev web version 2023-10-05 20:36:04 +08:00
public Feat: synctv init 2023-10-04 13:59:36 +08:00
room Feat: synctv init 2023-10-04 13:59:36 +08:00
server Fix: disable cgo 2023-10-05 17:47:02 +08:00
utils Opt: detach sys notidy 2023-10-05 15:45:52 +08:00
.gitignore Feat: build wordflow and auto dev 2023-10-04 22:55:22 +08:00
Dockerfile Fix: long proxy env 2023-10-05 12:54:19 +08:00
LICENSE Initial commit 2023-10-04 00:32:47 -05:00
README-CN.md Docs: update readme what is synctv 2023-10-05 12:25:47 +08:00
README.md Docs: update readme what is synctv 2023-10-05 12:25:47 +08:00
SECURITY.md Create SECURITY.md (#8) 2023-10-05 10:09:07 -05:00
build.sh Feat: dev build default use dev web version 2023-10-05 20:36:04 +08:00
docker-compose.yml Fix: long proxy env 2023-10-05 12:54:19 +08:00
entrypoint.sh Feat: release to docker hub 2023-10-05 09:48:48 +08:00
go.mod Chore: use stable livlib 2023-10-05 22:06:26 +08:00
go.sum Chore: use stable livlib 2023-10-05 22:06:26 +08:00
main.go Feat: synctv init 2023-10-04 13:59:36 +08:00

README.md

logo

👫A program that allows you to watch movies/live broadcasts together remotely🍿


English | 中文

What is SyncTV?

SyncTV is a program that allows you to watch movies and live broadcasts together remotely. It provides synchronized viewing, theater, and proxy features. With SyncTV, you can watch videos and live streams with your friends and family, no matter where they are.

SyncTV's synchronized viewing feature ensures that everyone watching the video is at the same point in the video. This means that you can pause, rewind, or fast-forward the video, and everyone else will be synced to the same point. SyncTV also supports live streaming, so you can watch live events together in real-time.

The theater feature provides a chat and bullet chat function, allowing you to communicate with your friends and family while watching the video. The proxy feature allows you to watch videos and live streams that may be connect to origin server slow.

Features

  • Synchronized viewing
    • Videos Sync
    • Live streaming
  • Theater
    • Chat
    • Bullet chat
  • Proxy
    • Videos proxy
    • Live proxy

Usage

Global Flags:

-f, --config string   config file path
    --dev             start with dev mode
    --env-no-prefix   env no SYNCTV_ prefix
    --log-std         log to std (default true)
    --skip-config     skip config
    --skip-env        skip env

if you want to use a custom config file, you can use -f flag, else it will use $home/.config/synctv/config.yaml

Init

synctv init to init config file

synctv init
# or
synctv init -f ./config.yaml

Server

synctv server to start the server

synctv server
# or
synctv server -f ./config.yaml

server default listen on 127.0.0.1:8080, you can change it in config file

example:

server:
    listen: 0.0.0.0 # server listen addr
    port: 8080 # server listen port

Contributors

Thanks goes to these wonderful people:

Contributors

License

The SyncTV is open-source software licensed under the AGPL-3.0 license.

Disclaimer

  • This program is a free and open-source project. It aims to play video files on the internet, making it convenient for multiple people to watch videos and learn golang together.
  • Please comply with relevant laws and regulations when using it, and do not abuse it.
  • The program only plays video files/forwards traffic on the client-side and will not intercept, store, or tamper with any user data.
  • Before using the program, you should understand and assume the corresponding risks, including but not limited to copyright disputes, legal restrictions, etc., which are not related to the program.
  • If there is any infringement, please contact me via email, and it will be dealt with promptly.