# Your project, off the laptop and always on

It works, but only while your computer is awake. Tell your AI “Move this project to BitHut”. It moves the code, the keys and the data, and checks it works before your laptop copy is turned off.

## Tell your AI

1. Connect BitHut to your AI (Claude, ChatGPT or Codex): add the address `https://api.bithut.app/mcp`. How: https://bithut.app/connect.md
2. Then tell it:

```
Move this project to BitHut
```

## How the move goes

1. **Connect BitHut once.** Add BitHut to Claude Code, Codex or Cursor: the move needs an AI that works in your project folder.
2. **Say it in your project.** Say “Move this project to BitHut”. Your AI looks at what the project needs and tells you what moves and what does not.
3. **It moves, paused.** Code, keys and data go to BitHut, but the project waits there, so it never runs in two places at once.
4. **You switch over.** Turn the laptop copy off. Your AI resumes the project on BitHut and checks it works.

## Keys and data move without passing through the chat

Your AI gets a one-time command and runs it on your computer:

- the keys from your `.env` file go straight into BitHut's secret storage, and the answer lists only their names;
- the database file or a folder of uploads goes onto the project's disk, with a copy of what was there before, and a SQLite database is checked after the move.

Your keys and data never appear in the conversation.

## What BitHut tells your AI before the switch

- a key that points at your laptop, such as `localhost`, which nothing online can reach;
- a database path that only exists on your computer;
- a setting the program needs but nobody has set.

## Nothing runs twice

A bot answering from two places, or a daily report sent twice, is the usual mess after a move. While the project is paused on BitHut, it does not run: a bot does not answer, a schedule does not fire. A script on a schedule can do one test run, and only with your OK. You turn the laptop copy off, then resume, and the project starts here.

## If something goes wrong

The data from before the move stays in the restore points for 7 days. Keep the laptop copy for a few days: if you need it, turn it back on.

## Templates to start from

- [Telegram bot](https://bithut.app/templates/telegram-bot.md): A bot in Telegram that does what you ask: answers customers, takes bookings, reminds, looks things up. It stays online even when your laptop is closed.
- [Daily report](https://bithut.app/templates/daily-report-to-telegram.md): Every morning it takes yesterday's numbers and sends a short summary to your team chat, your e-mail or both.
- [Dashboard from Google Sheets](https://bithut.app/templates/sheets-dashboard.md): A web page with charts from your Google Sheet, behind a password, for your team.
