{"id":21169024,"url":"https://github.com/cosmicjs/blocks","last_synced_at":"2025-07-09T18:31:47.071Z","repository":{"id":218585178,"uuid":"700949192","full_name":"cosmicjs/blocks","owner":"cosmicjs","description":"React components for building Cosmic powered websites and apps.","archived":false,"fork":false,"pushed_at":"2024-12-12T18:38:02.000Z","size":71922,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-10T09:18:56.073Z","etag":null,"topics":["api","headless-cms","nextjs","react","tailwindcss"],"latest_commit_sha":null,"homepage":"https://blocks.cosmicjs.com","language":"TypeScript","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/cosmicjs.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}},"created_at":"2023-10-05T15:54:34.000Z","updated_at":"2025-02-14T01:24:29.000Z","dependencies_parsed_at":"2024-05-04T20:27:15.874Z","dependency_job_id":"08ca2006-1c1e-4e2e-87b0-f00086251f70","html_url":"https://github.com/cosmicjs/blocks","commit_stats":null,"previous_names":["cosmicjs/blocks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cosmicjs/blocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmicjs","download_url":"https://codeload.github.com/cosmicjs/blocks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fblocks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502387,"owners_count":23618587,"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":["api","headless-cms","nextjs","react","tailwindcss"],"created_at":"2024-11-20T15:21:34.380Z","updated_at":"2025-07-09T18:31:41.664Z","avatar_url":"https://github.com/cosmicjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://blocks.cosmicjs.com\"\u003e\n  \u003cimg src=\"https://github.com/cosmicjs/blocks/assets/26257029/2e2962f4-37e7-479e-9588-ddd261d11790\" /\u003e\n\u003c/a\u003e\n\n# Blocks\n\n[Blocks](https://blocks.cosmicjs.com) are React components for building Cosmic powered websites and apps. Use Blocks to build website features such as landing pages, blogs, image galleries, events, and more.\n\n## Get started\n\n[View all Blocks](https://blocks.cosmicjs.com)\n\n[Explore the demo](https://cosmic-agency-template.vercel.app)\n\n## Features\n\n⚡️ Performance optimized\n\n👁 Draft preview ready\n\n🛍 Ecommerce built-in\n\n📱 Mobile responsive\n\n🌎 Localization ready\n\n🌓 Dark mode ready\n\n🔧 Customizable\n\n♿️ Accessible\n\n🦺 Type safe\n\n## Blocks include\n\n- Landing page\n- Blog\n- Ecommerce (powered by Stripe 🛒)\n- Contact form (powered by Resend ✉️)\n- Events\n- FAQs\n- Testimonials\n- Navigation\n- Comments\n- Image gallery\n- File upload\n- and more!\n\n## Built with\n\n- React Server Components\n- Tailwind CSS\n- TypeScript\n- Next.js\n\n## Contributing\n\n1. Download this code repository and install the dependencies.\n\n```bash\ngit clone https://github.com/cosmicjs/blocks\ncd blocks\nbun install\n```\n\n2. Create a `.env.local` file with your Cosmic API keys. Find these after logging in to the Cosmic dashboard in [Project \u003e API keys](https://app.cosmicjs.com/?redirect_to=?highlight=api-keys). (Ask [Cosmic support](https://www.cosmicjs.com/contact) for a bucket export file to connect Blocks dynamic content.)\n\n```\ncp .env.example .env.local\n```\n\nIt will look like this:\n\n```\n# .env.local\nNEXT_PUBLIC_SOURCE_BUCKET_SLUG=change_to_your_bucket_slug\nNEXT_PUBLIC_SOURCE_READ_KEY=change_to_your_bucket_read_key\n```\n\n3. Run the app.\n\n```\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000).\n\n## License\n\nLicensed under the [MIT license](https://github.com/cosmicjs/blocks/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmicjs%2Fblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fblocks/lists"}