Giter Club home page Giter Club logo

synk's Introduction

Synk Project

Watch videos in sync and chat with friends

Maintenance MIT license PRs Welcome GitHub contributors Open Source Love svg2

Build client & API CodeQL Codacy Badge

Website preview

Wanna know what we're working on? Check our project's task board!

Live Demo

Website synk.moe

Install

Prerequisites:

  • Have yarn installed
  • node >= v12 installed

Run yarn in all folders that contain a package.json

Prerequisites

  • NodeJS
  • Postgres DB (see API .env file for DB user + execute CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; on the DB server)
  • Angular cli
  • Typescript

Running

Run from command line

Run npm start in the top level folder to start the Server and Client with concurrently.

...Or to start the client and server seperately, cd into synk-api and synk-client folders and run npm start

Getting the YT namespace error in the client? Execute npm i @types/youtube in the synk-client folder.

Run with Docker

Warning: Running with Docker is not actively maintained/tested. These steps might work locally but haven't been used/run recently by the maintainer.

No need to have postgres installed when using Docker, the compose file will spin up a PostGres DB container

Install docker and also docker-compose.

Then, in this directory, run:

docker-compose -f "docker-compose.yml" up -d --build

Or use the shortcut in package.json:

npm run docker:run

Powered by

Shared tech

TypeScript Socket.io

Frontend

Angular Ant-Design made-with-Plyr

Backend

NestJS Express.js made-with-TypeORM made-with-Passport

Contributing

synk's People

Contributors

0x80085 avatar csstripper avatar dependabot[bot] avatar el-tee-e avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

gabiworld

synk's Issues

Player keeps reloading infinitely when buffering is slower than synch time

Happens mostly when (or/and):

Media quality is high
Connection is slow
Media is at end and player tries seeking to it but media buffering takes too long

Media player at times appears to reload in case it decides to synch. But in that event also losing the buffer which causes an infinite loop of reloads player, waits until ready, seeks, buffers (too long), synch happens, reloads player etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.