(Add a banner image if available)
Codecraft AI is a lightweight, AI-assisted code editor designed to boost developer productivity with intelligent code suggestions, auto-completion, and quick fixes. Built with Next.js 15, Tailwind CSS, TypeScript, and ShadCN UI, it offers a seamless, intuitive coding experience.
š¹ Key Features:
Technology | Description |
---|---|
Next.js 15 | Modern React framework for performance & scalability |
Tailwind CSS | Utility-first CSS framework for styling |
TypeScript | Strongly typed JavaScript for better maintainability |
ShadCN UI | Beautiful and customizable UI components |
Gemini AI | AI-powered code assistance |
Clerk | Secure authentication with OAuth & 2FA |
Code Editor | AI Assistance | Custom Themes |
---|---|---|
ā Syntax highlighting (multiple themes)
ā Bracket matching & auto-indentation
ā Line numbering & word wrap
ā Collapsible file explorer
ā AI-driven auto-completion for function names & variables
ā Quick fix suggestions for syntax errors
ā AI-powered code documentation generation
ā Code snippet suggestions
ā Multi-user live editing (via WebSockets)
ā Live cursor tracking & in-editor comments
ā Activity log & basic version control
ā Clerk-based authentication (Google OAuth, email login, 2FA)
ā Private & public workspaces
ā Secure session management
ā Dark & light mode toggle
ā Customizable font size & color themes
ā Collapsible sidebar for maximum workspace
git clone https://github.com/Vijaysingh1621/codecraft-ai.git
cd codecraft-ai
npm install
Create a .env.local
file in the root directory and add the required API keys:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_api_key
npm run dev
š Open http://localhost:3000 to view it in your browser.
1ļøā£ Sign In: Authenticate using Google OAuth or email.
2ļøā£ Start Coding: Use the intelligent code editor with AI-powered assistance.
3ļøā£ Get AI Suggestions: Click on AI recommendations for auto-completions & fixes.
4ļøā£ Customize UI: Switch themes, adjust font size, and toggle dark/light mode.
5ļøā£ Future (Real-Time Collaboration): Invite other users for multi-user editing.
Contributions are welcome! Follow these steps:
git checkout -b feature-name
) git commit -m "Added new feature"
) git push origin feature-name
) ā
MVP Features: AI-powered suggestions, syntax highlighting, authentication.
š Next Steps: WebSockets for real-time multi-user editing.
š Future Enhancements: AI-based code refactoring, mobile-friendly UI, and more!
This project is licensed under the MIT License ā feel free to use and contribute!
š§ Email: your-email@example.com
š LinkedIn: Your LinkedIn
š GitHub: Your GitHub