Opened 21 months ago

Last modified 21 months ago

#2100 open enhancement

Allow I2PSnark to serve as a protocol handler for torrent/magnet files

Reported by: Reportage Owned by: zzz
Priority: trivial Milestone: undecided
Component: apps/i2psnark Version: 0.9.32
Keywords: i2psnark, protocol handler, UX Cc:
Parent Tickets: Sensitive: no

Description

With a modification to the Add torrent URL field in I2PSnark, it should be easy to allow I2PSnark to act as a possible handler for torrent and magnet links.

See:

Subtickets

Change History (2)

comment:1 Changed 21 months ago by zzz

Status: newopen

Related to proposal 139
http://i2p-projekt.i2p/spec/proposals/139-i2p-mime-types

currently stalled, see discussion, including talk of registering handlers
http://zzz.i2p/topics/1957

comment:2 Changed 21 months ago by zzz

A web handler could possibly POST to the UI. There is nonce protection on the form that would have to be dealt with.

A shell script that acts on the .torrent mime type as defined in proposal 139 would have to copy the torrent file to the i2psnark directory. Snark would pick it up in a minute, or if we implement the directory notification API (I have some old code somewhere to do that) it would be immediate.

Maybe the two cases aren't very related after all…

Note: See TracTickets for help on using tickets.