Difference between revisions of "Archives"

From The Alternative Power Network
Jump to navigation Jump to search
(Created page with "A lot of the information from AltPwr at SHA2017 has disappeared from the web. However, parts of it can be found in the WayBack machine and can be restored, even though parts o...")
 
(dcgrid hackpad archive)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
== AltPwr Website ==
 
== AltPwr Website ==
 
The original AltPwr website was lost. Parts of it can be found in the [https://web.archive.org/web/*/ALTPWR.NET WayBack Machine].
 
The original AltPwr website was lost. Parts of it can be found in the [https://web.archive.org/web/*/ALTPWR.NET WayBack Machine].
* [[User:Tiefpunkt|tiefpunkt]] took the time to rebuild parts of it. You can find his version at http://altpwr-archive.tiefpunkt.com/
+
* [[User:Tiefpunkt|tiefpunkt]] took the time to rebuild parts of it. You can find his version at http://altpwr.archive.tiefpunkt.com/
 
* [[User:Benadski|Benadski]] documented some things he remembered here: [[The old website]]
 
* [[User:Benadski|Benadski]] documented some things he remembered here: [[The old website]]
  
Line 10: Line 10:
 
* [[User:Tiefpunkt|tiefpunkt]] has a copy and is trying to get some information out of it
 
* [[User:Tiefpunkt|tiefpunkt]] has a copy and is trying to get some information out of it
  
== Hackpad ==
+
== DC Grid Hackpad ==
 
There used to be a hackpad with information on it as well. However, Hackpad has been shutdown by DropBox, and the WayBack Machine backups are not all that great. This would be a manual effort: https://web.archive.org/web/20170429032643/https://dcgrid.hackpad.com/
 
There used to be a hackpad with information on it as well. However, Hackpad has been shutdown by DropBox, and the WayBack Machine backups are not all that great. This would be a manual effort: https://web.archive.org/web/20170429032643/https://dcgrid.hackpad.com/
 +
* [[User:Tiefpunkt|tiefpunkt]] took the time to rebuild parts of it. You can find his version at http://dcgrid.archive.tiefpunkt.com/
 +
 +
== This Wiki ==
 +
To safe this wiki from a similar fate, there are regular backups. If you want to create your own, try this script:
 +
<pre>
 +
#!/bin/bash
 +
 +
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 +
 +
cd $DIR
 +
./env/bin/python dumpgenerator.py --xml --images https://altpwr.net/ >/dev/null
 +
if [ $? -eq 0 ]; then
 +
ls -1dtr altpwrnet-*-wikidump | sed 1,7d | xargs -r rm -r
 +
else
 +
date
 +
echo "error while backing up altpwr wiki"
 +
fi
 +
</pre>
 +
 +
It uses the [https://raw.githubusercontent.com/WikiTeam/wikiteam/master/dumpgenerator.py dumpgenerator.py] script by WikiTeam (via [https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki#Without_shell_access_to_the_server]). It requires python2, and can be setup in a virtual env as follows:
 +
<pre>
 +
virtualenv env
 +
. env/bin/activate
 +
pip install lxml mwclient kitchen
 +
wget https://raw.githubusercontent.com/WikiTeam/wikiteam/master/dumpgenerator.py
 +
</pre>
  
 
== WayBack Machine Extraction ==
 
== WayBack Machine Extraction ==

Latest revision as of 10:47, 5 January 2021

A lot of the information from AltPwr at SHA2017 has disappeared from the web. However, parts of it can be found in the WayBack machine and can be restored, even though parts of it only with quite a bit of manual work.

AltPwr Website

The original AltPwr website was lost. Parts of it can be found in the WayBack Machine.

Mailing List

There was a mailing list about AltPwr, which is gone as well. However it's also in the WayBack Machine.

  • tiefpunkt has a copy and is trying to get some information out of it

DC Grid Hackpad

There used to be a hackpad with information on it as well. However, Hackpad has been shutdown by DropBox, and the WayBack Machine backups are not all that great. This would be a manual effort: https://web.archive.org/web/20170429032643/https://dcgrid.hackpad.com/

This Wiki

To safe this wiki from a similar fate, there are regular backups. If you want to create your own, try this script:

#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

cd $DIR
./env/bin/python dumpgenerator.py --xml --images https://altpwr.net/ >/dev/null
if [ $? -eq 0 ]; then
	ls -1dtr altpwrnet-*-wikidump | sed 1,7d | xargs -r rm -r
else
	date
	echo "error while backing up altpwr wiki"
fi

It uses the dumpgenerator.py script by WikiTeam (via [1]). It requires python2, and can be setup in a virtual env as follows:

virtualenv env
. env/bin/activate
pip install lxml mwclient kitchen
wget https://raw.githubusercontent.com/WikiTeam/wikiteam/master/dumpgenerator.py

WayBack Machine Extraction

There are some services to get content "easily" from the WayBack Machine, but they mostly cost money. There are a few projects on GitHub, the seemingly best one being https://github.com/hartator/wayback-machine-downloader. It can also be run as a docker container, which is kinda nice:

docker run --rm -it -v $PWD/websites:/websites hartator/wayback-machine-downloader https://lists.sha2017.org/pipermail/microgrid/