sync/README.md

55 lines
1.7 KiB
Markdown
Raw Normal View History

2013-02-16 17:19:59 +00:00
calzoneman/sync
===============
2013-02-16 05:02:42 +00:00
2013-02-16 17:19:59 +00:00
About
-----
Sync is a server/client combination I wrote to synchronize media playback
among clients. It's inspired by Synchtube, but I wanted to make the
interface simpler, add a searchable library for each channel, and it's just
a fun challenge.
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. The web interface uses Bootstrap for layout and styling.
2013-03-24 02:28:20 +00:00
Sync currently supports YouTube, Soundcloud, Vimeo, Dailymotion, Livestream, and TwitchTV.
2013-02-16 17:19:59 +00:00
Installing
----------
This assumes you have Node.JS installed.
2013-03-25 17:52:05 +00:00
I'm using v0.10, please feel free to report which versions do/do not work
2013-02-16 17:19:59 +00:00
1. Clone this repository
2. `cd` to the directory containing the source files
3. Install socket.io: `npm install socket.io`
4. Install connect: `npm install connect`
5. Install your distribution's `libmysqlclient` package
6. Install the libmysql node module: `npm install mysql-libmysqlclient`
7. Install bcrypt: `npm install bcrypt`
8. Install node_hash: `npm install node_hash`
9. Edit `config.js` and input your database details and connection port
10. Edit `www/assets/js/iourl.js` and change the value of `IO_URL` to `yourhostname:port` where `port` is the port defined in `config.js`
2013-02-16 17:19:59 +00:00
Running
-------
Start the server: `node server.js`
You should now be able to connect via `yourhostname:port` where `port` is
the port you defined in config.js
Feedback
--------
Please open a GitHub Issue.
License
-------
2013-03-24 02:28:20 +00:00
Licensed under MIT
2013-02-16 17:19:59 +00:00
See LICENSE for the full license text