I'm working to create a file sharing platform for open source software in Python.
The issue I'm hitting is how would I generate a magnet link (for storing in a database) from a directory? For example, I want to share dir /home/SHAREME. I know libtorrent has bindings for Python but no mention of creating a Magnet URI directly.
In addition, is it possible to "encode" Web Seeds into a Magnet URI? (http://www.rasterbar.com/products/libtorrent/manual.html#http-seeding)
I may be explaining this the wrong way but the use case is: 1. Call a function to create a Torrent Magnet URI for a folder 2. Insert the Magnet URI into a Database 3. Clients GET from DB and use Magnet URI to start downloading, using Web Seed