Getting your code in
From your AI
Most projects reach BitHut through your AI. You say “Put this project on BitHut”, and the AI picks one of three ways, depending on what it can do. You do not choose the way yourself; this page explains what you see in each case.
AI that runs commands: one upload command
Claude Code, Codex, Cursor and other AIs that work in a folder on your computer get a one-time command from BitHut and run it in the project folder. The command packs the folder, uploads it and prints the deploy result. The AI reads the result and fixes problems by itself.
- The command works once and for 30 minutes.
- It waits up to 4 minutes for the result.
AI in a chat: files passed directly
Claude in the browser or desktop app, ChatGPT and other chat AIs cannot run commands on your computer. When the AI wrote the code in the chat, it passes the files to BitHut directly, including the file that lists dependencies (package.json, requirements.txt). It never includes .env.
AI in a chat: a page where you drop the folder
When the project is too big to pass as files, or its files are not in the chat, the AI gives you a link. Open it, and drag the project folder onto the page, or click to choose it.
- The page packs the folder in your browser.
- It uploads it and shows the result: It is online., or what went wrong.
- Tell your AI it is done. It checks the result and fixes the code if needed.
The link works once and for 30 minutes. If it expired, ask your AI for a new one.
What is left out
Whichever way, these never reach BitHut:
.envand.env.somethingfiles..env.exampleand.env.sampleare kept..git, the folder with the history of the code.- Installed dependencies:
node_modules,.venv,venv. BitHut installs them itself. - Caches and editor folders, such as
__pycache__,.next,.cache,.idea,.vscode,.DS_Store.
When a .env file was left out, BitHut tells your AI which key names it defined and which of them the project does not have yet. Then the AI gives you a link to paste the keys in the cabinet, or a command that sends the .env file’s keys straight to BitHut.
Size limits
- Up to 100 MB packed.
- Up to 300 MB or 30,000 files unpacked.
Build output, datasets and dependencies are usually what makes a folder too big. They are not needed: BitHut builds the project and installs dependencies itself. Data your project needs can be sent separately; see the Data section.