{"id":16934535,"url":"https://github.com/queengooborg/mdn-toolkit","last_synced_at":"2025-04-11T18:52:39.450Z","repository":{"id":41148347,"uuid":"178640329","full_name":"queengooborg/mdn-toolkit","owner":"queengooborg","description":"A collection of tools I use to make working on MDN a little easier","archived":false,"fork":false,"pushed_at":"2024-11-29T11:15:21.000Z","size":1317,"stargazers_count":3,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T14:44:50.274Z","etag":null,"topics":["mdn","mdn-docs","nodejs","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/queengooborg.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":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"queengooborg","custom":"http://paypal.me/VinylDarkscratch"}},"created_at":"2019-03-31T03:59:18.000Z","updated_at":"2025-03-15T05:57:40.000Z","dependencies_parsed_at":"2023-09-22T22:02:38.203Z","dependency_job_id":"cfb972cf-8010-45ac-be2c-2d90b3c13a37","html_url":"https://github.com/queengooborg/mdn-toolkit","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/queengooborg%2Fmdn-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queengooborg%2Fmdn-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queengooborg%2Fmdn-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queengooborg%2Fmdn-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/queengooborg","download_url":"https://codeload.github.com/queengooborg/mdn-toolkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248464371,"owners_count":21108238,"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":["mdn","mdn-docs","nodejs","python","python3"],"created_at":"2024-10-13T20:52:23.828Z","updated_at":"2025-04-11T18:52:39.424Z","avatar_url":"https://github.com/queengooborg.png","language":"Python","funding_links":["https://ko-fi.com/queengooborg","http://paypal.me/VinylDarkscratch"],"categories":[],"sub_categories":[],"readme":"# Vinyl's MDN Toolkit\n\nThis is a collection of scripts that I use as a part of my workflow while contributing to MDN Web Docs projects, such as [browser-compat-data](https://github.com/mdn/browser-compat-data) and [MDN content](https://github.com/mdn/content).  While they are not particularly written for public use, the scripts should work just fine with a few folder path tweaks.\n\n## Requirements\n- Python 3.x\n- NodeJS v10+\n\n## Setup\n```\nnpm i\npip install -r requirements.txt\n```\n\n## Scripts for BCD\n\nRequirements:\n- [MDN Web Docs' Browser Compat Data](https://github.com/mdn/browser-compat-data) locally cloned (for modifications)\n\n### check_webidl.py\nThis script is a part of an attempt to set true/false values based upon implementation in a browser's WebIDL.  This was discontinued as there is far too much ambiguity in the WebIDL, though the script was retained for archival purposes.\n\n#### Requirements\n- Cloned sources of Chrome, Firefox, and Safari.\n\n#### Usage\n```sh\npython check_webidl.py \u003cbrowser\u003e\n```\n\n### compare_stats.py\nThis script calculates the statistics difference between the latest BCD release and the current `HEAD` of the local clone.\n\n#### Usage\n```sh\npython compare_stats.py [browser]\n```\n\n#### Caveats\nCurrently, the latest BCD release stats must be manually calculated.\n\n### get_nonreal.py\nThis script iterates through the values of BCD to find any non-real values (`true` or `null` values), and calculates an HTML-formatted, categorized list of entries.\n\n#### Usage\n```sh\npython get_nonreal.py \u003cfolder\u003e [browser]\n```\n\n#### Usage\n```sh\npython set.py \u003cfeature\u003e [browser1,browser2...] [value]\n```\n\n### open_docs.py\nThis script takes a feature identifier and opens its MDN web docs page in the specified browser (defaults to Chrome).  If the feature identifier doesn't have an `mdn_url` specified, it will get the parent's instead.\n\n#### Usage\n```sh\npython open_docs.py \u003cfeature\u003e [browser]\n```\n\n### set.py\nThis script is a command-line to quickly set a feature to a specific value.\n\n#### Usage\n```sh\npython set.py \u003cfeature\u003e [browser1,browser2...] [value]\n```\n\n### walk-csv.js\n[Description pending...]\n\n#### Usage\n```sh\nnode walk-csv.js\n```\n\n## Scripts for MDN Content\n\nRequirements:\n- [MDN Web Docs' Content](https://github.com/mdn/content) and/or [Translated Content](https://github.com/mdn/translated-content) locally cloned (for modifications)\n\n### check_file_age.py\nThis script checks to see how long ago a file has been modified for content and assigns a corresponding color to its age.  This is designed to check the age of files in the https://github.com/mdn/content or https://github.com/mdn/translated-content repositories.\n\n#### Usage\n```sh\ncd path/to/mdn/[translated-]content/repo\npython check_file_age.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueengooborg%2Fmdn-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueengooborg%2Fmdn-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueengooborg%2Fmdn-toolkit/lists"}