Your Personal Torrent Search Engine.
(It's a silent "O".)
This project was an honorable mention in the 2016 Gopher Gala.
What's with the name?
Magopie is pronounced just like "magpie" the bird. We chose the name because
magpies are known for collecting things (especially if they're shiny). We added
the "silent o" mostly for fun but also to differentiate from an existing Python
- I often want to search for some torrent but don't want to be subjected to NSFW ads that are prevalent on many torrent sites. Magopie proxies my query to multiple upstream torrent search engines and collates the results into a basic collection.
- I want to remotely start a torrent on a home server or seedbox. Magopie does
not participate in any peer-to-peer file sharing itself; it merely downloads
.torrentfile to a preconfigured directory on the server. Another program such as Transmission needs to be configured to watch that same directory for new
- I want to do all of that from my phone.
Note: we were tunneling through ngrok for the demo to work around a local networking problem.
- Android client using Go bindings via gomobile.
.torrentfiles are saved to disk through an afero filesystem interface providing for future extensibility to other remote afero implementations.
- Torrents are gathered by parsing Kick Ass Torrents XML feeds and by scraping the search page of The Pirate Bay using goquery.
- Searches against upstream sites are performed concurrently.
- Serve magopie over TLS with automatic integration with Let's Encrypt.
- Improve/replace the authentication mechanism.
- Create an iOS app using the gomobile bindings.
Go dependencies are vendored under
vendor/. If you need to add or update a
dep you should use the govendor tool.
Development currently targets Go version 1.6 but will probably work on 1.5 with the vendor experiment enabled.
To work on the Android app do the following:
- Install gomobile.
- Install Android Studio and SDK level 22.
- Connect a device and ensure you can see it with
- In Android Studio set your
GOPATH. First open the settings dialog at
Android Studio > Preferenceson Mac OS X or under
File > Settingson Linux and Windows. From there go to
Build, Execution, Deployment > Path Variablesand add the variable
GOPATHthat points to your normal
- Open the project
- Run the
Magopie is licensed with the MIT license.
Margo, the Magopie mascot, is a derivative work of the Go gopher, and thus, is licensed under the Creative Commons 3.0 Attributions license.
The Go gopher was designed by Renee French. http://reneefrench.blogspot.com/ The design is licensed under the Creative Commons 3.0 Attributions license. Read this article for more details: https://blog.golang.org/gopher