twurbun Tailwind Templates

Twurbun

A Turborepo template with a shared Tailwind v4 config, Biome for linting & formatting, and Bun for blazing-fast package management.

Turborepo Tailwind Template

Bun TailwindCSS Turborepo Biome

A modern, high-performance monorepo template powered by Bun and Turborepo, featuring shared Tailwind configuration for consistent styling across all applications.

✨ Features

  • āš”ļø Bun - Ultra-fast package management and runtime
  • šŸ“¦ Turborepo - Efficient monorepo management with intelligent build caching
  • šŸŽØ Shared Tailwind - Consistent styling across all applications
  • šŸ”§ Biome - Modern linting and formatting for consistent code style
  • šŸš€ Optimized Build System - Advanced caching for faster builds
  • šŸ“± Type Safety - Full TypeScript support across all packages

šŸš€ Getting Started

Prerequisites

  • Bun installed on your system

Installation

  1. Clone the repository:

    git clone https://github.com/shutock/twurbun.git
    cd twurbun
    
  2. Install dependencies:

    bun install
    
  3. Start development server:

    bun dev
    

šŸ“ Project Structure

ā”œā”€ā”€ apps/             # Application packages
│   ā”œā”€ā”€ _template/    # Template app with basic setup
│   └── root/         # Root application
ā”œā”€ā”€ configs/          # Shared configurations
│   ā”œā”€ā”€ tailwind/     # Shared Tailwind config
│   └── typescript/   # Shared TypeScript config
ā”œā”€ā”€ packages/         # Shared packages
│   ā”œā”€ā”€ ui/           # Shared UI components
│   └── utils/        # Shared utilities
ā”œā”€ā”€ .npmrc            # NPM configuration
ā”œā”€ā”€ biome.json        # Biome configuration
└── turbo.json        # Turborepo configuration

šŸ› ļø Available Commands

  • bun dev - Start development servers for all applications
  • bun run build - Build all applications and packages

šŸ”§ Using the Template

  1. Configure Tailwind

    • Modify shared styles in configs/tailwind/styles.css
    • Customize theme in tailwind.config.ts
  2. Add New Applications

    • Copy apps/_template/ to create new apps
    • Update application-specific configurations
  3. Extend Shared Packages

    • Add reusable components to packages/ui/
    • Create utility functions in packages/utils/

šŸ¤ Contributing

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

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

šŸ“ License

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


Built with ā¤ļø using Bun, Turborepo, and Tailwind CSS.

Top categories

Loading Svelte Themes