Node.JS Server and JavaScript/HTML Client for synchronizing online media
Go to file
calzoneman 23f39ab2f5 Improve chat autoscroll behavior
The previous behavior (don't autoscroll if the mouse is over the chat
area) was not intuitive and caused problems for people in chat only
mode, which led to a lot of people assuming that it was a glitch.

This change introduces the following behavior:

  * Hovering over chat no longer affects autoscroll.
  * Scrolling up in chat turns off autoscroll.
  * Scrolling to the bottom of the chatbox resumes autoscroll.
  * If a new message is added while autoscroll is off, a "New Messages
    Below" indicator is added to the bottom of the chatbox.
2015-11-29 09:49:21 -08:00
docs Merge pull request #522 from calzoneman/sioconfig-migration 2015-10-25 17:25:00 -07:00
player Use VideoJS for RTMP (#532) 2015-11-08 19:51:17 -08:00
src Fix variable misuse 2015-11-03 19:34:12 -08:00
templates Merge branch '3.0' into web-refactoring 2015-11-02 21:07:50 -08:00
www Improve chat autoscroll behavior 2015-11-29 09:49:21 -08:00
.gitignore package: build with babel for ES2015 support 2015-09-23 19:27:04 -07:00
build-player.js Hack YouTube flash player for Google Drive 2015-09-15 23:32:01 -07:00
config.template.yaml Add config key for selecting storage mode 2015-09-30 21:55:45 -07:00
index.js Web refactoring 2015-10-26 22:56:53 -07:00
LICENSE
NEWS.md Remove extra word from NEWS.md 2015-10-25 17:21:15 -07:00
package.json Move contact page to its own route handler 2015-10-27 22:04:21 -07:00
postinstall.sh Add safeguard postinstall script prompt 2015-09-23 19:27:04 -07:00
README.md Update README.md 2015-08-16 13:31:34 -07:00
run.sh

Read before submitting an issue: https://github.com/calzoneman/sync/wiki/Reporting-an-Issue

calzoneman/sync

About

CyTube is a web application providing media synchronization, chat, and more for an arbitrary number of channels. I began developing this as a hobby project, and when synchtube.com announced their closure, I began polishing it and readying it for the public.

I am hosting a CyTube server at http://cytu.be

The serverside is written in JavaScript and runs on Node.JS. It makes use of a MySQL database to store user registrations, cached media metadata, and data about each channel.

The clientside is written in JavaScript and makes use of Socket.IO and jQuery as well as the APIs for various media providers. The web interface uses Bootstrap for layout and styling.

Features

  • Standalone web/socket.io server
  • Optional SSL support for socket.io and the account API
  • Synchronized playback from the following sources:
    • YouTube (individual videos + playlists)
    • Google Docs videos
    • Vimeo
    • Dailymotion
    • Soundcloud
    • Raw video/audio files (via video.js)
  • Embedding of the following sources:
    • livestream.com
    • twitch.tv
    • justin.tv
    • ustream.tv
    • RTMP streams
    • Custom <iframe> and <object> embeds
  • Channel customization
    • HTML Message of the Day
    • CSS
    • JavaScript
    • Permissions
      • Tiered ranks (Site admin > Channel admin > Moderator > Leader > Member > Guest > Anonymous)
    • Chat filters (based on regular expressions)
    • Lock/unlock playlist to allow additions by non-moderators (configurable with permissions)
    • Searchable library of videos
  • Integrated YouTube search
  • Save/load playlists per user account
  • Polls
  • Voteskip (can be disabled by a channel moderator)
  • Auto-AFK status (can be configured per-channel)
  • Leader
    • Grants control of playback to a user (can pause/seek)
    • Can also be used to grant temporary mod-like powers to a user
    • Not necessary for synchronization as the server has an internal timer
  • Channel state saves/loads on restart
  • Account management
    • Password change
    • Password reset (via email)
    • Profile avatar and text
  • Moderation
    • Mute users
    • Kick users
    • Ban users by name
    • Ban users by IP address (and by /24 range)
  • Administration
    • Log viewer
    • Global bans
    • Search registered channels and users
    • Currently loaded channels
    • Stats (usercount, channelcount, RAM usage)

Installing

Installation instructions are available here: https://github.com/calzoneman/sync/wiki/CyTube-3.0-Installation-Guide

Feedback

Please open a GitHub Issue.

License

Licensed under MIT. See LICENSE for the full license text.