This is a Node.js and Vue.js rewrite of the original parliament diagram creator designed for use on Wikipedia, Wikimedia Commons and Wikidata. My motivation was to create a modern web application to allow for a faster and easier workflow. The algorithms which generate the diagrams are credited to the original authors David Richfield, Mathis Rade, Ranjith Siji and Ambady Anand S.
The application is available at parliament.jamesm2w.me (a build of the latest main branch deployed on github pages).
- Download the source from this github repository.
- Install dependencies with
npm install - Run
npm run buildto build the application into/dist - (Optional) Serve locally with
npm run serve
- Download source from the github repository
- Install dependencies with
npm install - Launch development server with
npm run dev - Edit code. The development server should watch for any file changes and update the site.
- Node.js & NPM
- Application is tested to build on Node v14 and NPM v6
The following development dependencies are installed by running npm install
- Vue & Vite
- Autoprefixer
- PostCSS
- Tailwind CSS
- jscolor, also available from jscolor.com.
This tool is licensed GPL v2, see LICENSE.md.
