work on the seeding script

This commit is contained in:
idk
2020-10-11 20:19:50 -04:00
parent 83ccaa9d32
commit aba4d33fb3
7 changed files with 19 additions and 7 deletions

View File

@ -23,7 +23,7 @@ seed: index curl upload
curl:
@echo "#! /usr/bin/env bash" | tee curl.sh
@echo "rm -rfv ~/.i2p/i2psnark/idk.i2p ~/.i2p/i2psnark/idk.i2p.torrent ~/.i2p/i2psnark/idk.i2p.zip" | tee -a curl.sh
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/archive/master.zip" | tee -a curl.sh
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/releases/download/current/idk.i2p.zip" | tee -a curl.sh
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.torrent https://eyedeekay.github.io/idk.i2p.torrent" | 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
@echo "unzip ~/.i2p/i2psnark/idk.i2p.zip -d ~/.i2p/i2psnark/" | tee -a curl.sh
@ -39,7 +39,19 @@ upload-torrent:
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
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
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
current: current-release current-torrent current-zip
current-release:
gothub release -p -u eyedeekay -r eyedeekay.github.io -t "current" -n "current" -d "Site snapshot as of `date`"; true
gothub edit -p -u eyedeekay -r eyedeekay.github.io -t "current" -n "current" -d "Site snapshot as of `date`"; true
current-torrent:
gothub upload -R -u eyedeekay -r eyedeekay.github.io -t "current" -n idk.i2p.torrent -f idk.i2p.torrent
current-zip:
gothub -v upload -R -u eyedeekay -r eyedeekay.github.io -t "current" -n idk.i2p.zip -f idk.i2p.zip
up:
cp idk.i2p.torrent ~/.i2p/i2psnark/idk.i2p.torrent

View File

@ -1,6 +1,6 @@
#! /usr/bin/env bash
rm -rfv ~/.i2p/i2psnark/idk.i2p ~/.i2p/i2psnark/idk.i2p.torrent ~/.i2p/i2psnark/idk.i2p.zip
wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/archive/master.zip
wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/releases/download/current/idk.i2p.zip
wget -O ~/.i2p/i2psnark/idk.i2p.torrent https://eyedeekay.github.io/idk.i2p.torrent
unzip ~/.i2p/i2psnark/idk.i2p.zip -d ~/.i2p/i2psnark/
mv ~/.i2p/i2psnark/eyedeekay.github.io-master ~/.i2p/i2psnark/idk.i2p

Binary file not shown.

View File

@ -4,7 +4,7 @@
<title>idk's home page</title>
<link rel="stylesheet" type="text/css" href ="style.css" />
<meta http-equiv="i2p-location" content="http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p"/>
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:0646c9fffb783de9653693b1a6bd8e039f829844"/>
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:3972c842fec3e1c94305f204333fac4290a72c38"/>
</head>
<body>
<h1>idk's home page</h1>

View File

@ -4,7 +4,7 @@
<title>idk's home page</title>
<link rel="stylesheet" type="text/css" href ="style.css" />
<meta http-equiv="i2p-location" content="http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p"/>
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:0646c9fffb783de9653693b1a6bd8e039f829844"/>
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:3972c842fec3e1c94305f204333fac4290a72c38"/>
</head>
<body>
<h1>Infographics Gallery</h1>

View File

@ -4,7 +4,7 @@
<title>idk's home page</title>
<link rel="stylesheet" type="text/css" href ="style.css" />
<meta http-equiv="i2p-location" content="http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p"/>
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:0646c9fffb783de9653693b1a6bd8e039f829844"/>
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:3972c842fec3e1c94305f204333fac4290a72c38"/>
</head>
<body>
<h1>Plugin Archive</h1>

View File

@ -4,7 +4,7 @@
<title>idk's home page</title>
<link rel="stylesheet" type="text/css" href ="style.css" />
<meta http-equiv="i2p-location" content="http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p"/>
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:0646c9fffb783de9653693b1a6bd8e039f829844"/>
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:3972c842fec3e1c94305f204333fac4290a72c38"/>
</head>
<body>
<h1>Video Gallery</h1>