Skip to content

cybe4sent1nel/CODERIPPER

Repository files navigation

CodeRipper Logo

🚀 CodeRipper

Next-Generation Online Code Compiler & AI-Powered Editor

FeaturesDemoInstallationDeploymentTech StackDeveloper

Next.js TypeScript TailwindCSS Monaco Editor


✨ Features

🎯 Core Features

  • Multi-Language Support - Python, JavaScript, TypeScript, Java, C++, C, Go, Rust, Ruby, PHP, Swift, Kotlin, Scala, R, and more
  • AI-Powered Assistance - Code explanation, optimization, debugging, review, and comment generation
  • Real-Time Code Execution - Execute code instantly with the Piston API
  • Monaco Editor - VS Code's powerful editor with IntelliSense, syntax highlighting, and more

🎮 Gamification

  • Global Leaderboard - Compete with developers worldwide
  • Daily Challenges - AI-generated coding challenges
  • Achievement Badges - 21 unique achievements across 5 tiers (Bronze → Diamond)
  • Streak System - Track your coding consistency

🎨 UI/UX

  • Dark/Light Mode - Beautiful theme switching
  • Responsive Design - Works on desktop, tablet, and mobile
  • Smooth Animations - Powered by Framer Motion
  • Keyboard Shortcuts - Boost your productivity

💼 Enterprise Features

  • Code Snippets - Save and share your code
  • User Authentication - Secure login system
  • Premium Tiers - Pro features for power users

🖥️ Demo

Visit CodeRipper to try it out!


🚀 Installation

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Go 1.20+ (optional, for local exec-engine)

Quick Start

# Clone the repository
git clone https://github.com/fahadkhan/coderipper.git
cd coderipper

# Install dependencies
npm install
cd web && npm install

# Set up environment variables
cp web/.env.example web/.env.local
# Edit web/.env.local with your OPENROUTER_API_KEY

# Start development server
npm run dev

The app will be available at http://localhost:3000

Environment Variables

Variable Required Description
OPENROUTER_API_KEY Yes API key from OpenRouter
NEXT_PUBLIC_APP_URL No Your app URL (default: http://localhost:3000)
AI_MODEL_PRIMARY No Primary AI model (default: free model)

🌐 Deployment

Vercel (Recommended)

  1. Fork this repository
  2. Import to Vercel
  3. Add environment variables:
    • OPENROUTER_API_KEY (required)
    • NEXT_PUBLIC_APP_URL (your production URL)
  4. Deploy!

Docker

docker-compose up -d

🛠️ Tech Stack

Category Technologies
Frontend Next.js 14, React 18, TypeScript
Styling TailwindCSS, Framer Motion
Editor Monaco Editor (VS Code)
AI OpenRouter API (GPT-4, Claude, Gemini, Llama)
Execution Piston API, Custom Go Engine
Auth JWT, Custom Auth Context
Database PostgreSQL (optional)

📁 Project Structure

coderipper/
├── web/                    # Next.js frontend
│   ├── components/         # React components
│   ├── pages/              # Next.js pages
│   ├── lib/                # Utilities & services
│   ├── contexts/           # React contexts
│   └── styles/             # Global styles
├── services/
│   └── exec-engine/        # Go code execution service
├── infra/                  # Infrastructure configs
└── tests/                  # E2E tests

👨‍💻 Developer

Fahad Khan

Fahad Khan

Full Stack Developer & Software Engineer

GitHub LinkedIn Twitter


📄 License

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


🙏 Acknowledgments


Made with ❤️ by Fahad Khan

If you found this project useful, please consider giving it a ⭐!

About

Next‑Gen Online Code Compiler – A secure, multi‑language cloud compiler with React, TailwindCSS, Go, Python, and Docker/Kubernetes. Features include AI‑assisted debugging, real‑time collaboration, gamified badges, code visualization, and PWA/mobile support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors