{"id":16096839,"url":"https://github.com/simon04/wp2git","last_synced_at":"2025-04-05T21:16:29.869Z","repository":{"id":140832107,"uuid":"56877322","full_name":"simon04/wp2git","owner":"simon04","description":"Downloads and imports Wikipedia page histories to a git repository","archived":false,"fork":false,"pushed_at":"2017-01-08T14:05:52.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T00:37:57.299Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simon04.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-22T18:35:14.000Z","updated_at":"2018-05-22T07:29:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"3886cce7-d7d0-4162-aca8-e55d0835830f","html_url":"https://github.com/simon04/wp2git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon04%2Fwp2git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon04%2Fwp2git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon04%2Fwp2git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon04%2Fwp2git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simon04","download_url":"https://codeload.github.com/simon04/wp2git/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399884,"owners_count":20932880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T17:25:37.760Z","updated_at":"2025-04-05T21:16:29.826Z","avatar_url":"https://github.com/simon04.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"wp2git\r\n======\r\n\r\nThis program allows you to download and convert any Wikipedia article's history to a `git` repository, for easy browsing and blaming.\r\n\r\n### Usage\r\n\r\n    $ wp2git.py [--bare] article_name\r\n\r\n`wp2git` will create a directory, in which a new `git` repository will be created.\r\nThe repository will contain a single file named `article_name.mw`, along with its entire edit history.\r\n\r\nRun `wp2git --help` for more options.\r\n\r\n### Analyzing using git\r\n* Who last changed this line? `git blame article_name.mw`\r\n* Who introduced this sentence? `git log -p -G \"the natural number that succeeds 41\"`\r\n\r\n### Requirements\r\n* [Python](https://www.python.org/) 2 or 3\r\n* [`git`](https://git-scm.com/) accessible from `PATH`.\r\n* [`mwclient`](https://github.com/mwclient/mwclient) (use `pip install mwclient`).\r\n\r\n### Credits\r\n1. [CyberShadow's version](https://github.com/CyberShadow/wp2git) written in the D language.\r\n2. [dlenski's version](https://github.com/CyberShadow/wp2git) written for Python 2 only.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimon04%2Fwp2git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimon04%2Fwp2git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimon04%2Fwp2git/lists"}