Code Vortex is a powerful and intuitive web application designed for developers to write, execute, and share code snippets in real-time. Whether you're experimenting with a new language, collaborating on a piece of code, or saving useful snippets for later, Code Vortex provides a seamless and efficient platform for all your coding needs.
- 👨💻 Multi-Language Support: Write and execute code in a variety of popular languages, including JavaScript, Python, TypeScript, and more.
- 🚀 Real-Time Execution: Get instant feedback with a powerful code execution engine.
- 🔗 Snippet Sharing: Share your code snippets with a single click and collaborate with others.
- 🔐 Authentication: Secure user authentication and authorization powered by Clerk.
- 📊 User Statistics: Track your coding activity and see insightful statistics on your profile.
- 🖥️ Monaco Editor: A rich and performant code editor experience, the same one that powers VS Code.
- 🌗 Light & Dark Modes: Switch between themes for your preferred coding environment.
- 💰 Pro Tier with Stripe: Unlock premium features with a subscription plan managed through Lemon Squeezy and Stripe.
- Frontend: Next.js, React, TypeScript, Tailwind CSS
- Backend: Convex
- Authentication: Clerk
- Code Editor: Monaco Editor
- Payments: Lemon Squeezy, Stripe
- UI Components: Lucide React, Framer Motion
- State Management: Zustand
Code Vortex is built with a modern, serverless architecture:
- Next.js Frontend: The application's user interface is a Next.js application, providing server-side rendering, static site generation, and a great developer experience.
- Convex Backend: The backend logic, database, and real-time features are powered by Convex, a serverless platform that simplifies backend development.
- Clerk for Authentication: User management and authentication are handled by Clerk, providing a secure and easy-to-use solution.
To get a local copy up and running, follow these simple steps.
- Node.js (v18 or later)
- npm
- Clone the repository:
git clone https://github.com/akshat2635/code-vortex.git cd code-vortex - Install NPM packages:
npm install
- Set up Convex:
This will guide you through the process of setting up your Convex backend. You will need to create a
npx convex dev
.env.localfile and add your Convex deployment URL. - Set up Clerk:
- Create a Clerk account and a new application.
- Add your Clerk public and secret keys to your
.env.localfile.
- Run the development server:
npm run dev
- Open the application: Open http://localhost:3000 with your browser to see the result.
code-vortex
├── public
│ ├── screenshot-for-readme.png
│ └── ...other public assets
├── src
│ ├── components
│ │ ├── Editor.tsx
│ │ ├── Navbar.tsx
│ │ └── ...other components
│ ├── pages
│ │ ├── api
│ │ │ └── ...API routes
│ │ ├── _app.tsx
│ │ ├── _document.tsx
│ │ └── index.tsx
│ ├── styles
│ │ ├── globals.css
│ │ └── ...other styles
│ ├── utils
│ │ └── ...utility functions
│ └── ...other source files
├── .env.example
├── .gitignore
├── convex.json
├── package.json
└── tsconfig.jsonWe welcome contributions from the community! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeatureName. - Commit your changes:
git commit -m 'Add some feature'. - Push to the branch:
git push origin feature/YourFeatureName. - Open a pull request.
Please ensure your code adheres to our coding standards and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions or suggestions, feel free to reach out:
- Name: Akshat
- GitHub: akshat2635
- Email: akshatjain2635@gmail.com
