Archives

From The Alternative Power Network
Revision as of 22:07, 4 January 2021 by Tiefpunkt (talk | contribs) (Wiki backup)
Jump to navigation Jump to search

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

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/