mayur
November 11, 2024, 6:12am
1
Is it even possible, technically speaking to have bolt import our existing repos from other projects and be able to work with them?
i was wondering the same thing, a Zip file import of existing projects would be awesome:)
1 Like
Not yet
There is PR here
coleam00:main
â muzafferkadir:main
opened 12:08AM - 03 Nov 24 UTC
# Uploading File Integration for AI Chat Interactions
## Features Added
- Ad⊠ded ability to upload local files directly into the chat interface
- Added support for uploading entire folders with multiple files
- Integrated file contents seamlessly into the chat history
- Real-time parsing and display of uploaded files in the workbench
## Technical Implementation
- Implemented `addCustomFile` and `addCustomFolder` functions in Chat.client.tsx
- Added new UI buttons in EditorPanel.tsx for file and folder uploads
- Extended workbench store to handle new file operations
- Files are stored with unique IDs and properly formatted for chat display
## UI Changes
- New "Upload File" button with file upload icon
- New "Upload Folder" button with folder plus icon
- Intuitive file selection interface using native file picker
## Benefits
- Enables users to directly manipulate project files through chat interface
- Streamlines workflow for adding multiple files simultaneously
- Maintains chat history with uploaded file contents
- Improves project collaboration capabilities
## How to Use
1. Click "Upload File" to add a single file
2. Click "Upload Folder" to add multiple files from a directory
3. Files appear in chat history and workbench for AI interaction
4. Make changes through chat interface as needed
This PR enhances the project's functionality by allowing seamless integration of local files into the AI chat workflow, making it more powerful and user-friendly.
And based on it we may want to add GitHub import too later
1 Like
Like with bolt.new where you put the repo in the URL https://bolt.new/~/github.com/xxxx/yyyy
2 Likes
nicolas
November 11, 2024, 9:59pm
5
Hello,
I thought that the âSync filesâ would help doing that ?
As I clic on it it says that it can list the files of the directory, but using the terminal, LS does not list any files (?)
Am I missing something ?
this fork has feature of uploading project to bolt.new
main
Prompt, run, edit, and deploy full-stack web applications using any LLM you want! - atrokhym/bolt.new-any-llm
here a video: