likhonsheikh commited on
Commit
21586b9
Β·
verified Β·
1 Parent(s): 317110b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +191 -8
README.md CHANGED
@@ -1,10 +1,193 @@
1
- ---
2
- title: Deepsite Ai Coding
3
- emoji: πŸ“‰
4
- colorFrom: green
5
- colorTo: blue
6
- sdk: docker
7
- pinned: false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ # DeepSite - AI-Powered Vibe Coding Platform
2
+
3
+ A modern, AI-powered coding platform built with **Next.js 15** and **AI SDK Elements** that integrates generative AI into your coding projects to enhance creativity and productivity. Support for multiple AI models including DeepSeek-V3, Kimi-K2, Qwen, and more.
4
+
5
+ ![DeepSite Platform](https://img.shields.io/badge/Platform-Next.js%2015-blue)
6
+ ![AI SDK](https://img.shields.io/badge/AI%20SDK-Elements-green)
7
+ ![TypeScript](https://img.shields.io/badge/TypeScript-5.0-blue)
8
+ ![Tailwind CSS](https://img.shields.io/badge/Tailwind%20CSS-4.0-cyan)
9
+
10
+ ## πŸš€ Features
11
+
12
+ ### Core Functionality
13
+ - **AI-Powered Code Editor**: Monaco Editor with intelligent code completion and syntax highlighting
14
+ - **Multi-Model Support**: Switch between different AI models (DeepSeek, Kimi, Qwen, Llama, and more)
15
+ - **Real-time AI Assistance**: Get help with code, debugging, and programming concepts
16
+ - **Conversational Interface**: Natural language interaction with AI for coding tasks
17
+ - **Code Generation**: Generate functions, algorithms, and complete applications
18
+ - **Model Selection**: Choose from 20+ supported AI models across multiple providers
19
+
20
+ ### Supported AI Models
21
+ - **DeepSeek Series**: V3-0324, R1-0528, V3.1, V3.2-Exp
22
+ - **Qwen Series**: Qwen3 Coder 480B, Qwen2.5 VL 7B
23
+ - **Kimi Series**: K2-Instruct, K2-Thinking
24
+ - **Open Source Models**: Llama 3.1/3.3/4 Scout, Gemma 3
25
+ - **Other Models**: GLM-4.6, MiniMax M2
26
+
27
+ ### Technical Stack
28
+ - **Frontend**: Next.js 15, React 19, TypeScript
29
+ - **Styling**: Tailwind CSS 4, shadcn/ui components
30
+ - **Code Editor**: Monaco Editor
31
+ - **AI Integration**: AI SDK Elements with multi-provider support
32
+ - **Providers**: Hugging Face, OpenAI, Anthropic, Google, and more
33
+
34
+ ## πŸ› οΈ Installation
35
+
36
+ ### Prerequisites
37
+ - Node.js 18+
38
+ - npm, yarn, or pnpm
39
+ - At least one AI provider API key
40
+
41
+ ### Quick Start
42
+
43
+ 1. **Clone and Install**
44
+ ```bash
45
+ git clone <repository-url>
46
+ cd deepsite-ai-sdk
47
+ npm install
48
+ ```
49
+
50
+ 2. **Environment Setup**
51
+ ```bash
52
+ cp .env.example .env.local
53
+ # Edit .env.local with your API keys
54
+ ```
55
+
56
+ 3. **Get API Keys**
57
+ - **Hugging Face** (Recommended - Free tier available):
58
+ - Visit [Hugging Face](https://huggingface.co/settings/tokens)
59
+ - Generate a new access token
60
+ - **OpenAI**: [OpenAI API Keys](https://platform.openai.com/api-keys)
61
+ - **Anthropic**: [Anthropic Console](https://console.anthropic.com/)
62
+
63
+ 4. **Run Development Server**
64
+ ```bash
65
+ npm run dev
66
+ ```
67
+
68
+ 5. **Open in Browser**
69
+ ```
70
+ http://localhost:3000
71
+ ```
72
+
73
+ ## 🎯 Usage
74
+
75
+ ### Code Editor
76
+ 1. **Write Code**: Use the Monaco editor with full-featured JavaScript support
77
+ 2. **Get AI Help**: Ask questions about your code in natural language
78
+ 3. **Code Generation**: Request AI to generate functions, algorithms, or complete features
79
+ 4. **Debugging**: Ask AI to help identify and fix issues in your code
80
+
81
+ ### AI Assistant Chat
82
+ - **General Questions**: Ask about programming concepts, best practices
83
+ - **Code Review**: Request code analysis and improvement suggestions
84
+ - **Learning**: Get explanations of code patterns and algorithms
85
+ - **Problem Solving**: Discuss coding challenges and get guidance
86
+
87
+ ### Model Selection
88
+ - Choose from 20+ AI models in the header dropdown
89
+ - Models are organized by provider (Hugging Face, OpenAI, etc.)
90
+ - Each model has a specific category (Reasoning, Code, Vision, General)
91
+ - Switch models based on your specific task requirements
92
+
93
+ ## πŸ”§ Configuration
94
+
95
+ ### API Key Setup
96
+ The application supports multiple AI providers. Configure at least one:
97
+
98
+ ```env
99
+ # Primary (Hugging Face - Free tier available)
100
+ HUGGINGFACE_API_KEY=your_key_here
101
+
102
+ # Optional (for additional models)
103
+ OPENAI_API_KEY=your_openai_key
104
+ ANTHROPIC_API_KEY=your_claude_key
105
+ GOOGLE_API_KEY=your_gemini_key
106
+ ```
107
+
108
+ ### Model Customization
109
+ Models are configured in `components/providers.tsx`. You can:
110
+ - Add new models
111
+ - Modify model categories
112
+ - Configure provider settings
113
+
114
+ ### UI Customization
115
+ - Edit `tailwind.config.ts` for styling changes
116
+ - Modify components in `components/ui/` for UI elements
117
+ - Update themes in `app/globals.css`
118
+
119
+ ## πŸ—οΈ Project Structure
120
+
121
+ ```
122
+ deepsite-ai-sdk/
123
+ β”œβ”€β”€ app/ # Next.js 15 app router
124
+ β”‚ β”œβ”€β”€ api/completion/ # AI completion API endpoint
125
+ β”‚ β”œβ”€β”€ globals.css # Global styles
126
+ β”‚ β”œβ”€β”€ layout.tsx # Root layout
127
+ β”‚ └── page.tsx # Main page
128
+ β”œβ”€β”€ components/ # React components
129
+ β”‚ β”œβ”€β”€ ui/ # shadcn/ui base components
130
+ β”‚ β”œβ”€β”€ code-editor.tsx # Monaco editor component
131
+ β”‚ β”œβ”€β”€ model-selector.tsx # AI model selector
132
+ β”‚ β”œβ”€β”€ conversation-panel.tsx # Chat interface
133
+ β”‚ └── providers.tsx # AI SDK providers
134
+ β”œβ”€β”€ lib/ # Utilities
135
+ β”‚ └── utils.ts # Helper functions
136
+ β”œβ”€β”€ package.json # Dependencies
137
+ β”œβ”€β”€ tailwind.config.ts # Tailwind configuration
138
+ └── tsconfig.json # TypeScript configuration
139
+ ```
140
+
141
+ ## πŸ€– AI SDK Elements Integration
142
+
143
+ This project leverages **AI SDK Elements** to provide:
144
+
145
+ - **Provider Abstraction**: Unified interface for multiple AI providers
146
+ - **Streaming Support**: Real-time AI responses
147
+ - **Type Safety**: Full TypeScript support for AI operations
148
+ - **Component Library**: Pre-built AI-native UI components
149
+ - **Model Management**: Easy switching between AI models
150
+
151
+ ## πŸ“š Available Scripts
152
+
153
+ - `npm run dev` - Start development server
154
+ - `npm run build` - Build for production
155
+ - `npm run start` - Start production server
156
+ - `npm run lint` - Run ESLint
157
+
158
+ ## πŸ” Security & Privacy
159
+
160
+ - **API Keys**: Never commit your API keys to version control
161
+ - **Local Processing**: All code editing happens locally in your browser
162
+ - **API Calls**: AI requests are sent directly to provider APIs
163
+ - **Environment Variables**: Sensitive data stored in environment variables only
164
+
165
+ ## 🀝 Contributing
166
+
167
+ 1. Fork the repository
168
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
169
+ 3. Commit your changes (`git commit -m 'Add amazing feature'`)
170
+ 4. Push to the branch (`git push origin feature/amazing-feature`)
171
+ 5. Open a Pull Request
172
+
173
+ ## πŸ“„ License
174
+
175
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
176
+
177
+ ## πŸ™ Acknowledgments
178
+
179
+ - **AI SDK Elements** - Component library for AI-native applications
180
+ - **shadcn/ui** - Beautiful and accessible UI components
181
+ - **Monaco Editor** - VS Code's editor in the browser
182
+ - **Hugging Face** - AI model hosting and APIs
183
+ - **Next.js Team** - Amazing React framework
184
+
185
+ ## πŸ†˜ Support
186
+
187
+ - **Documentation**: Check the `/docs` folder for detailed guides
188
+ - **Issues**: Report bugs and request features via GitHub Issues
189
+ - **Community**: Join our discussions in GitHub Discussions
190
+
191
  ---
192
 
193
+ **Built with ❀️ by MiniMax Agent using AI SDK Elements and Next.js 15**