GithubHelp home page GithubHelp logo

niketsu's Introduction

niketsu

Refer to https://sevenautumns.github.io/niketsu for news, downloads, and more documentation wink wink

Build Server Action Card Build Client Action Card Check Action Card Nightly Tag Card Rust Report Card Go Report Card Coverage Status License

Naive video synchronization between multiple clients of mpv.

Install

There are various ways of installing niketsu.

Precompiled binaries

Precompiled binaries for released versions are available in the releases section or on our web page. Using the latest production release binary is the recommended way of installing niketsu. Since the releases are still not stable, who knows if the maintainers make updates backward compatible. My best guess is, updates will break everything wink wink. Make sure to install the respective client and server versions.

From source

See Wiki page for more information on building from source.

Website

For more information, check out: https://sevenautumns.github.io/niketsu

License

Apache License 2.0, see LICENSE.

niketsu's People

Contributors

kirschluft avatar sevenautumns avatar

Watchers

 avatar  avatar

niketsu's Issues

Send index instead of filename

In the communication of server and client, the index should be sent instead of a filename to make it easier to find the video to be played.

Ratatui: Fix Bugs & Add Quality of Life

  • FuzzySearch and Paste should both insert videos below the cursor
  • Ready button does not display the player state
  • Fix Media Path Deletion
  • Fix Overlay Sizes
  • Make Login Cursors invisible (if not selected)
  • Fix help page
  • Make Chat scrollable, add page up, page down
  • Add page up, page down for playlist
  • Delete line breaks to video names (fuzzy search, playlist)
  • Fix FuzzySearch scroll down when writing
  • Add stronger filter for FuzzySearch results
  • Add copy paste RawDisplayHandle?

move config logic to core

move the config from the ui to the core.
also include relevant config information into the UiModel

Add Reason to Messages

This is especially important for messages from the server to the client, so the client knows why a message was send.

Example:
seek from a person

  • was it send because the person seeked?
  • was it send because this person is too far behind

Login Authentication

When login data is incorrect, the start GUI should indicate an error instead of changing to the video GUI.

Rewrite Server Worker

The worker of each client should contain three goroutines: reading, writing and parsing/handling messages

Flying Ascii Art

Add Ascii Art that flys on the MPV window when no video is playing

Allow file sharing for home videos

Files can be distributed over http and mpv can accept a http url as a video source.
Hence, the niketsu server could maintain a cache of a predefined maximum size and ask clients with the video source available for byte slices of this file. This file could then be served via an endpoint (password protected) which can be used by mpv directly for "streaming" from it.

Problems:

  • only one client can provide this file, even if multiple clients have it available, because the file could still be different (checksum)
  • if the providing client disconnects, requiring clients need to reload the file if another client takes over and the file is different (checksum)

Split `Seek` into multiple message

Split seek into:

  • seek (position change only)
  • speed
  • pause/play
  • select

Include all of the above into the select message.
This can be useful when a client joins (receives a select message)

steps:

  1. delete seek options
  2. add select with position
  3. Add cache + file loaded flag to PlayerStatus message

Rework Logging

Right now the logging strategy is incompatible with ratatui

Support for Client catch up (Ketchup)

Ketchup is a feature where the time difference between clients is a tad more loose and each client has the opportunity to catch up to the others by very slightly increasing or decreasing their playback speeds.

Integrated File Browser

Use indexed files for a simple file browser.
This can be used with the modification date of the file for selecting new files quickly

Rework Config

Add more arguments instead of or additionally to the config file

Update Deploy

[secure]
[latest]
6969
9696
42069

[stable]
7766-7777

[insecure]
[latest]
2222

[stable]
3333
4444

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.