Jump to content

User:Dam-io/wiki2git

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dam-io (talk | contribs) at 18:49, 12 March 2019 (remove web service from draft since it's not working for now). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Converts a Wikipedia article revision history into a git repository

As a local script

Installation

> git clone https://framagit.org/mdamien/wiki2git.git
> cd wiki2git
> virtualenv -p python3 env
> . ./env/bin/activate
> pip install -r requirements.txt

Usage

> ./wiki2git https://en.wikipedia.org/wiki/The_Little_Prince prince # output is in prince folder


With a web interface

Coming soon