Update (2015-11-27): The script works again with newer Freenet versions.
Install and setup infocalypse on GNU/Linux:
Just download and run1 it via
wget http://draketo.de/files/setup_infocalypse_on_linux.sh_.txt bash setup_infocalypse*
« Real Life Infocalypse »
DVCS in the Darknet. The decentralized p2p code repository (using Infocalypse)
This gives you code hosting like a minimal version of BitBucket, Gitorious or GitHub but without the central control. Additionally the Sone plugin for freenet supplies anonymous communication and the site extension allows creating static sites with information about the repo, recent commits and such without the need of a dedicated hoster.
Clone a repo into freenet with a new key:
hg clone localrepo USK@/repo
(Write down the insert key and request key after the upload! Localrepo is an existing Mercurial repository)
Clone a repo into or from freenet (respective key known):
hg clone localrepo freenet://USK@<insert key>/repo.R1/0 hg clone freenet://USK@<request key>/repo.R1/0 [localpath]
Push or pull new changes:
hg push freenet://USK@<insert key>/repo.R1/0 hg pull freenet://USK@<request key>/repo.R1/0
For convenient copy-pasting of freenet keys, you can omit the “freenet://” here, or use freenet:USK@… instead.
Also, as shown in the first example, you can let infocalypse generate a new key for your repo:
hg clone localrepo USK@/repo
mind the “USK@/” (slash after @ == missing key). Also see the missing .R1/0 after the repo-name and the missing freenet://. Being able to omit those on repository creation is just a convenience feature - but one which helps me a lot.
You can also add the keys to the
[paths] example = freenet://USK@<request key>/repo.R1/0 example-push = freenet://USK@<insert key>/repo.R1/0 # here you need the freenet:// !
then you can simply use
hg push example-push
hg pull example
This script is just a quick sketch, feel free to improve it and upload improved versions (for example with support for more GNU/Linux distros). If you experience any problems, please contact me! (i.e. write a comment)
If you want to contribute more efficiently to this script, get the repo via
hg clone freenet://USK@73my4fc2CLU3cSfntCYDFYt65R4RDmow3IT5~gTAWFk,Fg9EAv-Hut~9NCJKtGaGAGpsn1PjA0oQWTpWf7b1ZK4,AQACAAE/setup_infocalypse/1
Then hack on it, commit and upload it again via
hg clone setup_infocalypse freenet://USK@/setup_infocalypse
Finally share the request URI you got.
Alternate repo: http://draketo.de/proj/setup_infocalypse
On systems based on Debian or Gentoo - including Ubuntu and many others - this script will install all needed software except for freenet itself. You will have to give your sudo password in the process. Since the script is just a text file with a set of commands, you can simply read it to make sure that it won’t do anything evil with those sudo rights. ↩
⚙ Babcom is trying to load the comments ⚙
This textbox will disappear when the comments have been loaded.
Note: To make a comment which isn’t a reply visible to others here, include a link to this site somewhere in the text of your comment. It will then show up here. To ensure that I get notified of your comment, also include my Sone-ID.
Link to this site and my Sone ID:
This spam-resistant comment-field is made with babcom.
The European Copyright directive threatens online communication in Europe.
But thanks to massive shared action earlier this year, the European parliament can still prevent the problems. For each of the articles there are proposals which fix them. The parliamentarians (MEPs) just have to vote for them. And since they are under massive pressure from large media companies, that went as far as defaming those who took action as fake people, the MEPs need to hear your voice to know that your are real.
If you care about the future of the Internet in the EU, please Call your MEPs.