{"repo":"schardev/torrent-metadata","free":true,"listed":false,"github":"https://github.com/schardev/torrent-metadata","clone":"git clone https://github.com/schardev/torrent-metadata.git","description":"Web app to extract metadata from .torrent file, magnet URI or info hash.","language":"TypeScript","stars":48,"topics":["express","nextjs","torrent","webtorrent"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Torrent Metadata A simple web app to extract metadata from .torrent file, magnet URI or torrent info hash. Getting Started Server To run it locally simply install all dependencies and run pnpm dev . Also, make sure you run server on proper port or adjust the API URL on client side. The server is now running on localhost:3000 and can respond with queries. Using the API Querying with magnet URI or info hash: You can also send the query as application/x-www-form-urlencoded or as multipart/form-data (so you don't have to think about your JSON's format): Querying with .torrent file: After successfully querying, it'll send a Response . If there is an error it'll respond with an error field that has the error message and the query for which the request has failed (if a file was sent then the query field contains the filename), for example: Endpoints Public API Endpoint: https://torrentmeta.fly.dev Endpoint Method Notes -------- ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- / GET Redirects to process.env.SITE URL if present, else returns { status: \"ok\" } . /ping GET To check if the server is properly responding. Returns { pong: } / POST Takes a query parameter that should either contain a magnet URI or torrent info hash. If no query , also takes a torrent file parameter that should be a properly form encoded .torrent file. Respo","default_branch":null,"files":null,"tree":[],"storefront":"/r/schardev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/schardev/torrent-metadata/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}