|
1 |
| -# silent-coder |
| 1 | +# Cluelessly Coder |
2 | 2 |
|
3 |
| -An Electron application with React and TypeScript |
| 3 | +A powerful desktop application that helps developers solve coding problems by analyzing screenshots of code and providing AI-powered solutions. Built with Electron, React, and TypeScript. |
| 4 | + |
| 5 | +## Features |
| 6 | + |
| 7 | +- 📸 Capture code screenshots and get instant solutions |
| 8 | +- 🤖 AI-powered code analysis and problem-solving |
| 9 | +- 📝 Multiple AI provider support (OpenAI, Google Gemini) |
| 10 | +- 🎨 Clean, modern UI with dark/light themes |
| 11 | +- ⚡ Fast and responsive performance |
| 12 | +- 🔒 Local processing of sensitive data |
| 13 | +- 🖥️ Cross-platform support (Windows, macOS, Linux) |
4 | 14 |
|
5 | 15 | ## Recommended IDE Setup
|
6 | 16 |
|
7 | 17 | - [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
|
8 | 18 |
|
9 | 19 | ## Project Setup
|
10 | 20 |
|
11 |
| -### Install |
| 21 | +### Prerequisites |
| 22 | + |
| 23 | +- Node.js 18+ (Recommended: Latest LTS version) |
| 24 | +- npm, yarn, or pnpm package manager |
| 25 | +- Git (for development) |
| 26 | + |
| 27 | +### Installation |
12 | 28 |
|
13 | 29 | ```bash
|
14 |
| -$ pnpm install |
| 30 | +# Clone the repository |
| 31 | +git clone https://github.com/Xeven777/clueless-coder.git |
| 32 | +cd clueless-coder |
| 33 | + |
| 34 | +# Install dependencies |
| 35 | +pnpm install |
| 36 | +``` |
| 37 | + |
| 38 | +### Configuration |
| 39 | + |
| 40 | +1. Create a `.env` file in the root directory |
| 41 | +2. Add your API keys: |
| 42 | + |
| 43 | +```env |
| 44 | +OPENAI_API_KEY=your_openai_api_key |
| 45 | +GEMINI_API_KEY=your_gemini_api_key |
15 | 46 | ```
|
16 | 47 |
|
17 | 48 | ### Development
|
18 | 49 |
|
19 | 50 | ```bash
|
20 |
| -$ pnpm dev |
| 51 | +pnpm dev |
21 | 52 | ```
|
22 | 53 |
|
23 | 54 | ### Build
|
24 | 55 |
|
| 56 | +For Windows: |
| 57 | + |
25 | 58 | ```bash
|
26 |
| -# For windows |
27 |
| -$ pnpm build:win |
| 59 | +pnpm build:win |
| 60 | +``` |
28 | 61 |
|
29 |
| -# For macOS |
30 |
| -$ pnpm build:mac |
| 62 | +For macOS: |
31 | 63 |
|
32 |
| -# For Linux |
33 |
| -$ pnpm build:linux |
| 64 | +```bash |
| 65 | +pnpm build:mac |
34 | 66 | ```
|
| 67 | + |
| 68 | +For Linux: |
| 69 | + |
| 70 | +```bash |
| 71 | +pnpm build:linux |
| 72 | +``` |
| 73 | + |
| 74 | +## Usage |
| 75 | + |
| 76 | +1. Launch the application |
| 77 | +2. Take a screenshot of your code problem |
| 78 | +3. The app will analyze the code and provide solutions |
| 79 | +4. Browse through different solution approaches |
| 80 | +5. Copy the code solution or debug information |
| 81 | + |
| 82 | +## Keyboard Shortcuts |
| 83 | + |
| 84 | +- `Ctrl+Shift+S`: Take a screenshot |
| 85 | +- `Esc`: Hide the application window |
| 86 | +- `Ctrl+,`: Open settings |
| 87 | + |
| 88 | +## Technologies Used |
| 89 | + |
| 90 | +- Electron |
| 91 | +- React |
| 92 | +- TypeScript |
| 93 | +- Vite |
| 94 | +- Tailwind CSS |
| 95 | +- OpenAI API |
| 96 | +- Google Gemini API |
| 97 | +- React Query |
| 98 | +- Zod |
| 99 | + |
| 100 | +## Contributing |
| 101 | + |
| 102 | +Contributions are welcome! Please feel free to submit a Pull Request. |
| 103 | + |
| 104 | +1. Fork the repository |
| 105 | +2. Create your feature branch (`git checkout -b feature/amazing-feature`) |
| 106 | +3. Commit your changes (`git commit -m 'Add some amazing feature'`) |
| 107 | +4. Push to the branch (`git push origin feature/amazing-feature`) |
| 108 | +5. Open a Pull Request |
| 109 | + |
| 110 | +## License |
| 111 | + |
| 112 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 113 | + |
| 114 | +## Acknowledgments |
| 115 | + |
| 116 | +- Built with [Electron Vite](https://github.com/alex8088/electron-vite) |
| 117 | +- Icons by [Lucide](https://lucide.dev/) |
| 118 | +- UI components powered by [Radix UI](https://www.radix-ui.com/) |
0 commit comments