Coder Social home page Coder Social logo

m1ndo / tokyo Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 2.0 1.34 MB

Media Streaming App Written in Go Supports stremio and Auto Deploy To Tor

License: GNU Affero General Public License v3.0

Go 60.02% CSS 26.35% HTML 11.15% JavaScript 2.48%
onion-service stream tor videos livestream live-streaming media media-player stremio streaming

tokyo's Introduction

TokYo

TokYo is a pretty fast streaming app, that went from simple to even more simple. It supports multiple formats and is pretty customizable and can be private.

Features.

  • Supports Formats [mp4, mp3, ogg, opus webm flac m4a m4r acc wav]
  • Middleware and login authentication via email checking with the option to seperate between Public and Private videos. Passwords are encrypted with bcrypt(10c) and stored in sqlitedb.
  • Has a 90s design (Desktop And Mobile)
  • Metadata auto extraction via tag
  • Options Create multiple playlists and prefixes.
  • Can deploy itself to the onion service
  • Integration to stream from Stremio
  • Auto file detection (adds and removes files automatically)
  • Written in go and with goroutines (Pretty Fast)
  • Plus other features i forgot to document (Documentation coming soon).

Installation.

Prebinaries (coming soon)

Manual.

git clone https://github.com/m1ndo/TokYo
export GO111MODULE=on
go build .
go build cmd/tokyo-sql/tokyo-sql.go
# OR
go get github.com/m1ndo/TokYo@latest  # Needs assets files to work, this method will be fixed later.
go get github.com/m1ndo/TokYo/cmd/tokyo-sql@latest

Running

./TokYo
# OR
./TokYo -host 192.168.1.110 -port 9001 # Plus other args see -help for full list

Customization

Edit config.json to create playlists and folders. Add your videos to videos folder.

{
    "path": "videos/Public/",
    "prefix": "PublicVideos",
    "private": false
},

Add/delete/show users.

Simply by creating an account in /signup admin users or normal users can be created using tokyo-sql.

./tokyo-sql -action add -user user123 -pass pass123
# OR
./tokyo-sql -action add -user user123 -pass pass123 -email [email protected]
# Set as admin
./tokyo-sql -action add -user user123 -pass pass123 -admin
# View All users
./tokyo-sql -show

Screenshots

License

AGPL3

tokyo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.