All Projects → ungoldman → magnet-link

ungoldman / magnet-link

Licence: other
DEPRECATED: Get a magnet link from a torrent file.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to magnet-link

Magnetx
资源搜索型软件 macOS OSX magnet
Stars: ✭ 1,819 (+2698.46%)
Mutual labels:  torrent, magnet-link, link, magnet
Lenz
Console based MAP 🗺 : with lots of features 🤩
Stars: ✭ 51 (-21.54%)
Mutual labels:  torrent, magnet-link, magnet
Aria2.sh
Aria2 一键安装管理脚本 增强版
Stars: ✭ 1,276 (+1863.08%)
Mutual labels:  torrent, magnet-link, magnet
Bt
BitTorrent library and client with DHT, magnet links, encryption and more
Stars: ✭ 2,011 (+2993.85%)
Mutual labels:  torrent, magnet-link, magnet
Gmdb
GMDB is the ultra-simple, cross-platform Movie Library with Features (Search, Take Note, Watch Later, Like, Import, Learn, Instantly Torrent Magnet Watch)
Stars: ✭ 189 (+190.77%)
Mutual labels:  torrent, magnet-link, magnet
Animetrackerlist
动漫磁性链接加速方案(animeTrackerList)
Stars: ✭ 572 (+780%)
Mutual labels:  torrent, magnet-link, magnet
Moviemagnetbot
🤖 telegram bot for movies
Stars: ✭ 39 (-40%)
Mutual labels:  torrent, magnet-link, magnet
torrent-spider
基于DHT的p2p网络资源爬虫
Stars: ✭ 65 (+0%)
Mutual labels:  torrent, magnet-link, magnet
Snail
基于Java、JavaFX开发的下载工具,支持下载协议:BT(BitTorrent、磁力链接、种子文件)、HLS(M3U8)、FTP、HTTP。人家才不要你的⭐⭐呢,哼
Stars: ✭ 102 (+56.92%)
Mutual labels:  torrent, magnet
Magnet And Torrent Search Engine
磁力链接和 BT 种子的搜索引擎
Stars: ✭ 154 (+136.92%)
Mutual labels:  torrent, magnet
Put.io Adder
OS X put.io client that acts as handler for magnet: links and .torrent files, and adds them to your put.io download queue
Stars: ✭ 172 (+164.62%)
Mutual labels:  torrent, magnet
Ssbc
手撕包菜网站
Stars: ✭ 1,382 (+2026.15%)
Mutual labels:  torrent, magnet
Minithunder
android迷你版迅雷,支持thunder:// ftp:// http:// ed2k:// 磁力链 种子文件的下载,音视频文件支持边下边播.
Stars: ✭ 254 (+290.77%)
Mutual labels:  torrent, magnet
Rdcli
The simple way to download and unrestrict DDL files, torrents and magnets
Stars: ✭ 75 (+15.38%)
Mutual labels:  torrent, magnet
Magnet Uri
Parse a magnet URI and return an object of keys/values
Stars: ✭ 183 (+181.54%)
Mutual labels:  torrent, magnet-link
URL-Magnet-Cloud-Uploader-Heroku
Aria 2 Rclone Remote URL /magnet Clouds upload via HEROKU
Stars: ✭ 99 (+52.31%)
Mutual labels:  torrent, magnet
torrent-hound
Search torrents from multiple websites via the CLI
Stars: ✭ 28 (-56.92%)
Mutual labels:  torrent, magnet-link
m2t
Magnet links to torrent files
Stars: ✭ 18 (-72.31%)
Mutual labels:  torrent, magnet
torrent-dl
Streaming Torrent Client for Python
Stars: ✭ 28 (-56.92%)
Mutual labels:  torrent, magnet
Nyaapi
Non-official api to access Nyaa.si and Nyaa.pantsu.cat (search, upload,...)
Stars: ✭ 56 (-13.85%)
Mutual labels:  torrent, magnet-link

magnet-link

DEPRECATED: this project is no longer maintained

Get a magnet link from a torrent file.

npm travis standard downloads

Read more about the magnet URI scheme at the magnet-uri project website.

Install

npm install magnet-link

Usage

Node

var magnetLink = require('magnet-link')

magnetLink('http://my-server.com/file.torrent', function (err, link) {
  if (err) throw err
  console.log(link)
  // you got a magnet link from a remote torrent file
})

magnetLink('mydir/file.torrent', function (err, link) {
  if (err) throw err
  console.log(link)
  // you got a magnet link from a local torrent file
})

The result is a string that looks like this.

magnet:?xt=urn:btih:[torrent-info-hash]

CLI

There is also a command-line interface available if you install it with -g.

npm install -g magnet-link

This installs a program called magnet-link that you simply pass a torrent file or url.

magnet-link http://my-server.com/file.torrent

This will print the magnet link to the terminal.

Pipes

You can also pipe the contents of a torrent file to magnet-link:

cat file.torrent | magnet-link
magnet-link < file.torrent

This way it can be paired with create-torrent:

create-torrent . | magnet-link

Contributing

Contributions welcome! Please read the contributing guidelines before getting started.

License

ISC

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].