TypeLabs

January 22, 2025 ยท View on GitHub

A modern, customizable typing application inspired by monkeytype built with React, TypeScript, and Vite. Practice your typing skills with a beautiful interface and extensive theme customization.

Features

  • ๐ŸŽจ 160+ Built-in themes
  • ๐ŸŽต Spotify integration for music playback
  • โšก๏ธ Fast and responsive typing experience
  • โŒจ๏ธ Keyboard shortcuts support
  • Sound effects and volume controls
  • Custom font support

Tech Stack

  • React 18
  • TypeScript
  • Vite
  • Tailwind CSS
  • Zustand (State Management)
  • React Query
  • Shadcn UI Components
  • Spotify Web API

Getting Started

Installation

  1. Clone the repository:
git clone https://github.com/frstycodes/typelabs.git
cd typelabs
  1. Install dependencies:
bun install
  1. Create a .env file in the root directory with your Spotify API credentials:
VITE_SPOTIFY_CLIENT_ID=your_client_id
  1. Start the development server:
bun run dev

Building for Production

To create a production build:

bun run build

Project Structure

typelabs/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/    # React components
โ”‚   โ”œโ”€โ”€ hooks/         # Custom React hooks
โ”‚   โ”œโ”€โ”€ state/         # Zustand store and state management
โ”‚   โ”œโ”€โ”€ styles/        # Theme definitions and global styles
โ”‚   โ”œโ”€โ”€ utils/         # Utility functions
โ”‚   โ””โ”€โ”€ config/        # Configuration files
โ”œโ”€โ”€ public/            # Static assets

License

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

Acknowledgments