MeaChat
Docs / Getting Started

Getting Started

Welcome to the Cooper documentation! This guide will help you get your project up and running in minutes.

Installation

First, clone the repository to your local machine:

git clone https://github.com/Gladtek/Cooper.git
cd Cooper

Next, install the dependencies:

npm install

Running Locally

Start the development server:

npm run dev

Open your browser and navigate to http://localhost:4321 to see the site in action.

Project Structure

Here’s a quick look at how the project is organized:

src/
β”œβ”€β”€ components/        # Reusable components
β”‚   β”œβ”€β”€ blog/          # Blog & Portfolio cards/items
β”‚   β”œβ”€β”€ common/        # Shared global tools
β”‚   β”œβ”€β”€ islands/       # Interactive React components
β”‚   β”œβ”€β”€ layout/        # Structural atoms (Section, Grid)
β”‚   β”œβ”€β”€ sections/      # Marketing blocks (Hero, Features)
β”‚   └── ui/            # Basic UI parts (Button, Badge)
β”œβ”€β”€ content/           # Content Collections (Blog, Docs)
β”œβ”€β”€ layouts/           # Page wrappers
β”œβ”€β”€ pages/             # File-based routing
β”œβ”€β”€ styles/            # CSS & Tailwind setup
└── site.config.ts     # Global settings

Customization

Theming

You can easily customize the primary brand color and other site settings in src/site.config.ts.

// src/site.config.ts
export const siteConfig = {
  name: 'Cooper',
  description: 'Premium Astro Boilerplate',
  primaryColor: '#C400EB', // Update this to your brand color
};

To update the header links, modify src/components/Header.astro.

Deployment

This Boilerplate is ready to deploy to Vercel, Netlify, or any static hosting provider. Just run:

npm run build

This will generate a dist folder with your static site.

Next Steps

Check out the Components Guide to see the included premium components in action and learn how to customize them.