{"id":18510450,"url":"https://github.com/eccenux/css-piechart-script","last_synced_at":"2025-05-14T11:16:42.175Z","repository":{"id":215516817,"uuid":"739104168","full_name":"Eccenux/css-piechart-script","owner":"Eccenux","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-03T17:43:54.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-25T20:25:25.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eccenux.png","metadata":{"files":{"readme":"README-dev-usage.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-01-04T19:26:43.000Z","updated_at":"2024-01-04T19:26:52.000Z","dependencies_parsed_at":"2024-01-04T22:36:50.541Z","dependency_job_id":"af52e085-c080-4492-8b7a-b412b4b94667","html_url":"https://github.com/Eccenux/css-piechart-script","commit_stats":null,"previous_names":["eccenux/css-piechart-script"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eccenux%2Fcss-piechart-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eccenux%2Fcss-piechart-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eccenux%2Fcss-piechart-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eccenux%2Fcss-piechart-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eccenux","download_url":"https://codeload.github.com/Eccenux/css-piechart-script/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239225765,"owners_count":19603162,"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":[],"created_at":"2024-11-06T15:23:26.907Z","updated_at":"2025-02-17T02:42:33.332Z","avatar_url":"https://github.com/Eccenux.png","language":"JavaScript","readme":"# Building and deploying Gadgets\n\nIn this release:\n\n1. Uses Wikiploy v1.8, which introduced a helper for [user prompts](https://github.com/Eccenux/Wikiploy#userprompt-v18). This makes it easier to ask for a summary when you wikiploy changes.\n2. Uses Browserify to build JS.\n3. Uses LessCSS to build CSS.\n4. Uses Mocha/Chai for unit testing.\n\n## Quick testing\n\n1. Download release zip and unpack in some folder.\n2. Run `npm i` in the folder to install libraries.\n3. Open the folder in [VSCode](https://code.visualstudio.com/).\n4. Install recommended extensions.\n5. Run test and build commands from the command bar (green buttons, should be on the bottom bar of VSCode).\n\nSee more in [README.md#testing-wikiploy](https://github.com/Eccenux/wikiploy-rollout-example/blob/main/README.md#testing-wikiploy)\n\nNote that before running `wikiploy.mjs`, you will have to set up your bot password and bot.config (see *Preparing deployment* below).\n\n## Create a gadget from this repository\n\nTo create your own gadget from this repository:\n\n1. If you are using an existing gadget: [Use wiki2git to download existing JS script and CSS](https://github.com/Eccenux/Wikiploy/blob/main/README.building%20your%20project.md#appendix-wiki2git).\n2. Copy files from the downloaded wikiploy example to your repo.\n3. Commit initial wikiploy files.\n4. Fix names:\n   - Replace `piechartHelper` with your actual gadget name.\n   - Replace `wikiploy-rollout-example` with the lowercase version of your gadget name.\n   - Ensure `addConfig` works on the `site` you will be deploying to.\n5. Commit the changes.\n\n## Preparing deployment\n\nStep 1: Setup you password on Special:BotPasswords. For Wikimedia wikis you can use:\nhttps://test.wikipedia.org/wiki/Special:BotPasswords\n\nStep 2: Rights you should setup (if you can):\nhttps://github.com/Eccenux/Wikiploy/blob/main/assets/Bot%20passwords%20-%20Test%20Wikipedia.png\n\nStep 3: Create your `bot.config.mjs` and fill username and password:\n```\n/**\n\tBot with edit\u0026create rights.\n\t\n\tYou can create the bot account on any wiki. E.g. on the test wiki:\n\thttps://test.wikipedia.org/wiki/Special:BotPasswords\n\n\tThe username will be something like `MyName@Wikiploy` where `Wikiploy` would be a bot name\n\t(you can choose any bot name but \"Wikiploy\" would be a good choice to separate it from other things).\n\t\n\tThe password will be something like `12345abcdefpqrst123456abcdef`.\n */\nexport const username = '...@...';\nexport const password = '...';\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feccenux%2Fcss-piechart-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feccenux%2Fcss-piechart-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feccenux%2Fcss-piechart-script/lists"}