1000 File Limit Import Folder

Hello, I used the search feature but I didn’t get any results.

I worked on a project on the bolt.new website and I’ve used some other LLM’s to keep building this project. I finally got a local version working of bolt.diy using Anthropic and chatGPT. I want to bring this project into my local install of bolt.diy.

I tried to clone my repo but I encountered many errors. I will upload some screenshots if needed but I also tried to import folder into Bolt and I guess my project has 40,000 files and there is a 1000 file limit. Is there a way around this limit or can I change the code in Bolt to allow larger folder input?

I need some help getting this project back into bolt.diy.

Thanks for any suggestions or fixes. Appreciate it.

I tried to clone the repository but

2 Likes

Currently bolt.diy sends all files to llm.
So even 10k files will be too much.

Though we may not filter out some technical files.
Is your project public or private. I could take a look.

2 Likes

Facing the same problem, if you find any details regarding it, please let me know.

1 Like

I need examples of repos to investigate further

Hello, thanks for your response. Here is my github link:

I went and deleted a ton of files that chatGPT said we can rebuild but I’m still lurking aroun 3950 files.

I appreciate you taking a look. I really need to get this project back inside bolt.diy so I can continue to build it out.

1 Like

I’m going to test this, I really just think it’s a problem with how Bolt.diy imports GitHub project. I have a difference method that is more reliable for me. It’s still a little hacky but I am working on a side project to replace the Web Container terminal altogether.

1 Like

I managed to import your project locally in latest dev version

Deployed lates here too but there seems to be some kinda of bug

So there it does not import, will need to investigate
Also run script to count files and got

  • 83 .tsx files (TypeScript React files)
  • 33 .ts files (TypeScript files)
  • 11 .js files (JavaScript files)
  • 8 .json files
  • 3 .html files
  • 2 .zip files
  • 2 .css files
  • 1 .webp file
  • 1 .gitignore file
  • 1 .gitattributes file
  • 1 .csv file
  • 1 .DS_Store file

That is far from 1000, so I wonder why in older version it thought that there were more then a 1000

Its still not a small project
Currently Bolt does not really support working well with such large project

I tried to do a rough count of tokens.
There are 605 thousands of characters in your repo
If one token is approximately 4 characters it makes it 151 thousand of tokens.

Most LLMs do not go beyond 128k
Gemin supports 1m tokens.

Appreciate your help. How were you able to import it? How can I check if I have the latest version of Bolt.diy?

Thank you!

Run this in terminal in project folder
git log -1 --format=%cd

For me it shows
Mon Jan 6 10:20:43 2025 -0600

1 Like

Appreciate your super quick response. I was able to clone the github repo right now. Hopefully it worked and I can keep building this project.

Thanks again!