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

github.com/Go-phie/mythra @v2.1.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.6 ↗ · + Follow
44 symbols 86 edges 9 files 3 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mythra

mythra

Build Type Status
Web API Deploy status
Build and Test Test status
Documentation Docs status
Releases Release status

In my bid to learn rust I am trying to make a music web scraper

In order to use either the ncurses or the pancurses backend of a dependent library cursive, you will need the ncurses library installed on your system.

Archlinux

pacman -S ncurses

Ubuntu

apt-get install libncursesw5-dev libssl-dev

Fedora

yum install ncurses-devel openssl-devel

macOS

brew install ncurses

Engines

  • MyFreeMP3
  • MP3S

Installation

With Rust installed

You must have chromedriver available on path and running on port 4444

git clone https://github.com/deven96/mythra.git
chromedriver --port=4444 --headless

# develop

cargo update
cargo run

#run the pakage
./target/debug/mythra search --query "Justin Timberlake Mirrors"

Or download from Github Releases

Example

Mythra example

Deployment

The deployed API version from mythra api is available. Please read the API documentation for usage

Roadmap

View Roadmap discussion

License

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

Credits

Library/Resource Use
Stoplight Generating API docs
Fantoccini Scraping javascript sites using chromedriver/geckodriver

Extension points exported contracts — how you extend this code

EngineTraits (Interface)
(no doc) [3 implementers]
src/types.rs

Core symbols most depended-on inside this repo

get_element_attribute
called by 9
src/utils.rs
get
called by 5
src/utils.rs
clear_cache
called by 3
src/utils.rs
configure_log
called by 3
src/utils.rs
create_or_retrieve
called by 3
src/utils.rs
get_engine
called by 3
src/engines/mod.rs
append_frag
called by 2
src/download.rs
search
called by 2
src/engines/mp3s.rs

Shape

Function 26
Method 9
Class 7
Enum 1
Interface 1

Languages

Rust100%

Modules by API surface

src/utils.rs13 symbols
src/download.rs7 symbols
src/types.rs6 symbols
src/engines/myfreemp3.rs4 symbols
src/engines/mod.rs4 symbols
src/engines/mp3s.rs3 symbols
src/engines/mp3direct.rs3 symbols
src/api.rs3 symbols
src/main.rs1 symbols

For agents

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

⬇ download graph artifact