Merge pull request #63 from eyedeekay/gh-pages

Add a magnet link
This commit is contained in:
idk
2020-01-04 18:12:58 +00:00
committed by GitHub
3 changed files with 9 additions and 1 deletions

View File

@@ -64,6 +64,8 @@ amo-readme:
sed 's|</h3>|</strong>|g' | \
grep -v '<img' > amo-index.html
MAGNET=`torrent2magnet i2ppb@eyedeekay.github.io.xpi.torrent`
index:
@echo "<!DOCTYPE html>" > index.html
@echo "<html>" >> index.html
@@ -71,7 +73,9 @@ index:
@echo " <title>I2P in Private Browsing Mode</title>" >> index.html
@echo " <link rel=\"stylesheet\" type=\"text/css\" href =\"home.css\" />" >> index.html
@echo "</head>" >> index.html
markdown README.md >> index.html
@echo "<body>" >> index.html
sed "s|magnetsub|[Magnet Link]($(MAGNET))|g" README.md | markdown >> index.html
@echo "</body>" >> index.html
@echo "</html>" >> index.html

View File

@@ -36,6 +36,7 @@ Bittorrent Download:
The self-hosted plugin is available from I2P both within the I2P and Clearnet
Bittorrent network.
* magnetsub
* [Get the .torrent file](./i2ppb@eyedeekay.github.io.xpi.torrent)
Usage:

View File

@@ -4,6 +4,7 @@
<title>I2P in Private Browsing Mode</title>
<link rel="stylesheet" type="text/css" href ="home.css" />
</head>
<body>
<h1>I2P in Private Browsing Mode(Firefox-Only)</h1>
<p>This is an <strong>Experimental</strong> webextension which introduces a set of new "Private
@@ -41,6 +42,7 @@ command:</p>
Bittorrent network.</p>
<ul>
<li><a href="magnet:?xt=urn:btih:dc04e13d4697f68fe14975707015a45ed4a7d8e7">Magnet Link</a></li>
<li><a href="./i2ppb@eyedeekay.github.io.xpi.torrent">Get the .torrent file</a></li>
</ul>
@@ -210,4 +212,5 @@ for updates, you can download the identical plugin from this repository's
releases page. The latest AMO Plugin will always be identical to the latest
github release, except for the version number, which must be incremented for
submission to AMO.</p>
</body>
</html>