{"id":20716820,"url":"https://github.com/chartbrew/strapi-plugin-chartbrew","last_synced_at":"2025-08-21T03:32:11.983Z","repository":{"id":43533134,"uuid":"499754966","full_name":"chartbrew/strapi-plugin-chartbrew","owner":"chartbrew","description":"The official Strapi plugin that integrates Chartbrew charts in the Strapi dashboard","archived":false,"fork":false,"pushed_at":"2025-04-29T16:10:42.000Z","size":1829,"stargazers_count":22,"open_issues_count":6,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-15T08:13:08.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://chartbrew.com","language":"JavaScript","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/chartbrew.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,"zenodo":null}},"created_at":"2022-06-04T07:21:20.000Z","updated_at":"2025-05-03T09:40:04.000Z","dependencies_parsed_at":"2023-12-07T04:25:35.217Z","dependency_job_id":"2e793da5-ba04-424a-9d1d-0b60b40e80af","html_url":"https://github.com/chartbrew/strapi-plugin-chartbrew","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/chartbrew/strapi-plugin-chartbrew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartbrew%2Fstrapi-plugin-chartbrew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartbrew%2Fstrapi-plugin-chartbrew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartbrew%2Fstrapi-plugin-chartbrew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartbrew%2Fstrapi-plugin-chartbrew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chartbrew","download_url":"https://codeload.github.com/chartbrew/strapi-plugin-chartbrew/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartbrew%2Fstrapi-plugin-chartbrew/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271420488,"owners_count":24756572,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-17T03:06:51.339Z","updated_at":"2025-08-21T03:32:11.977Z","avatar_url":"https://github.com/chartbrew.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://chartbrew.com\"\u003e\n    \u003cimg src=\"https://chartbrew-static.b-cdn.net/chartbrew-strapi-plugin-1.png\" alt=\"Chartbrew logo\" width=\"200\"/\u003e\n  \u003c/a\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://discord.gg/KwGEbFk\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/discord/656557151048957995?label=Chartbrew Discord\" alt=\"\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eChartbrew plugin for Strapi\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003e\n    This is the official \u003ca href=\"https://chartbrew.com\"\u003eChartbrew\u003c/a\u003e plugin for \u003ca href=\"https://strapi.io\"\u003eStrapi\u003c/a\u003e. Chartbrew is an open-source web application that can connect directly to Strapi and other data sources and use the data to create beautiful charts. It features a chart builder, editable dashboards, embedable charts, query \u0026 requests editor, and team capabilities.\n  \u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n![](https://raw.githubusercontent.com/chartbrew/strapi-plugin-chartbrew/master/admin/src/assets/strapi-chartbrew-dashboard.jpg)\n\n\u003cbr /\u003e\n\n## ✨ Plugin features\n\n* Explore your Chartbrew dashboards directly on Strapi\n* Multi-dashboard support, can switch between them\n* Create dashboards from your collection types from the Strapi interface\n* Add charts to existing dashboards straight from Strapi\n* The charts are kept up-to-date automatically (you can set an update schedule on Chartbrew)\n\n## 📦 Plugin versions\n* If you are using Strapi v5 and Chartbrew v4, use version `3+`\n* If you are using Strapi v5 and Chartbrew v3, use version `2.x.x`\n* If you are using Strapi v4, use version `1.x.x`\n\n## 👋 Get started with Chartbrew\n\nTo use this plugin, you will need to have a Chartbrew account, or self-host the platform.\n\n### Chartbrew account\n\nChartbrew is offered as a managed service in exchange for a monthly subscription. This is the fastest way to get started and create visualizations in Strapi. Follow the instructions below to get started:\n\n1. [Create a new account here](https://app.chartbrew.com/signup)\n2. [Follow this tutorial](https://chartbrew.com/blog/how-to-create-api-keys-in-chartbrew/) to get a Chartbrew API Key to use for Strapi\n\n### Self-hosting\n\nChartbrew is 100% open-source and can be self-hosted. Check out some links to get you started:\n\n* 😺 [Chartbrew GitHub](https://github.com/chartbrew/chartbrew)\n* 📔 [Chartbrew docs](https://docs.chartbrew.com)\n* 🐳 [Get started with the Chartbrew Docker image](https://docs.chartbrew.com/deployment/#run-the-application-with-docker)\n* 🚀 [Deploy Chartbrew on Heroku \u0026 Vercel](https://chartbrew.com/blog/how-to-deploy-chartbrew-on-heroku-and-vercel/)\n\n## 🔧 Plugin Installation\n\nNavigate to the root of your Strapi folder and run the installation commands below.\n\nWith `npm`:\n\n```\nnpm install --save @chartbrew/plugin-strapi\n```\n\nWith `yarn`:\n\n```\nyarn add @chartbrew/plugin-strapi\n```\n\nAdd the following attribute in the `config/plugins.js` file:\n\n```\nchartbrew: true\n```\n\nOr if you do not have the `plugins.js` file yet, add the file with the following contents:\n\n```\nmodule.exports = () =\u003e ({\n  chartbrew: true,\n});\n```\n\nAnd finally, run the build command:\n\n```\nnpm run build\n```\n\nOr if you are using `yarn`:\n\n```\nyarn build\n```\n\n## ⚙️ Plugin settings\n\nIn order for the plugin to work properly, it needs the right credentials to authenticate with Chartbrew.\n\nThe plugin can also create charts straight from Strapi, but this needs access to Strapi through an API token.\n\nFollow the instructions below to learn how to configure the plugin.\n\n### Chartbrew connection\n\nIf you self-host Chartbrew, you will have to enter the frontend and backend addresses. The default values are:\n\n* Frontend: `http://localhost:4018`\n* Backend: `http://localhost:4019`\n\nIf you want to use the plugin with a managed service account at [chartbrew.com](https://chartbrew.com), click on the **Use managed Chartbrew address** button as shown below:\n\n![](https://raw.githubusercontent.com/chartbrew/strapi-plugin-chartbrew/master/admin/src/assets/chartbrew-connection.jpg)\n\n### Cannot authenticate with Chartbrew\n\n[**Read more here**](https://github.com/chartbrew/strapi-plugin-chartbrew/issues/13)\n\nIf you run both Strapi and Chartbrew on `localhost` or on a non-secure connection (http), you will need to tweak the Strapi security settings. To do this, open the `config/middlewares.js` file and add the following attribute:\n\n```\nmodule.exports = [\n...\n  {\n    name: 'strapi::security',\n    config: {\n      contentSecurityPolicy: {\n        useDefaults: true,\n        directives: {\n          'connect-src': [\"'self'\", 'http:', 'https:'],\n          upgradeInsecureRequests: null,\n        },\n      },\n    },\n  },\n...\n];\n```\n\nAnd don't forget to build the Strapi project again:\n\n```\n# npm\nnpm run build\n\n# yarn\nyarn build\n```\n\n### Create charts from Strapi\n\nYou can create charts directly from your Strapi dashboards. To do this, you will need to create a Strapi API Token and add it in the Chartbrew settings page.\n\n![](https://raw.githubusercontent.com/chartbrew/strapi-plugin-chartbrew/master/admin/src/assets/strapi-auth.jpg)\n\n## ⚠️ Dependencies\n\n* Strapi v5+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartbrew%2Fstrapi-plugin-chartbrew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchartbrew%2Fstrapi-plugin-chartbrew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartbrew%2Fstrapi-plugin-chartbrew/lists"}