Skip to content
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.
/ magnetizer-api Public archive

πŸ”— Convert direct links to torrents into magnet links

License

Notifications You must be signed in to change notification settings

matchai/magnetizer-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


Magnetizer

API - Converts direct links to torrents into magnet links

Install

$ npm install
$ npm start

A local instance of magnetizer will be running at http://localhost:8080.

API

GET /:url

Returns the magnet URI and data for a torrent

Parameters
  • url – The full URL (including protocol) to a torrent file.
Return format
  • magnetURI – The complete magnetURI of the torrent file.
  • torrentData – The torrent data attainable from the torrent header.
    • name – Name as specified by the torrent creator.
    • created – The date the torrent was created in ISO 8601 format.
    • comment – Comment as specified by the torrent creator.
    • infoHash – The SHA1 hash sums of the torrent's meta files.
    • announce – An array of URLs of all tracker announces for the torrent.
    • files – An array containing all files and their paths in the torrent.

License

MIT Β© Matan Kushner

About

πŸ”— Convert direct links to torrents into magnet links

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published