{"id":24087937,"url":"https://github.com/tinybirdco/guide-tinybird-charts","last_synced_at":"2025-05-05T21:40:55.367Z","repository":{"id":243917281,"uuid":"813057652","full_name":"tinybirdco/guide-tinybird-charts","owner":"tinybirdco","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-24T10:04:19.000Z","size":350,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T23:51:13.840Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://guide-tinybird-charts.vercel.app","language":"TypeScript","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/tinybirdco.png","metadata":{"files":{"readme":"README.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-06-10T12:12:02.000Z","updated_at":"2025-03-14T02:48:39.000Z","dependencies_parsed_at":"2024-06-16T15:47:07.758Z","dependency_job_id":"6a206d6d-8748-4037-8f78-cd5e3f829b61","html_url":"https://github.com/tinybirdco/guide-tinybird-charts","commit_stats":null,"previous_names":["tinybirdco/guide-tinybird-charts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fguide-tinybird-charts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fguide-tinybird-charts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fguide-tinybird-charts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fguide-tinybird-charts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinybirdco","download_url":"https://codeload.github.com/tinybirdco/guide-tinybird-charts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252581797,"owners_count":21771568,"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":"2025-01-10T03:56:15.725Z","updated_at":"2025-05-05T21:40:55.315Z","avatar_url":"https://github.com/tinybirdco.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Add Tinybird Charts to a Next.js frontend\n\nThis repo contains a minimal example demonstrating:\n\n1. Creating Tinybird Charts from the UI\n2. Integrating Tinybird Charts into a Next.js frontend\n\nYou can read more about Tinybird Charts in the [documentation](https://www.tinybird.co/docs/publish/charts), and there is a full [end-to-end guide](https://www.tinybird.co/docs/guides/integrate/add-charts-to-nextjs) covering this example.\n\n## Run the example locally\n\n### Prerequisites\n\n- Node.js \u003e= v18\n- A [free Tinybird account](https://tinybird.co)\n- Deploy the [Tinybird resources](/tinybird) to a Tinybird Workspace\n\n### Install dependencies\n\nInstall app dependencies. From the root of the repo:\n\n```bash\npnpm install\n```\n\n### Add your Tinybird parameters\n\nFirst create a new file `.env.local`\n```bash\ncp .env.example .env.local\n```\n\nFrom the Tinybird UI, copy the read Token for the charts (if you deployed the resources from this repo, it will be called `CHART_READ_TOKEN`). Paste the Token into the `.env.local` file in your directory:\n\n```bash\nNEXT_PUBLIC_TINYBIRD_STATIC_READ_TOKEN=\"STATIC READ TOKEN\"\n```\n\n### Run the demo app\n\nRun it locally:\n\n```bash\npnpm run dev\n```\n\nThen open [http://localhost:3000](http://localhost:3000) with your browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinybirdco%2Fguide-tinybird-charts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinybirdco%2Fguide-tinybird-charts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinybirdco%2Fguide-tinybird-charts/lists"}