Nova Resource:Videocuttool/Installation
This is the background to VideoCutTool; it includes details to how to install and contribute to the tool, technical details of the tool and other background info to the tool. See c:Commons:VideoCutTool for how to use the tool and main details about the tool itself.
Contributing
The source code for the tool can be found on Gitlab. The front-end of the tool is written using Reactjs and the back-end of the tool is written using Node.js.
README.md file contains details on how to install the tool on your local device. If you would like to contribute to the repository such as reporting a bug, fixing a bug or updating any code or documentation, you can do so by creating a new issue in order to report a bug or you can make a Pull Request to the repository on GitHub in order to update any code/documentation. Also, you can also report bugs using the #VideoCutTool tag on Phabricator. We use zulip chat for our communication, so please feel free to join and get in touch with us!
Installation
Using Docker
This guide will assume that you have docker installed, Refer to https://docs.docker.com/engine/install/ for downloading & installation if you don't.
The source code for VideoCutTool can be found at Gitlab - https://gitlab.wikimedia.org/cloudvps-repos/videocuttool/VideoCutTool
Follow the Readme for setting up the tool
Technical Details
Front-end
The front-end of the tool uses Reactjs, a UI/View library in which JavaScript functions generate HTML in a reactive data flow. See reactjs.org for info about the library.
Back-end
The backend of the tool is written in JavaScript and run on Node.js, a JavaScript runtime based on Google Chrome's V8 engine.
Under the hood, it employs Express.js to handle HTTP requests. Passport.js is used with passport-mediawiki-oauth to take care of user authentication via OAuth.
Other requirements
VideoCutTool works with videos by calling ffmpeg with appropriate arguments (that's why FFmpeg must be available on PATH)
Background
This tool was created due to there being no other tool that could quickly, easily and simply edit and upload videos and audio files from Wikimedia Commons. It was made to allow users to have a much quicker and easier experience to edit uploaded files on Wikimedia Commons. Rather than having to download, edit and then upload the files to Commons manually, the tool would do this automatically and require minimal user input and speed up the process greatly. It was also created as there was great demand from users for it to be made.