An svnwiki in Python
June 20, 2008
On a whim, I wrote a little wiki type thing in Python that sits on top of an SVN repo. It’s incredibly basic, and basically lets you browse a repo and edit files. Natively, it supports markdown as its default display mechanism, but it would be trivial to teach it the meaning of file extensions and have other view templates.
The intended use was for a personal notebook type thing, which I decided to abandon. Basically, it’s a lot like Jottit, except you actually have all your data, and can replicate it between locations. Yes, it also sounds like git-wiki,but I only found out about that after I’ve finished coding this version.
Although I decided not to use it, someone else my find it useful, at least the codebase. I am offering it here with absolutely no warranty, and you can use it however you like, you can attribute or not, whatever. Since this was built for private use, i.e. no public access, I was going to integrate
grep into it, and other such utils, leveraging unix text processing for search, mass editing, etc. So one may be interested in continuing that. I did not implement a facility for adding pages easily, though that’s a trivial piece of coding.
Code: svnwiki.tar.gz Change the
base variable to reflect the location of your repo.
- pysvn (on debian this is the
python-svnpackage rather than