{"id":23070239,"url":"https://github.com/markbattistella/docsify-charty","last_synced_at":"2026-02-14T18:32:55.738Z","repository":{"id":42189226,"uuid":"343328590","full_name":"markbattistella/docsify-charty","owner":"markbattistella","description":"Transform your markdown into graphs and charts for docsify","archived":false,"fork":false,"pushed_at":"2024-06-12T02:23:11.000Z","size":834,"stargazers_count":13,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-25T21:47:32.224Z","etag":null,"topics":["chart","docsify","docsify-js","docsify-plugin","graph"],"latest_commit_sha":null,"homepage":"https://charty.docsify.markbattistella.com/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markbattistella.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":{"custom":["https://www.paypal.me/markbattistella/5AUD","https://www.paypal.me/markbattistella/10AUD","https://www.paypal.me/markbattistella/20AUD"]}},"created_at":"2021-03-01T07:35:09.000Z","updated_at":"2025-05-26T22:48:00.000Z","dependencies_parsed_at":"2024-06-12T06:08:46.491Z","dependency_job_id":"b9d12f74-e8d1-44d7-b630-9e0f12b58ba5","html_url":"https://github.com/markbattistella/docsify-charty","commit_stats":{"total_commits":60,"total_committers":2,"mean_commits":30.0,"dds":"0.033333333333333326","last_synced_commit":"0531ace615bb06ed5d4ba4dc9642d97ac8420d1c"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/markbattistella/docsify-charty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbattistella%2Fdocsify-charty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbattistella%2Fdocsify-charty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbattistella%2Fdocsify-charty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbattistella%2Fdocsify-charty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markbattistella","download_url":"https://codeload.github.com/markbattistella/docsify-charty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbattistella%2Fdocsify-charty/sbom","scorecard":{"id":619731,"data":{"date":"2025-08-11","repo":{"name":"github.com/markbattistella/docsify-charty","commit":"cddb65a204bbd09de31b654ef3b3786cc6a346f9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/static.yml:14","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/static.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/static.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/static.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/static.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/static.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/static.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/static.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/markbattistella/docsify-charty/static.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/release.yml:29","Warn: npmCommand not pinned by hash: .github/workflows/release.yml:45","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/markbattistella/.github/.github/SECURITY.md:1","Info: Found linked content: github.com/markbattistella/.github/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/markbattistella/.github/.github/SECURITY.md:1","Info: Found text in security policy: github.com/markbattistella/.github/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T04:55:29.000Z","repository_id":42189226,"created_at":"2025-08-21T04:55:29.000Z","updated_at":"2025-08-21T04:55:29.000Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chart","docsify","docsify-js","docsify-plugin","graph"],"created_at":"2024-12-16T06:25:25.522Z","updated_at":"2026-02-14T18:32:55.718Z","avatar_url":"https://github.com/markbattistella.png","language":null,"readme":"\u003cdiv align=\"center\" class=\"gh\"\u003e\n\n# docsify.js charty\n\n\u003c/div\u003e\n\nThis plugin enhances your Docsify documentation by adding SVG charts to your website. It allows you to add in multiple types of charts, including pie, doughnut, sectional, radar, area, scatter, line, and bar types. By utilising this plugin, you can easily show your data in a beautiful interface.\n\n## Installation\n\n### Update `index.html` file\n\nAssuming you have a working [docsify](https://docsify.js.org/) framework set up, it is easy to use the plugin.\n\n1. Add the following script and stylesheet to your `index.html` via either CDN or downloading it and using it locally:\n\n    ```html\n    \u003c!-- unpkg.com --\u003e\n    \u003cscript src=\"https://unpkg.com/@markbattistella/docsify-charty@latest/dist/docsify-charty.min.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"stylesheet\" href=\"https://unpkg.com/@markbattistella/docsify-charty@latest/dist/docsify-charty.min.css\"\u003e\n\n    \u003c!-- jsDelivr --\u003e\n    \u003cscript src=\"https://cdn.jsdelivr.net/npm/@markbattistella/docsify-charty@latest\"\u003e\u003c/script\u003e\n    \u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@markbattistella/docsify-charty@latest/dist/docsify-charty.min.css\"\u003e\n\n    \u003c!-- locally --\u003e\n    \u003cscript src=\"docsify-charty.min.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"stylesheet\" href=\"docsify-charty.min.css\"\u003e\n    ```\n\n1. In docsify setup, configure the plugin:\n\n    ```js\n    \u003cscript\u003e\n    window.$docsify = {\n      charty: {\n\n        // Global theme for chart colours in HEX\n        theme: '.',\n\n        // Accepts \"dark\" or \"light\"\n        mode: \"light\",\n\n        // Boolean to enable or disable debug messages\n        debug: false\n      }\n   };\n   \u003c/script\u003e\n   ```\n\n## Configuration\n\nThere are several options available for the docsify-charty plugin:\n\n\u003e Example: [index.html](https://github.com/markbattistella/docsify-charty/blob/b792e7701e740587f48598c7b61bc7f7ea39c366/docs/index.html#L36-L40)\n\n| Name    | Type      | Example   |  Description                              |\n|---------|-----------|-----------|-------------------------------------------|\n| `theme` | `String`  | \"#EE5599\" | Global theme for chart colours in HEX     |\n| `mode`  | `String`  | \"light\"   | Accepts \"dark\" or \"light\"                 |\n| `debug` | `Boolean` | false     | Console logs if charts aren't loading     |\n\n### Per chart settings\n\n| Name              | Accepts       | Description                              |\n|-------------------|---------------|------------------------------------------|\n| `title`           | `String`      | The title of the chart, displayed at the top. Leave blank if you want to hide it |\n| `caption`         | `String`      | The sub-text of the chart, displayed under the title. Leave blank to hide it |\n| `type`            | `String`      | The type of charty you want to display   |\n| `options.theme`   | `String`      | Set an individual theme to this chart. It will override the global theme |\n| `options.legend`  | `Boolean`     | Show the legend. Default `true`          |\n| `options.labels`  | `Boolean`     | Show the chart labels. Default `true`    |\n| `options.numbers` | `Boolean`     | Show the chart numbers. Default `true`   |\n| `data.label`      | `String`      | Graphed data point label                 |\n| `data.value`      | `Int / Array` | Graphed value that puts it on the render |\n| `data.colour`     | `String`      | Override the global and theme with a specific colour |\n\n### Markdown code\n\n```js\n```charty\n{\n  \"title\":   '',\n  \"caption\": '',\n  \"type\":    '',\n  \"options\": {\n    \"theme\":   '',\n    \"legend\":  '',\n    \"labels\":  '',\n    \"numbers\": ''\n  },\n  \"data\": [\n    {\n      \"label\": '',\n      \"value\": '',\n      \"colour\": ''\n    }\n  ]\n}\n\\`\\`\\`\n```\n\n## Types of charts\n\n### Circular\n\n#### Pie chart\n\n![docsify-charty: pie](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/pie.jpg)\n\n#### Donut / Doughnut chart\n\n![docsify-charty: donut](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/donut.jpg)\n\n#### Section / Sectional chart\n\n![docsify-charty: section](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/section.jpg)\n\n#### Rings chart\n\n![docsify-charty: rings](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/rings.jpg)\n\n### Area\n\n#### Radar chart\n\n![docsify-charty: radar](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/radar.jpg)\n\n#### Area chart\n\n![docsify-charty: area](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/area.jpg)\n\n### Plot\n\n#### Scatter chart\n\n![docsify-charty: scatter](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/scatter.jpg)\n\n#### Bubble chart\n\n![docsify-charty: bubble](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/bubble.jpg)\n\n#### Line chart\n\n![docsify-charty: line](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/line.jpg)\u003cbr\u003e\n![docsify-charty: line](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/line-stack.jpg)\n\n### Bar / Column\n\n### Bar / Bar-stack chart\n\n![docsify-charty: line](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/bar.jpg)\u003cbr\u003e\n![docsify-charty: line](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/bar-stack.jpg)\n\n### Column / Column-stack chart\n\n![docsify-charty: line](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/column.jpg)\u003cbr\u003e\n![docsify-charty: line](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/column-stack.jpg)\n\n### Rating\n\n![docsify-charty: line](https://raw.githubusercontent.com/markbattistella/docsify-charty/main/docs/demo/rating.jpg)\n\n## Contributing\n\n1. Clone the repo: `git clone https://github.com/markbattistella/docsify-charty.git`\n\n1. Create your feature branch: `git checkout -b my-feature`\n\n1. Commit your changes: `git commit -am 'Add some feature'`\n\n1. `Push` to the branch: `git push origin my-new-feature`\n\n1. Submit the `pull` request\n","funding_links":["https://www.paypal.me/markbattistella/5AUD","https://www.paypal.me/markbattistella/10AUD","https://www.paypal.me/markbattistella/20AUD"],"categories":["Plugins"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkbattistella%2Fdocsify-charty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkbattistella%2Fdocsify-charty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkbattistella%2Fdocsify-charty/lists"}