Note
This project is still in development.
A textual-based application for browsing and searching movies from YTS.
For a local installation, you can build a standalone binary from the source code. This requires make to be installed on your system.
-
Clone and Enter the Repository:
git clone https://github.com/tuffgniuz/magneto.git cd magneto -
Build and Install: Run the following command to build the binary and install it to
~/.local/bin:make install
This command will automatically handle dependency installation, bundling, and copying the executable to the correct path.
-
Run the Application: Once installed, you can run the application from anywhere in your terminal:
magneto
Important
Ensure that ~/.local/bin is in your system's PATH to run magneto globally.
For Bash and Zsh:
Add this line to your ~/.bashrc or ~/.zshrc:
export PATH="$HOME/.local/bin:$PATH"For Fish: Run this command in your terminal:
fish_add_path ~/.local/binTo run the application in a development environment:
-
Install Dependencies:
poetry install
-
Run the App:
poetry run magneto
/: Search for moviesc: Clear search resultst: Show available torrents for the selected movieup/down(ork/j): Navigate the movie listq: Quit the application
enter: Submit searchescape: Cancel and close search modal
d: Download the selected torrent (opens magnet link in default client)escape: Close the torrent modal