{"id":26221007,"url":"https://github.com/croct-tech/templates","last_synced_at":"2025-06-13T04:33:26.261Z","repository":{"id":279244688,"uuid":"938135945","full_name":"croct-tech/templates","owner":"croct-tech","description":"A library of curated templates for UI components, projects, and personalization strategies.","archived":false,"fork":false,"pushed_at":"2025-02-27T14:29:06.000Z","size":65,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T04:09:38.407Z","etag":null,"topics":["cms","croct","magicui","nextjs","react","shadcn","tailwindcss","ui"],"latest_commit_sha":null,"homepage":"htttps://croct.com/templates","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/croct-tech.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":"2025-02-24T13:32:25.000Z","updated_at":"2025-03-06T11:53:09.000Z","dependencies_parsed_at":"2025-02-24T15:45:55.641Z","dependency_job_id":"7c6362ed-011f-4f5f-bd4b-58ea54072dad","html_url":"https://github.com/croct-tech/templates","commit_stats":null,"previous_names":["croct-tech/templates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croct-tech%2Ftemplates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croct-tech%2Ftemplates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croct-tech%2Ftemplates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croct-tech%2Ftemplates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/croct-tech","download_url":"https://codeload.github.com/croct-tech/templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243248981,"owners_count":20260765,"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":["cms","croct","magicui","nextjs","react","shadcn","tailwindcss","ui"],"created_at":"2025-03-12T15:51:21.427Z","updated_at":"2025-03-12T15:51:21.926Z","avatar_url":"https://github.com/croct-tech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://croct.com\" target=\"_blank\"\u003e\n    \u003cpicture\u003e\n        \u003csource media=\"(min-width: 769px) and (prefers-color-scheme: light)\" srcset=\"https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-light.svg\"\u003e\n        \u003csource media=\"(min-width: 769px) and (prefers-color-scheme: dark)\" srcset=\"https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-dark.svg\"\u003e\n        \u003csource media=\"(max-width: 768px) and (prefers-color-scheme: dark)\" srcset=\"https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-dark-mobile.svg\"\u003e\n        \u003csource media=\"(max-width: 768px) and (prefers-color-scheme: light)\" srcset=\"https://github.com/croct-tech/plug-js/blob/master/.github/assets/header-light-mobile.svg\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/croct-tech/plug-js/refs/heads/update-readme/.github/assets/header-light-mobile.svg\" alt=\"Croct Templates\" title=\"Croct Templates\" width=\"100%\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003cbr/\u003e\n  \u003cstrong\u003eCroct Templates\u003c/strong\u003e\u003cbr/\u003e\n  A library of curated templates for UI components, projects, and personalization strategies.\n\u003c/p\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003cstrong\u003e📘 \u003ca href=\"https://croct.com/templates\"\u003eBrowse templates \u0026rarr;\u003c/a\u003e\u003c/strong\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\n## Introduction\n\nWe're creating the largest **CMS-powered UI component library** — think of it as [`shadcn`](https://github.com/shadcn-ui/ui) for CMS. \n\nJust run `croct use \u003ctemplate\u003e` to integrate a component into your application with **CMS, analytics, A/B testing, and personalization**.\n\n### What's Croct?\n\nCroct is a **Component CMS** designed for modern stacks with a developer-first mindset.\nBuilt by seasoned open-source contributors, we offer a **💚 forever-free plan** — no credit card required — perfect for most teams and projects.\n\n### 👉 Try it in Next.js\n\nTo use it with [Next.js](https://nextjs.org/), run:\n\n```sh\ncroct use nextjs:/croct\n```\n\nThis will either set up a new Next.js project or add the component to an existing one, fully configured.\n\n## Installation\n\nTo use the Croct CLI, you need to have [Node.js](https://nodejs.org/) installed. \n\nYou can install the CLI globally using NPM:\n\n```sh\nnpm install -g croct\n```\n\nOr run it directly using `npx`:\n\n```sh\nnpx croct@latest use \u003ctemplate-url\u003e\n```\n\n## Basic usage\n\nTo use a template, **copy the URL** of the template you want to use and run:\n\n```sh\ncroct use \u003ctemplate-url\u003e\n```\n\nFor example:\n\n```sh\ncroct use https://github.com/croct/templates/tree/main/templates/magicui/ui/marquee\n```\n\nThis command will fetch and apply the template to your project automatically.\n\nFor more information, check the [documentation](https://docs.croct.com/reference/cli).\n\n### Aliases\n\nWe support aliases for popular libraries, so you can skip the full URL. For example, to use the [Marquee](https://magicui.design/docs/components/marquee) component from [Magic UI](https://magicui.design/), you can run:\n\n```sh\ncroct use magicui:/ui/marquee\n```\n\nOr use the component's registry URL:\n\n```sh\ncroct use https://magicui.design/r/marquee\n```\n\n### Supported aliases\n\nThese are the currently supported aliases:\n\n| Project      | Short URL                          | Alternative URL                               |\n|--------------|------------------------------------|-----------------------------------------------|\n| **Any**      | `github:/\u003cuser\u003e/\u003crepo\u003e/\u003ctemplate\u003e` | `https://github.com/\u003cuser\u003e/\u003crepo\u003e/\u003ctemplate\u003e` |\n| **NPM**      | `npm:/\u003cpackage\u003e`                   | -                                             |\n| **Croct**    | `croct:/\u003ctemplate\u003e`                | -                                             |\n| **Next.js**  | `nextjs:/\u003ctemplate\u003e`               | -                                             |\n| **Shadcn**   | `shadcn:/\u003ctemplate\u003e`               | -                                             |\n| **Magic UI** | `magicui:/\u003ctemplate\u003e`              | `https://magicui.design/r/\u003ccomponent\u003e`        |\n\nTo add a new alias, open a pull request with the new entry in the [registry](templates/registry.json5).\n\n## Contribute\n\nContributions are always welcome!\n\n- Report any bugs or issues on the [issue tracker](https://github.com/croct-tech/templates/issues).\n- For major changes, please [open an issue](https://github.com/croct-tech/templates/issues) first to discuss what you would like to change.\n\n###  New templates\n\nThe best way to create a new template is to **base it on an existing one**. However, if you want to start from scratch, you can use:\n\n```sh\nnpx croct create template --empty\n```\n\nThis will generate a minimal template file ready for customization.\n\n### Folder structure\n\nThis repository contains a structured folder system for organizing templates:\n\n```\ntemplates/\n ├── [organization]/\n │   ├── example/\n │   │   ├── template.json5\n │   ├── another-example/\n │   │   ├── template.json5\n```\n\nThe `[organization]` should be the company's domain without `.com`, `.io`, or similar. For example, for `croct.com`, the folder name should be `croct`.\n\n### Documentation\n\nCheck the [documentation](https://docs.croct.com/reference/cli/templates) for more information on how to create and publish templates.\n\n## License\n\nThis library is licensed under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroct-tech%2Ftemplates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcroct-tech%2Ftemplates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroct-tech%2Ftemplates/lists"}