{"id":20561513,"url":"https://github.com/avindra/mikiwedia","last_synced_at":"2025-09-25T21:31:41.297Z","repository":{"id":63143114,"uuid":"389921084","full_name":"avindra/mikiwedia","owner":"avindra","description":"Wikimedia Userscripts","archived":false,"fork":false,"pushed_at":"2023-02-06T22:16:24.000Z","size":66,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T14:27:10.764Z","etag":null,"topics":["userscript","wikimedia-commons","wikimedia-tools"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/avindra.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}},"created_at":"2021-07-27T09:19:41.000Z","updated_at":"2023-10-26T00:07:12.000Z","dependencies_parsed_at":"2022-11-13T21:00:44.009Z","dependency_job_id":null,"html_url":"https://github.com/avindra/mikiwedia","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avindra%2Fmikiwedia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avindra%2Fmikiwedia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avindra%2Fmikiwedia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avindra%2Fmikiwedia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avindra","download_url":"https://codeload.github.com/avindra/mikiwedia/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234258192,"owners_count":18804067,"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":["userscript","wikimedia-commons","wikimedia-tools"],"created_at":"2024-11-16T03:59:34.790Z","updated_at":"2025-09-25T21:31:41.292Z","avatar_url":"https://github.com/avindra.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Usage example:\n\nhttps://commons.wikimedia.org/wiki/User:Aavindraa/common.js\n\n## Install type\n\nThe **rolling release** will update automatically.\n\nUse the other option if you want a specific version.\n\n### 🏎️ Rolling release\n\nSet it up once, and you might just need to do a **hard reload** occasionally to download the new scripts.\n\nAny of the below can be used as the `src` value:\n\n* https://cdn.jsdelivr.net/gh/avindra/mikiwedia@main/index.js (CDN [jsdelivr](https://en.wikipedia.org/wiki/JSDelivr))\n* https://avindra.github.io/mikiwedia/index.js ([GitHub Pages](https://en.wikipedia.org/wiki/GitHub_Pages))\n* https://dra.vin/mikiwedia/index.js ([GitHub Pages](https://en.wikipedia.org/wiki/GitHub_Pages) via my domain)\n\n### 🔢 Specific version\n\nBy using jsdelivr, you can specify a version to use. For example, you could pick the `0.2.0` release. Note: don't actually use v0.2.0 as it has known bugs.\n\n* https://cdn.jsdelivr.net/gh/avindra/mikiwedia@0.2.0/index.js\n\n## `common.js` code example\n\nThis is the code to use in your [`common.js`](https://commons.wikipedia.org/wiki/Special:MyPage/common.js).\n\nIn Firefox/Chrome: `ctrl`+`shift`+`i` to use developer console.\n\n```js\nconst s = document.createElement(\"script\");\ns.type = \"module\";\ns.src = '//dra.vin/mikiwedia/index.js';\ndocument.body.appendChild(s);\n```\n\nLocal testing looks more like:\n\n```js\nvar l = document.createElement(\"script\");\nl.type = \"module\";\nl.src = 'https://localhost:8000/index.js';\ndocument.body.appendChild(l);\n```\n\n## Design\n\n* ES Modules\n* Don't add third-party libraries\n  * Limit use of jQuery and builtins\n* Lazy-load bigger modules with [dynamic imports](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import)\n\n## Features\n\nIn lieu of an actual feature list, check `releases` for now:\n\nhttps://github.com/avindra/mikiwedia/releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favindra%2Fmikiwedia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favindra%2Fmikiwedia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favindra%2Fmikiwedia/lists"}