A modern, beautiful coding practice platform for competitive programming and algorithm challenges. Practice coding problems, prepare for contests, and improve your problem-solving skills with an intuitive interface.
Live Demo: algoryth.vercel.app
- Dark & Light Theme: Seamlessly switch between dark and light modes with a beautiful, consistent design
- Modern Design: Clean, minimalist interface with warm cream tones in light mode and sleek black/grey in dark mode
- Responsive Layout: Fully responsive design that works perfectly on all devices
| Home (Light) | Home (Dark) |
|---|---|
![]() |
![]() |
| Problems List | Workspace / Code Editor |
|---|---|
![]() |
![]() |
- Monaco Editor Integration: Full-featured code editor powered by Monaco (VS Code editor)
- Syntax Highlighting: Support for multiple programming languages (JavaScript, TypeScript, C++, Python - coming soon)
- Theme Sync: Editor theme automatically syncs with your app theme preference
- Split Pane Layout: Resizable panels for optimal coding experience
- Problem Browser: Browse through a curated list of coding problems
- Difficulty Levels: Problems categorized by difficulty (Easy, Medium, Hard)
- Tags & Filtering: Filter problems by tags and difficulty
- Problem Details: Comprehensive problem statements with examples, constraints, and test cases
- Search Functionality: Quick search for problems
- User Statistics: Track your rating and contributions
- Contest Information: Stay updated with ongoing contests
- Recommended Problems: Get started with curated problem recommendations
- Framework: Next.js 16.1.1 (App Router)
- UI Library: React 19.2.3
- Styling: Tailwind CSS v4
- Code Editor: Monaco Editor via
@monaco-editor/react - Fonts: Geist (Sans & Mono)
- Deployment: Vercel
- Node.js 18+
- npm, yarn, pnpm, or bun
-
Clone the repository
git clone https://github.com/dinesh-2047/Algoryth.git cd Algoryth -
Install dependencies
npm install # or yarn install # or pnpm install
-
Run the development server
npm run dev # or yarn dev # or pnpm dev
-
Open your browser
Navigate to http://localhost:3000 to see the application.
npm run build
npm startAlgoryth/
βββ src/
β βββ app/ # Next.js App Router pages
β β βββ api/ # API routes
β β β βββ health/ # Health check endpoint
β β β βββ problems/ # Problems API endpoints
β β βββ problems/ # Problems pages
β β β βββ [slug]/ # Dynamic problem detail page
β β β βββ page.jsx # Problems list page
β β βββ layout.jsx # Root layout with theme toggle
β β βββ page.jsx # Home page
β β βββ globals.css # Global styles & theme config
β βββ components/ # React components
β β βββ CodeEditor.jsx # Monaco editor wrapper
β β βββ ProblemWorkspace.jsx # Problem detail workspace
β β βββ SplitPane.jsx # Resizable split pane
β β βββ ThemeToggle.jsx # Dark/light theme toggle
β βββ lib/ # Utility functions
β βββ problems.js # Problem data & helpers
βββ public/ # Static assets
βββ package.json
βββ next.config.mjs
βββ tailwind.config.js
βββ README.md
Algoryth features a sophisticated theme system:
- Light Mode: Warm cream/orange tones (
bg-amber-50,bg-amber-100) for a comfortable, eye-friendly experience - Dark Mode: Pure black background (
bg-black) with dark grey cards (bg-zinc-900,bg-zinc-950) for a modern, sleek look - Theme Persistence: Your theme preference is saved in localStorage
- System Preference: Automatically detects and applies your system theme preference
We welcome contributions! Here's how to get started:
-
Fork & Clone
git clone https://github.com/YOUR_USERNAME/Algoryth.git cd Algoryth && npm install
-
Create Branch
git checkout -b feature/your-feature-name
-
Make Changes
- Follow existing code style
- Ensure both light/dark themes work
- Test your changes
-
Commit & Push
git commit -m "feat: add feature description" git push origin feature/your-feature-name -
Open Pull Request on GitHub with a clear description
- Commit Format: Use conventional commits (
feat:,fix:,docs:, etc.) - Code Style: Follow React/Next.js best practices, use Tailwind CSS
- Theme Support: All components must work in light and dark modes
- Testing: Test your changes before submitting
- π Bug fixes
- β¨ New features
- π Documentation improvements
- π¨ UI/UX enhancements
- β‘ Performance optimizations
Check Issues for ideas or open a new one to discuss your contribution!
This project is licensed under the MIT License - see the LICENSE file for details.
- Live Demo: algoryth.vercel.app
- GitHub Repository: github.com/dinesh-2047/Algoryth
- Issues: GitHub Issues
- Pull Requests: GitHub Pull Requests
Check out our Issues page for known bugs and feature requests.
For support, please open an issue on GitHub or check our Support Guide.
Made with β€οΈ by the Algoryth team
Star β this repo if you find it helpful!



