Skip to content

A online compiler to compile code in 8 different languages without going through the hassle of a local setup

Notifications You must be signed in to change notification settings

arshGoyalDev/compilerz

Repository files navigation

Compilerz

A online compiler to compile code in 8 different languages without going through the hassle of a local setup

Features

  • TypeScript - For type safety and improved developer experience
  • TanStack Router - File-based routing with full type safety
  • TailwindCSS - Utility-first CSS for rapid UI development
  • Express - Fast, unopinionated web framework
  • Turborepo - Optimized monorepo build system
  • Codemirror - Code editor UI and extensions for different languages
  • Docker - For running container for different languages

Supported Languages

Getting Started

Local Setup

  • First, install the dependencies:
pnpm install
  • Make sure docker is running in the background

  • Then, run the development server:

pnpm dev

Docker Setup (Preferred)

docker build -t compilerz .

docker run -it -v /var/run/docker.sock:/var/run/docker.sock -p 3000:3000 -p 8000:8000 compilerz

Open http://localhost:3000 in your browser to see the web application. The API is running at http://localhost:8000.

Project Structure

compilerz/
├── apps/
│   ├── web/         # Frontend application (React + TanStack Router + TailwindCSS)
│   └── server/      # Backend API (Express)

Available Scripts

  • pnpm dev: Start all applications in development mode
  • pnpm build: Build all applications
  • pnpm dev:web: Start only the web application
  • pnpm dev:server: Start only the server
  • pnpm check-types: Check TypeScript types across all apps

About

A online compiler to compile code in 8 different languages without going through the hassle of a local setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published