awe docs

Everyday use

Cloud and Mac: the two homes

Your awe lives in one place at a time: on your own computer, or in awe’s cloud. That place is its home. The home is where your memory is kept and where your texts are answered. This page explains the difference, what moves when you change homes, and what never moves. It is for anyone deciding where to run awe, or about to move.

The move was built for the Mac first, so awe’s own messages say “your Mac”. Where Windows differs, this page says so.

The two homes

awe on your own computer A cloud awe
Where it runs Your Mac, Windows or Linux computer, in the awe folder (~/awe for the Mac app) A private computer in awe’s cloud, one per person
When it answers While your computer is awake and online Any time. If it has been idle, your text wakes it (“Waking your awe… one moment.”)
Your memory Kept on your computer Kept in your cloud awe
Your files and apps Can find your files, use your apps (Notes and other Mac apps), and work in your own Chrome Has no access to your computer. It has its own files and its own browser in the cloud
Email and calendar After you connect Google or Microsoft 365 After you connect Google (you sign in from your phone)
Reminders, memory, errands on websites Yes Yes
The page you can open The console at http://127.0.0.1:8765 on that computer https://console.awe.run/, from any device

Texting works the same for both. You text the same number, and whichever home you have answers.

There is also a third, smaller thing: texting with no home at all. Before you install anything, awe’s texting service answers you itself. It can answer questions, search the web, find a time with someone and remember small things about you, but it cannot read your email, keep reminders or do tasks. See getting-started.md.

A cloud awe

A cloud awe is a full awe that happens to run on awe’s computers instead of yours. It suits you if you do not have a computer that stays on, or do not want to install anything.

  • Availability. Cloud awes are being opened to accounts a few at a time. If the cloud is not open to your account, awe tells you so when you ask to move, and nothing changes.
  • Its page. Text console to awe and it replies with a link. The first time, your phone creates a sign-in key with Face ID (or your fingerprint). After that, every link needs that key, so a link alone opens nothing. To add another phone or computer, open a link on it and follow “Add it”: an already signed-in device has to approve. The link works once, for 10 minutes. awe texts you whenever a sign-in key or a device is added. Text console off to end every open session.
  • What it cannot do. Anything that needs your own computer: your local files, Notes and other Mac apps, your own Chrome with its sign-ins. If you ask for one of those, it says plainly that it runs in the cloud.
  • Updates. A cloud awe is kept up to date for you.

What happens when your computer is off

If your home is your computer and it is asleep or off, you still get an answer by text, but from awe’s texting service, not from your awe. It cannot see your memory, files or apps. Requests that need your computer wait up to 12 hours and run when it wakes, and reminders due in the next 48 hours still arrive. Details: texting.md.

If that happens to you often, a cloud awe is the fix.

Moving from your Mac to the cloud

Start the move in any of these ways:

  • Text awe: move my awe to the cloud
  • In the chat on your Mac, open the + menu and choose Move my awe to the cloud…, then press Move to the cloud

What happens

  1. awe makes your cloud awe and starts holding your texts, so neither home answers half-moved.
  2. Your Mac packs up your awe and sends it. You get at most three short progress texts.
  3. The cloud awe unpacks it and starts. awe texts: “Your awe lives in the cloud now.”
  4. Texts you sent meanwhile are answered now.

It takes a few minutes. If anything fails, your awe stays on your Mac and nothing is lost. awe tells you the reason, for example that the cloud is not yet on your awe’s version (“Try again tomorrow”).

Afterwards, on the Mac

Your Mac keeps its copy from the day of the move and goes quiet. It no longer gets your texts. The chat and the console on the Mac show a panel instead:

Your awe lives in the cloud now. Texts and this chat now go to your cloud awe. It’s always on, even when this computer is off.

with an Open my awe button and the line “This computer keeps a copy of your awe from” followed by the date.

What moves, and what never moves

Moves Never moves
Your memory (everything awe has learned and been told) Sign-ins: Google, saved website logins, and the stored sign-ins for other connected services
Your notes and daily memory files The account settings in .env for that install
Skills you made, installed or that awe learned The keys that identify that computer and seal its saved logins
Schedules and reminders The browser profile awe uses there, and its downloaded browser
Your board A WhatsApp pairing made on that computer
Settings, conversations and uploaded files Logs, temporary files and local backups

Sign-ins stay behind on purpose. They were issued to one computer, and the key that protects them never leaves it. After a move, connect Google and your other services again once, from the new home: text connect my Google, or see connections.md.

The skills that ship with awe are not copied either. Each home has its own set, matched to its version.

Moving back to your Mac

You can come back at any time. You need the Mac that moved (it still has awe installed), switched on, with awe running.

Start the move back in either way:

  • On the Mac, open awe. On the “Your awe lives in the cloud now” panel, press Move my awe back to this computer.
  • Text your cloud awe: move my awe back to my Mac. It replies that your Mac will pick this up in a minute or two once awe is open on it, and keeps answering until then.

What happens

  1. Your texts are held.
  2. The cloud awe stops and packs up your awe.
  3. The Mac downloads it and checks that it arrived intact.
  4. awe on the Mac restarts for a moment and unpacks it. The copy the Mac had been keeping is set aside in a folder named .awe-home-replaced- followed by a date, inside the awe folder. It is not deleted.
  5. awe texts: “Your awe is back on your Mac.” Held texts are answered, and the cloud awe is removed.

If the move back does not finish, your awe stays in the cloud and nothing is lost.

When it will not start

awe says What to do
This Mac’s awe is older than your cloud awe Update awe on the Mac first, then try again.
The last try didn’t finish a moment ago Wait a couple of minutes and try again.
A move is already going Wait for it to finish.
Moving your awe back isn’t ready on Windows yet A move back cannot run on a Windows computer yet. Your awe stays in the cloud.

After moving back, connect Google and your other services again on the Mac. Once you have checked everything is there, you can delete the .awe-home-replaced- folder to free the space.

Doing it by hand

The same packing and unpacking is available as two commands, run from the awe folder. They are useful for a backup, or for moving an awe between two of your own computers.

Pack this awe into one file. This is safe while awe is running:

./awe-core home export --out awe-home.zip

It prints one line with the number of files, bytes, memories, skills and schedules.

Unpack a file into an awe folder. Stop awe first (./stop-awe.sh), then:

./awe-core home import awe-home.zip

home import protects you in four ways:

  • It checks every file in the bundle before it writes anything.
  • It refuses a bundle made by a newer version of awe. Update first.
  • It refuses to run while awe is running in that folder.
  • It refuses an awe that already has memories, unless you add --replace. With --replace the existing home is moved aside, never deleted, and the command tells you where:
./awe-core home import awe-home.zip --replace

Both commands take --root <folder> to work on an awe folder other than the current one, and --json for a result a script can read. Neither ever touches .env or the keys of the install it runs in. Start awe again with ./start-awe.sh.

For scripts

The console of an awe on your own computer has three routes for the move. The two that start a move need the console’s admin token: the contents of .awe/console.token in the awe folder, sent as Authorization: Bearer <token>.

curl -s http://127.0.0.1:8765/api/move/status
curl -s -X POST http://127.0.0.1:8765/api/move/back \
  -H "Authorization: Bearer $(cat .awe/console.token)"
Route What it does
GET /api/move/status Whether a move is possible here, the current state (moving, moved or none), progress, and whether a move back is available
POST /api/move/to-cloud Starts the move to the cloud. Same as the texted request
POST /api/move/back On a Mac whose awe moved: starts the move back

On a cloud awe, the two POST routes answer 404 and the status route answers {"available": false}.