Global Feed Post Login
Replying to Avatar Sirius

HIM parody by my friends. Love metal is not dead. Tune in by opening this note on iris.to.

magnet:?xt=urn:btih:46f31cba6885267048cea035eb39cce707bf49e6&dn=him&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com

Avatar
fiatjaf 2y ago

#[1] is it possible for https://github.com/mikedilger/gossip to recognize these magnets and render them as clickable links?

Reply to this note

Please Login to reply.

Discussion

Avatar
Andrew 2y ago

If it helps, the main logic for utilizing webtorrent and generating the preview looks to be here, and other parts of the repo I'm sure.

https://github.com/irislib/iris-messenger/blob/e83adadf7e994ebce9b32a521301b53a11bbee30/src/js/components/Torrent.js

https://github.com/irislib/iris-messenger/blob/e83adadf7e994ebce9b32a521301b53a11bbee30/src/js/Helpers.tsx

Thread collapsed