Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Humyang/agicodehub

Open more actions menu

Repository files navigation

AGICodeHub

A modern documentation and knowledge hub built with VitePress, Vue 3, and TypeScript.

🚀 Features

  • Fast & Lightweight: Powered by VitePress for lightning-fast static site generation.
  • Modern Styling: Integrated with Tailwind CSS for utility-first styling.
  • Type Safe: Built with TypeScript for better developer experience and code reliability.
  • Code Quality: Configured with ESLint and Stylelint to maintain high code standards.

🛠️ Tech Stack

  • Framework: Vue 3 + VitePress
  • Language: TypeScript
  • Styling: Tailwind CSS + Stylus
  • Package Manager: PNPM
  • Linting/Formatting: ESLint, Stylelint

📋 Prerequisites

Ensure you have the following installed:

  • Node.js (Check .nvmrc for the recommended version)
  • PNPM (Package manager)

📦 Installation

  1. Clone the repository

    git clone https://github.com/Humyang/agicodehub.git
    cd agicodehub
  2. Install dependencies

    pnpm install
  3. Install global tools (Optional) The project references esbuild-runner for running scripts:

    npm install -g esbuild-runner

💻 Usage

Development Server

Start the local development server to view the site.

pnpm dev
# OR typically for VitePress
pnpm docs:dev

Build for Production

Build the static site for deployment.

pnpm build
# OR
pnpm docs:build

Linting

Check and fix code style issues.

pnpm lint

(Note: Check the package.json file for the exact script names if the above do not work.)

📂 Project Structure

.
├── .vitepress/      # VitePress configuration and cache
├── scripts/         # Utility scripts (e.g., build or maintenance scripts)
├── src/             # Main source code and content (Markdown files, components)
├── generate_favicons.py # Python script for asset generation
├── tailwind.config.js   # Tailwind CSS configuration
├── tsconfig.json    # TypeScript configuration
├── package.json     # Project dependencies and scripts
└── Readme.md        # Project documentation

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

MIT .

About

this is a theme of vitepress

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.