mirror of https://github.com/synctv-org/synctv
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.
|
1 year ago | |
---|---|---|
.github | 1 year ago | |
cmd | 1 year ago | |
internal | 1 year ago | |
public | 1 year ago | |
room | 1 year ago | |
server | 1 year ago | |
utils | 1 year ago | |
.gitignore | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 1 year ago | |
README-CN.md | 1 year ago | |
README.md | 1 year ago | |
build.sh | 1 year ago | |
docker-compose.yml | 1 year ago | |
entrypoint.sh | 1 year ago | |
go.mod | 1 year ago | |
go.sum | 1 year ago | |
main.go | 1 year ago |
README.md
English | 中文
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:
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.