[login to view URL] allows for the creation, seeding and downloaded directly in the browser using WebRTC. The example app built on top of is [login to view URL] and works as such:
1) turns a local file into a webtoreent
2) seeds the file from the browser
3) allows you to download the webtorrent from a different browser
I need a JS that I can provide with a path to local files that turns them into webtorrents and starts seeding them immediately. I need to have the possibility of adding new files and removing the seeding of files. When torrents are created, I need to able to send that data to a database. I would prefer for the code to be written in js to run on a server, so no browser.