{"id":15017733,"url":"https://github.com/macbre/wiki-evolution","last_synced_at":"2025-04-12T12:33:44.121Z","repository":{"id":11515283,"uuid":"13996128","full_name":"macbre/wiki-evolution","owner":"macbre","description":"Visualize evolution of your MediaWiki based site","archived":false,"fork":false,"pushed_at":"2025-02-12T13:21:54.000Z","size":414,"stargazers_count":8,"open_issues_count":6,"forks_count":4,"subscribers_count":3,"default_branch":"devel","last_synced_at":"2025-03-26T07:11:21.716Z","etag":null,"topics":["code-versioning","code-visualization","gource","javascript","mediawiki","video","wiki"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macbre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-10-30T18:46:35.000Z","updated_at":"2025-02-12T13:20:49.000Z","dependencies_parsed_at":"2024-01-02T08:09:22.659Z","dependency_job_id":"18f1063b-3e88-466b-bb3d-7277c5519615","html_url":"https://github.com/macbre/wiki-evolution","commit_stats":{"total_commits":109,"total_committers":3,"mean_commits":"36.333333333333336","dds":0.3302752293577982,"last_synced_commit":"dd3175d56925c0ddaff7e4a22ce3340366301ac1"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macbre%2Fwiki-evolution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macbre%2Fwiki-evolution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macbre%2Fwiki-evolution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macbre%2Fwiki-evolution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macbre","download_url":"https://codeload.github.com/macbre/wiki-evolution/tar.gz/refs/heads/devel","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248566659,"owners_count":21125699,"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":["code-versioning","code-visualization","gource","javascript","mediawiki","video","wiki"],"created_at":"2024-09-24T19:50:54.938Z","updated_at":"2025-04-12T12:33:44.089Z","avatar_url":"https://github.com/macbre.png","language":"JavaScript","readme":"wiki-evolution\n==============\n[![Node.js CI](https://github.com/macbre/wiki-evolution/actions/workflows/node.js.yml/badge.svg)](https://github.com/macbre/wiki-evolution/actions/workflows/node.js.yml)\n\nVisualize evolution of your [MediaWiki](https://www.mediawiki.org/wiki/MediaWiki) based site\n\n## Docker-based run\n\nThe easiest way to use this tool is via Docker:\n\n```\ndocker pull ghcr.io/macbre/wiki-evolution:latest\n\ndocker run --name=wiki-evolution --rm -it -v $(pwd)/data:/tmp/wiki-evolution ghcr.io/macbre/wiki-evolution:latest bash\n```\n\nAnd then inside the container run:\n\n```\nnobody@3e68fe7411f8:/opt/wiki-evolution# ./bin/wiki-evolution.sh \u003cwiki domain\u003e\n```\n\nGource log files and the rendered webm movie will be stored in the `data/` directory on your host.\n\n## Requirements\n\n* MediaWiki-based wiki\n* [gource](https://github.com/acaudwell/Gource) for visualizing the history (will create a set of images)\n* [ffmpeg](https://www.ffmpeg.org/) to convert a set of images to a video file\n* [xvfb](http://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml) to run gource in a virtual X server environment\n* [nodejs](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) with `npm` installed\n\nRunning\n\n```\nsudo apt-get install gource ffmpeg xvfb\n```\n\nshould be enough on Debian-powered machines\n\nFor MacOS run:\n\n```\nbrew install gource ffmpeg\n```\n\n## How to install and run it?\n\n```\nnpm install -g wiki-evolution\n```\n\nand then run `wiki-evolution \u003cwiki domain\u003e`, for instance:\n\n```\nwiki-evolution poznan.wikia.com\nwiki-evolution fo.wikipedia.org\n```\n\nThis will install `wiki-evolution` npm module globally\nand render the visualization for [poznan.wikia.com](http://poznan.wikia.com) and [Faroese Wikipedia](http://fo.wikipedia.org).\n\nFor large wikis with a long edits history you can include every N-th edit only:\n\n```\nEDITS_COMPRESSION=150 wiki-evolution muppet.wikia.com\n```\n\nThis will include only the first, 150th, 300th, ... edit of each article.\n\n## Debug mode\n\nRun the `wiki-evolution` script with `DEBUG=1` env variable set to enable `nodemw` library debug mode:\n\n```\nDEBUG=1 EDITS_COMPRESSION=150 wiki-evolution muppet.wikia.com\n...\ndebug:   API action: query\ndebug:   GET \u003chttp://muppet.wikia.com/api.php?action=query\u0026prop=revisions\u0026rvprop=ids%7Ctimestamp%7Csize%7Cflags%7Ccomment%7Cuser\u0026rvdir=newer\u0026rvlimit=5000\u0026titles=X\u0026continue=\u0026format=json\u003e\n...\n```\n\n## Genesis\n\nPort of [WikiEvolution extension](https://github.com/Wikia/app/tree/dev/extensions/wikia/hacks/WikiEvolution)\ndeveloped during [Wikia 2012 internship programme](http://community.wikia.com/wiki/User_blog:Macbre/Awesome_Projects_from_our_Interns)\nby [@drzejzi](https://github.com/Drzejzi). It's meant to be run standalone (i.e. outside MediaWiki stack) and generate\n[wonderful videos](https://www.youtube.com/watch?v=QE32HghV8-I) of how your site evolved from its very beginning.\n\n### Examples\n\n\u003cimg width=\"1267\" alt=\"Screenshot 2021-10-28 at 12 25 07\" src=\"https://user-images.githubusercontent.com/1929317/139246771-12842daa-e6bc-48fd-b9ed-d75fa55a6196.png\"\u003e\n\n* [Poznań Wiki](https://www.youtube.com/watch?v=QE32HghV8-I)\n* [Inciclopedia](https://www.youtube.com/watch?v=-AsGVA3HlSU)\n* [German GTA Wiki](https://www.youtube.com/watch?v=a3NbIf3i36g)\n* [Muppet Wiki](https://www.youtube.com/watch?v=P-ciO2CcIq0)\n* [Kill Bill Wiki](https://www.youtube.com/watch?v=Xbhg1NDIQMs)\n* [Marvel Database](https://www.youtube.com/watch?v=l6tggAc8aVM)\n* [Polish GTA Wiki](https://www.youtube.com/watch?v=T3hlgdBsX10)\n* [Nordycka Wiki](https://youtu.be/Z-GAgJMxTR0)\n\n## Read more\n\n* [gource - recording Videos](http://code.google.com/p/gource/wiki/Videos)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacbre%2Fwiki-evolution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacbre%2Fwiki-evolution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacbre%2Fwiki-evolution/lists"}