{"id":16820002,"url":"https://github.com/dansholds/astro-shadcn-starter","last_synced_at":"2025-06-24T08:03:25.680Z","repository":{"id":250547024,"uuid":"834731122","full_name":"dansholds/astro-shadcn-starter","owner":"dansholds","description":"An Astro project with shadcn configured and ready to go out of the box.","archived":false,"fork":false,"pushed_at":"2024-09-30T22:55:59.000Z","size":129,"stargazers_count":38,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-20T01:44:53.994Z","etag":null,"topics":["astro","react","shadcn","shadcn-ui","starter","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://astroshadcnstarter.netlify.app","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/dansholds.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":"2024-07-28T07:26:05.000Z","updated_at":"2025-06-17T20:45:42.000Z","dependencies_parsed_at":"2025-04-11T03:06:22.260Z","dependency_job_id":"95a034b7-f475-4982-a989-4637ca4ef395","html_url":"https://github.com/dansholds/astro-shadcn-starter","commit_stats":null,"previous_names":["dansholds/astro-shadcn-starter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dansholds/astro-shadcn-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansholds%2Fastro-shadcn-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansholds%2Fastro-shadcn-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansholds%2Fastro-shadcn-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansholds%2Fastro-shadcn-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dansholds","download_url":"https://codeload.github.com/dansholds/astro-shadcn-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dansholds%2Fastro-shadcn-starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261632032,"owners_count":23187268,"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":["astro","react","shadcn","shadcn-ui","starter","tailwindcss","typescript"],"created_at":"2024-10-13T10:55:17.381Z","updated_at":"2025-06-24T08:03:25.652Z","avatar_url":"https://github.com/dansholds.png","language":"TypeScript","funding_links":[],"categories":["Boilerplates \u0026 Starters"],"sub_categories":[],"readme":"# Astro + Shadcn Starter\n\nWelcome to the Astro + Shadcn Starter Template! This project is designed to help you get started quickly with [Astro](https://astro.build) and [Shadcn UI](https://ui.shadcn.com). It includes Tailwind CSS for styling and React for building interactive components.\n\n![astroxshadcn](https://github.com/user-attachments/assets/99b0b2a1-3ef9-4f28-a347-91c665279c2d)\n\n## Table of Contents\n\n- [Features](#features)\n- [Getting Started](#getting-started)\n- [Project Structure](#project-structure)\n- [Usage](#usage)\n- [Important Notes About Astro \u0026 Shadcn](#important)\n\n## Features\n\n- 🚀 **Astro** - Modern static site generator.\n- 🎨 **Shadcn UI** - Beautifully designed components built with Radix UI and Tailwind CSS.\n- 📦 **Tailwind CSS** - Utility-first CSS framework.\n- 🔥 **React** - Library for building user interfaces.\n\n## Getting Started\n\nFollow these instructions to set up the project locally.\n\n### Prerequisites\n\nEnsure you have the following installed:\n\n- [Node.js](https://nodejs.org/en/download/)\n- [npm](https://www.npmjs.com/get-npm)\n\n### Installation\n\n1. **Clone the repository**:\n\n    ```sh\n    git clone https://github.com/your-username/astro-shadcn-starter.git\n    cd astro-shadcn-starter\n    ```\n\n2. **Install dependencies**:\n\n    ```sh\n    npm install\n    ```\n\n3. **Start the development server**:\n\n    ```sh\n    npm run dev\n    ```\n\n    Open [http://localhost:3000](http://localhost:3000) in your browser to see the result.\n\n## Project Structure\n```\n├── public # Static assets\n├── src\n│ ├── components # React components\n│ ├────ui # Shadcn installed components\n│ ├── layouts # Layout components\n│ ├── pages # Astro pages\n│ ├── styles # Global styles\n│ └── utils # Utility functions\n├── astro.config.mjs # Astro configuration\n├── tailwind.config.mjs # Tailwind CSS configuration\n└── package.json # Project metadata and dependencies\n```\n\n## Usage\n\n### Adding a New Page\n\nTo add a new page, create a new `.astro` file in the `src/pages` directory.\n\nExample:\n\n```astro\n---\nimport Layout from '../layouts/Layout.astro';\n---\n\n\u003cLayout title=\"New Page\"\u003e\n  \u003ch1\u003eNew Page\u003c/h1\u003e\n  \u003cp\u003eThis is a new page.\u003c/p\u003e\n\u003c/Layout\u003e\n```\n\n## Important\n\nDue to the static and island based nature of Astro, a lot of Shadcn components won't work out of the box, \nsome components such as the Avatar require more work on your side to enable them to work (see `src/components/Avatar.tsx`).\n\nYou can find useful information on this from the following links:\n\n- [Issues with Astro Islands when using Shadcn](https://github.com/shadcn-ui/ui/issues/2249)\n- [Abstract components into react, ts components](https://github.com/shadcn-ui/ui/issues/2890)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdansholds%2Fastro-shadcn-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdansholds%2Fastro-shadcn-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdansholds%2Fastro-shadcn-starter/lists"}