GitHunt
PP

pphatdev/studio

A beautiful visual editor for creating stunning GitHub statistics cards with real-time preview and customization options.

GitHub Stats Studio

A beautiful visual editor for creating stunning GitHub statistics cards with real-time preview and customization options.

Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio


Nuxt
Vue
Tailwind CSS
TypeScript

โœจ Features

  • ๐ŸŽจ Visual Editor - Intuitive interface for customizing GitHub stats cards
  • ๐Ÿ‘๏ธ Real-time Preview - See your changes instantly with live preview
  • ๐Ÿ–ผ๏ธ Multiple Templates - Choose from various pre-designed templates
  • โšก Customizable Options - Fine-tune every aspect of your stats card
  • ๐Ÿ” Zoom Controls - Zoom in/out and pan for detailed preview
  • ๐Ÿ“‹ One-click Copy - Copy generated URLs with a single click
  • ๐ŸŽ‰ Delightful UX - Smooth animations and confetti celebrations
  • ๐Ÿ“ฑ Responsive Design - Works seamlessly on all devices

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18.x or higher
  • npm, pnpm, yarn, or bun

Installation

  1. Clone the repository:
git clone https://github.com/pphatdev/studio.git
cd studio
  1. Install dependencies:
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev

๐Ÿ—๏ธ Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview

๐Ÿ“ Project Structure

studio.stats.pphat.top/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ assets/
โ”‚   โ”‚   โ””โ”€โ”€ css/           # Global styles
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”œโ”€โ”€ icons/         # Icon components
โ”‚   โ”‚   โ”œโ”€โ”€ sidebar/       # Sidebar components
โ”‚   โ”‚   โ””โ”€โ”€ studio/        # Studio preview components
โ”‚   โ”œโ”€โ”€ composables/
โ”‚   โ”‚   โ””โ”€โ”€ useStats.ts    # Stats management composable
โ”‚   โ”œโ”€โ”€ pages/
โ”‚   โ”‚   โ””โ”€โ”€ index.vue      # Main studio page
โ”‚   โ””โ”€โ”€ utils/
โ”‚       โ”œโ”€โ”€ data.json      # Configuration and templates
โ”‚       โ”œโ”€โ”€ themes.ts      # Theme definitions
โ”‚       โ””โ”€โ”€ utils.ts       # Utility functions
โ”œโ”€โ”€ public/                # Static assets
โ”œโ”€โ”€ nuxt.config.ts         # Nuxt configuration
โ””โ”€โ”€ package.json           # Project dependencies

๐Ÿ› ๏ธ Tech Stack

  • Framework: Nuxt 4 - The Intuitive Vue Framework
  • UI Library: Vue 3 - The Progressive JavaScript Framework
  • Styling: Tailwind CSS 4 - Utility-first CSS framework
  • Language: TypeScript - JavaScript with syntax for types
  • Effects: canvas-confetti - Confetti celebrations

๐Ÿ“ Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run generate - Generate static site
  • npm run preview - Preview production build
  • npm run prettier - Format code with Prettier

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ‘ค Author

Sophat LEAT (pphatdev)

๐Ÿ™ Acknowledgments

  • Built with Vue and Nuxt
  • Styled with Tailwind CSS
  • Icons and UI components custom-designed