{"id":13908573,"url":"https://github.com/gopavasanth/video-cut-tool","last_synced_at":"2025-07-18T07:31:40.702Z","repository":{"id":37934277,"uuid":"188808361","full_name":"gopavasanth/video-cut-tool","owner":"gopavasanth","description":"Wikimedia Tool to Trim Online Videos in Wikimedia Commons. https://commons.wikimedia.org/wiki/Commons:VideoCutTool","archived":false,"fork":false,"pushed_at":"2023-03-15T01:28:32.000Z","size":11458,"stargazers_count":51,"open_issues_count":20,"forks_count":25,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T18:12:22.169Z","etag":null,"topics":["crop-videos","online-video-editor","rotate-videos","tool","trim-videos","video-cut-tool","video-editor","wikimedia","wikimedia-commons"],"latest_commit_sha":null,"homepage":"https://videocuttool.wmflabs.org/","language":"JavaScript","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/gopavasanth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-05-27T08:58:54.000Z","updated_at":"2024-12-02T17:12:08.000Z","dependencies_parsed_at":"2024-04-16T03:43:21.781Z","dependency_job_id":"9f493d15-1a12-4159-9aa7-00b0a0e2cf85","html_url":"https://github.com/gopavasanth/video-cut-tool","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/gopavasanth/video-cut-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopavasanth%2Fvideo-cut-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopavasanth%2Fvideo-cut-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopavasanth%2Fvideo-cut-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopavasanth%2Fvideo-cut-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gopavasanth","download_url":"https://codeload.github.com/gopavasanth/video-cut-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopavasanth%2Fvideo-cut-tool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265720598,"owners_count":23817268,"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":["crop-videos","online-video-editor","rotate-videos","tool","trim-videos","video-cut-tool","video-editor","wikimedia","wikimedia-commons"],"created_at":"2024-08-06T23:02:50.281Z","updated_at":"2025-07-18T07:31:40.388Z","avatar_url":"https://github.com/gopavasanth.png","language":"JavaScript","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"An online tool to cut/trim videos in Wikimedia commons.\n\nSee live demo at: https://videocuttool.wmcloud.org/\n\n## Learn More\n\nYou can learn more in the https://commons.wikimedia.org/wiki/Commons:VideoCutTool.\n\n## Installation\n\n### Get OAuth2 Credentials\n\nGo to:\n\nhttps://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose.\n\nCreate an application with the following grants:\n\n- Edit existing pages.\n\n- Create, edit, and move pages.\n\n- Upload new files.\n\n- Upload, replace, and move files.\n\nIf its for production, use call back URL as: https://videocuttool.wmcloud.org/api/auth/mediawiki/callback\n\nAdd the keys to server/config.js file under CLIENT_ID and CLIENT_SERCRET after you clone the repo.\n\n### Connecting to Cloud VPS Servers\n\nCloud VPS Horizon URL: https://horizon.wikimedia.org\n\nvideocuttool instance using `ssh -J \u003cusername\u003e@primary.bastion.wmflabs.org \u003cusername\u003e@videocuttool.videocuttool.eqiad1.wikimedia.cloud`\n\nnc-videocuttool instance using `ssh -J \u003cusername\u003e@primary.bastion.wmflabs.org \u003cusername\u003e@nc-videocuttool.videocuttool.eqiad1.wikimedia.cloud`\n\n### Installing VideoCutTool in server\n\nInstall the following utilities\n\n- git\n- node version v16.15.1\n- npm version v8.12.1\n- ffmpeg\n- mongodb\n- nginx\n\n### Database\n\n- View the users list using the following commands\n  - Connect to mongo using shell - `mongo`\n  - `show databases`\n  - `use video-cut-tool`\n  - `db.users.find({}, {\"_id\":0, username : 1})`\n\n### Install Docker\n\nThe tool uses docker to install and run everything with a single command.\n\nInstall docker from this link: https://docs.docker.com/get-docker/\n\n### Clone Repo\n\nRun these commands to clone the code from the remote repo.\n\n```\n\ngit clone \"https://gerrit.wikimedia.org/r/labs/tools/VideoCutTool\"\n\ncd ./VideoCutTool\n\n```\n\n### Run environment\n\nRun this command inside VideoCutTool to start development docker container.\n\n`docker-compose -f .\\docker-compose.dev.yml up --build`\n\nThe first time you run it will take some time 4-8 minutes (depending on your internet speed) because it will pull the necessary images from docker and install NPM packages. Once it is up and running changes will be hot loaded.\n\n\u003e Note: anytime you update package.json the build process will take a while.\n\nTo run production you can run this command\n\n`docker-compose -f .\\docker-compose.prd.yml up -d`\n\n## Credits\n\nVideoCutTool is created by Gopa Vasanth as a part of 2019 Google Summer of Code in the mentorship of Pratik shetty, Hassan Amin and James Heilman.\n\nKhr2003 joined as a co-maintainer of the tool and revamped code base.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopavasanth%2Fvideo-cut-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgopavasanth%2Fvideo-cut-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopavasanth%2Fvideo-cut-tool/lists"}