Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: SyncTube – self-hosted web app to watch videos together and chat (github.com/rblsb)
2 points by MokaAkashiya 38 days ago | hide | past | favorite
I started this as an alternative to cytu.be for personal use and experiments, when my internet was so old that it gave me global ipv4 and I could run the server directly from my PC and add local files to the playlist, streaming them to all clients.

At the moment, I have developed this project to the presence of many unique features, such as external subtitles / audio tracks, automatic Leader control and commands for rewinding when you want to rewatch a certain moment or skip an anime opening with `/90` in the chat.

I think one of the main advantages is the lack of dependencies other than NodeJS and a 150KiB ws lib, so the service can be easily hosted on cheap VPS.

Recently, I also added the ability to upload video files to a temporary server cache and play them immediately after the start of the upload, without waiting for completion. This is implemented by uploading the last megabytes of video with metadata, which the HTTP server returns when handling 206-range requests from browsers (doesn't work before full upload on render demo due to the nature of the service, i think).

The client and server are implemented in Haxe compiled to JS, it is not as good for integrating JS libraries as TS, but it has many features at the compilation stage and a simpler type system with Int and without separate undefined type.

I also made a Flutter client for Android with a server list, and although it is not the pinnacle of material design, it adapts well to virtual keyboard and it is convenient to switch to a fullscreen with a double tap and exit it when the new message icon appears in the corner of the video.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: