Skip to content

igorcafe/anyflix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anyflix

[WIP] A self-hosted streaming application for public domain movies and tv shows.

photo_2023-12-31_17-06-20

Running

Required: Go +1.21, web browser

Optional: MPV

1. Install the dependencies

It varies by system, so please do your own research.

2. Install anyflix using go install

go install https://github.com/igoracmelo/anyflix@b00cecf
# I don't recommend using @latest because it is usually outdated

3. Run the application

$(go env GOPATH)/bin/anyflix

Which is usually equivalent to

~/go/bin/anyflix

Or even better if ~/go/bin/ is in your PATH

anyflix

4. Open your browser and visit http://localhost:3000

Known issues

Some audio and video codecs are not supported on browsers, but most will work on MPV. I'm trying to find a way to transcode it "on demand" without needing HLS or similar solutions, but I think I will end up needing it, or just giving up on supporting these codecs and force you to use MPV.

TODO

  • stream torrent video using HTTP range requests
  • play video on MPV
  • Movies
    • Get specific movie info
    • List popular movies
    • Search movies
    • Find torrents for a specific movie
    • Guess resolution
    • Movie details (ratings, casting, original title, original language, trailer, duration)
  • Page: choose watch option (browser / mpv / copy link)
  • Series: list episodes
  • Include embeded subtitles in web player
  • Include embeded audio tracks in web player
  • Replace mpv executable with libmpv
  • Embed pages on binary
  • Embed all web assets on binary
  • Choose prefered language for content
  • Previous page button
  • Content page responsivity
  • Offline
    • Favorite shows
    • Favorite movies

About

Self-hosted streaming app using BitTorrent and TMDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages