Node.JS Server and JavaScript/HTML Client for synchronizing online media
Go to file
Calvin Montgomery 9deff9bdb1 Change charset for certain fields to utf8mb4
The underlying cause of #419 is the default utf8 collation in MySQL/MariaDB, which only supports the base plane of Unicode (\u0000-\uffff).  By changing the collation to utf8mb4_general_ci, stuff like ban reasons and profile text may have emoji and other non-base-plane Unicode.

The charset for playlist titles is NOT changed, and non-base-plane characters are replaced by question marks.  This is because switching to utf8mb4 would make the primary key too long.
2014-12-14 21:53:25 -05:00
lib Change charset for certain fields to utf8mb4 2014-12-14 21:53:25 -05:00
templates Fix #414; use CDNs for bootstrap,jquery 2014-11-20 23:10:40 -06:00
www Improve behavior of custom embed w.r.t. https 2014-12-10 23:56:17 -06:00
.gitignore Add caching to minify 2014-02-24 18:32:54 -06:00
LICENSE Update LICENSE 2014-05-21 21:38:53 -07:00
README.md Update README.md 2014-03-21 18:15:13 -05:00
changelog Update changelog 2013-12-26 21:54:35 -05:00
config.template.yaml Fix caching and add gzip 2014-11-16 21:06:10 -06:00
import.js Fix import script 2014-03-01 17:43:03 -06:00
index.js Add console command for deleting old channel tables 2014-06-23 22:15:57 -07:00
package.json Fix caching and add gzip 2014-11-16 21:06:10 -06:00
run.sh Refactor out server init to index.js 2013-10-11 15:48:01 -05:00
update.js Move server files to lib/ to clean up root directory 2013-09-05 13:48:05 -05:00
version.py Fix version.py 2013-11-04 16:13:49 -06:00

README.md

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 JWPlayer)
  • Embedding of the following sources:
    • livestream.com
    • twitch.tv
    • justin.tv
    • ustream.tv
    • RTMP streams
    • Icecast (via JWPlayer)
    • 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