2017-11-26 03:30:23 -05:00
dummy :
2020-09-25 16:11:19 -04:00
@echo 'type make all then make index then push to ghp'
2020-10-08 20:56:41 -04:00
all : clean index torrent up
2020-09-25 16:11:19 -04:00
clean :
2020-10-07 01:06:37 -04:00
rm -rf idk.i2p .torrent idk.i2p.torrent ~/.i2p/i2psnark/idk.i2p ~/.i2p/i2psnark/idk.i2p.torrent tmp
2020-09-25 23:00:49 -04:00
mkdir -p idk.i2p
2020-09-25 16:11:19 -04:00
torrent :
2020-10-11 17:56:52 -04:00
cp -v *.* idk.i2p; true; cp -rv images idk.i2p/images; cp -rv video idk.i2p/video; cp -rv plugins idk.i2p/plugins && cp -rv .git idk.i2p/.git && rm -f idk.i2p/idk.i2p.torrent idk.i2p/idk.i2p.zip
2020-10-11 03:58:15 -04:00
mktorrent -a 'http://w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p/a' \
-a 'http://uajd4nctepxpac4c4bdyrdw7qvja2a5u3x25otfhkptcjgd53ioq.b32.i2p/announce' \
-a 'http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p/a' \
-a 'http://432m3mpxomy2bqccjmjru7gfeicockx7un5eni5i5uqxgakcvq6a.b32.i2p/a' \
-a 'http://niat6zw3p5wl473256bottv3kaybodhum2omlt3bl42oiirwf5xa.b32.i2p/a' \
-n 'idk.i2p' -w 'http://idk.i2p' -w 'http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p' -o idk.i2p.torrent idk.i2p
2020-10-11 17:54:28 -04:00
rm -rf ~/.i2p/i2psnark/idk.i2p ~/.i2p/i2psnark/idk.i2p.torrent
2020-09-25 16:11:19 -04:00
2020-10-11 04:42:14 -04:00
seed : index curl upload
curl :
2020-10-11 03:58:15 -04:00
@echo "#! /usr/bin/env bash" | tee curl.sh
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.torrent https://eyedeekay.github.io/idk.i2p.torrent" | tee -a curl.sh
2020-10-11 16:40:52 -04:00
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/archive/`torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g'`.magnet.zip" | tee -a curl.sh
#@echo "wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/releases/download/`torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g'`.magnet/idk.i2p.zip" | tee -a curl.sh
2020-10-11 17:42:36 -04:00
@echo "unzip -j ~/.i2p/i2psnark/idk.i2p.zip -d ~/.i2p/i2psnark/idk.i2p" | tee -a curl.sh
2020-10-11 04:42:14 -04:00
zip -r idk.i2p.zip idk.i2p
2020-10-11 16:40:52 -04:00
upload : upload -release upload -torrent upload -zip
upload-release :
2020-10-11 04:42:14 -04:00
gothub release -p -u eyedeekay -r eyedeekay.github.io -t ` torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g' ` .magnet -n "`torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g'`" .magnet -d "Site snapshot as of `date`"
2020-10-11 16:40:52 -04:00
upload-torrent :
2020-10-11 04:42:14 -04:00
gothub upload -R -u eyedeekay -r eyedeekay.github.io -t ` torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g' ` .magnet -n idk.i2p.torrent -f idk.i2p.torrent
2020-10-11 16:40:52 -04:00
upload-zip :
#gothub -v upload -R -u eyedeekay -r eyedeekay.github.io -t `torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g'`.magnet -n idk.i2p.zip -f idk.i2p.zip
2020-10-11 03:58:15 -04:00
2020-09-25 16:11:19 -04:00
up :
2020-10-07 01:06:37 -04:00
cp idk.i2p.torrent ~/.i2p/i2psnark/idk.i2p.torrent
2020-10-07 09:49:37 -04:00
cp -rv ./idk.i2p ~/.i2p/i2psnark/idk.i2p
2017-11-26 03:30:23 -05:00
2020-01-06 19:40:49 -05:00
README :
cat yTop.md ySidebar.md zBlog.md | tee README.md
2020-10-11 03:58:15 -04:00
plug :
@echo "<!DOCTYPE html>" > plugins.html
@echo "<html>" >> plugins.html
@echo "<head>" >> plugins.html
@echo " <title>idk's home page</title>" >> plugins.html
@echo " <link rel=\"stylesheet\" type=\"text/css\" href =\"style.css\" />" >> plugins.html
@echo " <meta http-equiv=\"i2p-location\" content=\"http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p\"/>" >> plugins.html
@echo " <meta http-equiv=\"i2p-torrentlocation\" content=\"" ` torrent2magnet idk.i2p.torrent` "\"/>" >> plugins.html
@echo "</head>" >> plugins.html
@echo "<body>" >> plugins.html
sed " s|magnetsub|[Magnet Link]( $( magnet) )|g " plugins.md | \
sed 's|https://github.com/eyedeekay/various-i2p-browsers/tree/master||g' | \
markdown | tee -a plugins.html
@echo " <script src=\"script.js\" type=\"text/javascript\"></script>" >> plugins.html
@echo "</body>" >> plugins.html
@echo "</html>" >> plugins.html
2020-10-07 09:49:37 -04:00
info :
@echo "<!DOCTYPE html>" > infographics.html
@echo "<html>" >> infographics.html
@echo "<head>" >> infographics.html
@echo " <title>idk's home page</title>" >> infographics.html
@echo " <link rel=\"stylesheet\" type=\"text/css\" href =\"style.css\" />" >> infographics.html
@echo " <meta http-equiv=\"i2p-location\" content=\"http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p\"/>" >> infographics.html
@echo " <meta http-equiv=\"i2p-torrentlocation\" content=\"" ` torrent2magnet idk.i2p.torrent` "\"/>" >> infographics.html
@echo "</head>" >> infographics.html
@echo "<body>" >> infographics.html
sed " s|magnetsub|[Magnet Link]( $( magnet) )|g " infographics.md | \
sed 's|https://github.com/eyedeekay/various-i2p-browsers/tree/master||g' | \
markdown | tee -a infographics.html
@echo " <script src=\"script.js\" type=\"text/javascript\"></script>" >> infographics.html
@echo "</body>" >> infographics.html
@echo "</html>" >> infographics.html
2020-10-08 20:43:58 -04:00
vid :
@echo "<!DOCTYPE html>" > video.html
@echo "<html>" >> video.html
@echo "<head>" >> video.html
@echo " <title>idk's home page</title>" >> video.html
@echo " <link rel=\"stylesheet\" type=\"text/css\" href =\"style.css\" />" >> video.html
@echo " <meta http-equiv=\"i2p-location\" content=\"http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p\"/>" >> video.html
@echo " <meta http-equiv=\"i2p-torrentlocation\" content=\"" ` torrent2magnet idk.i2p.torrent` "\"/>" >> video.html
@echo "</head>" >> video.html
@echo "<body>" >> video.html
sed " s|magnetsub|[Magnet Link]( $( magnet) )|g " videos.md | \
sed 's|https://github.com/eyedeekay/various-i2p-browsers/tree/master||g' | \
markdown | tee -a video.html
@echo "<ul><li>" >> video.html
./videotag.sh video/torontotalk.webm >> video.html
@echo "</li><li>" >> video.html
./videotag.sh video/monerotalk.mp4 >> video.html
@echo "</li></ul>" >> video.html
@echo " <script src=\"script.js\" type=\"text/javascript\"></script>" >> video.html
@echo "</body>" >> video.html
@echo "</html>" >> video.html
2020-09-25 16:11:19 -04:00
mag :
2020-10-07 01:06:37 -04:00
@echo ` torrent2magnet idk.i2p.torrent`
2020-10-11 04:42:14 -04:00
@echo ` torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g' `
2020-09-25 16:11:19 -04:00
2020-10-11 17:54:28 -04:00
index : README info vid plug curl
2020-01-06 19:40:49 -05:00
@echo "<!DOCTYPE html>" > index.html
@echo "<html>" >> index.html
@echo "<head>" >> index.html
2020-01-06 19:42:38 -05:00
@echo " <title>idk's home page</title>" >> index.html
2020-01-06 19:40:49 -05:00
@echo " <link rel=\"stylesheet\" type=\"text/css\" href =\"style.css\" />" >> index.html
2020-09-24 20:12:17 -04:00
@echo " <meta http-equiv=\"i2p-location\" content=\"http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p\"/>" >> index.html
2020-10-07 01:06:37 -04:00
@echo " <meta http-equiv=\"i2p-torrentlocation\" content=\"" ` torrent2magnet idk.i2p.torrent` "\"/>" >> index.html
2020-01-06 19:40:49 -05:00
@echo "</head>" >> index.html
@echo "<body>" >> index.html
2020-09-25 16:11:19 -04:00
sed " s|magnetsub|[Magnet Link]( $( magnet) )|g " README.md | \
2020-01-28 22:10:36 -05:00
sed 's|https://github.com/eyedeekay/various-i2p-browsers/tree/master||g' | \
markdown | tee -a index.html
@echo " <script src=\"script.js\" type=\"text/javascript\"></script>" >> index.html
2020-01-06 19:40:49 -05:00
@echo "</body>" >> index.html
2020-01-28 11:26:12 -05:00
@echo "</html>" >> index.html