MCPcopy Index your code
hub / github.com/Go-phie/gophie

github.com/Go-phie/gophie @v0.38

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.38 ↗ · + Follow
153 symbols 378 edges 32 files 84 documented · 55% updated 3y agov0.38 · 2021-01-24★ 3287 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Gophie

Documentation Go Report Card Build Status

Gophie

Search, stream and download movies without having to bump into ads. Feel free to add any new movie sites

What is Gophie

Gophie is a tool to help you search, stream and download movies from movie sites without going through all the stress of by-passing ads. Currently, the following sites are actively supported:

Movies

  • NetNaija
  • FzMovies
  • BestHD
  • CoolMoviez

Series

  • TvSeries

Anime

  • AnimeOut
  • Takanimelist

Korean

  • KDramaHood

Gophie also has mobile and web clients.

Installation

With Golang installed

go get -u github.com/go-phie/gophie

Or download from Github Releases

Usage

CLI

gophie

Demo

>>> gophie
Gophie

Usage:
  gophie [command]

Available Commands:
  api         host gophie as an API on a PORT env variable, fallback to set argument
  clear-cache Clears the Gophie Cache
  engines     Show summary and list of available engines
  help        Help about any command
  list        lists the recent movies by page number
  resume      resume downloads for previously stopped movies
  search      search for a movie
  stream      Stream a video from gophie
  version     Get Gophie Version

Flags:
  -c, --cache-dir string      The directory to store/lookup cache
  -e, --engine string         The Engine to use for querying and downloading (default "netnaija")
  -h, --help                  help for gophie
  -o, --output-dir string     Path to download files to
  -s, --selenium-url string   The URL of selenium instance to use
  -v, --verbose               Display Verbose logs

Use "gophie [command] --help" for more information about a command.

Gophie - Bisoncorp (2020) (https://github.com/go-phie/gophie)

For Development use go run main.go [command]

Deployment

Tagging

To create a new tag, use the make file

make upgrade version=0.x.x

The deployed API version from gophie api is available on Heroku. Please read the API documentation for usage

License

This project is opened under the GNU AGPLv3 which allows very broad use for both academic and commercial purposes.

Credits

Library/Resource Use
github.com/gocolly/colly scraping the net for links
github.com/manifoldco/promptui interactive CLI
github.com/spf13/cobra CLI interface
github.com/iawia002/annie Downloader (resume capabilities)
Stoplight Generating API docs

Extension points exported contracts — how you extend this code

Engine (Interface)
Engine : interface for all engines
engine/engines.go

Core symbols most depended-on inside this repo

String
called by 62
engine/engines.go
getMovieIndexFromCtx
called by 29
engine/engines.go
Scrape
called by 18
engine/engines.go
GetEngine
called by 7
engine/engines.go
Titles
called by 5
engine/engines.go
SelectOpts
called by 5
cmd/utils.go
searchPager
called by 5
cmd/search.go
DownloadMovie
called by 4
downloader/downloader.go

Shape

Method 75
Function 57
Struct 18
FuncType 1
Interface 1
TypeAlias 1

Languages

Go100%

Modules by API surface

engine/engines.go24 symbols
cmd/api.go11 symbols
engine/takanimelist.go9 symbols
engine/tvseries.go8 symbols
engine/netnaija.go8 symbols
engine/mycoolmoviez.go8 symbols
engine/kdramahood.go8 symbols
engine/fzmovies.go8 symbols
engine/coolmoviez.go8 symbols
engine/besthdmovies.go8 symbols
engine/animeout.go8 symbols
transport/chromedp.go6 symbols

For agents

$ claude mcp add gophie \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact