Amber stores your work as standard markdown and JSON files that sync automatically across all your devices via iCloud. Understand how storage works so you can work confidently offline and manage your files effectively.Documentation Index
Fetch the complete documentation index at: https://learn.withamber.com/llms.txt
Use this file to discover all available pages before exploring further.
Storage Overview
Your Amber workspace is organized into simple file and folder structures:- All content files are human-readable markdown
- Files work in any text editor
- Version control with Git is straightforward
- No proprietary binary formats
- Complete transparency into what’s stored
How Files Are Stored
Markdown Files (.md)
Your actual writing content:
- Sections (chapters, scenes)
- Notes (quick reference)
- Sources (detailed reference material)
- Stored as plain text with markdown formatting
- Workspace root: main sections
Notes/folder: all notesSources/folder: all source material- Anywhere else: custom organization
- Human-readable and editable in any editor
- Git-compatible for version control
- No lock-in to Amber
- Future-proof format
- Smaller file size than alternatives
JSON Files (.json)
Structured data:
- Chat history with AI
- Metadata about workspace structure
- Conversation preservation
- Workspace root:
Chat History.json .amber/folder:metadata.json
Vector Embeddings (.amber/embeddings.db)
Local database for AI context:
- Encrypted vector embeddings of all content
- Enables smart context selection
- Synced via iCloud for instant AI on all devices
- Updated automatically when content changes
- Privacy: stays on your devices
- Speed: instant context selection
- Offline: works without internet
- Smart: understands meaning, not just keywords
iCloud Synchronization
Amber uses iCloud Drive to sync all files across your devices:Sync Architecture
How It Works
- Automatic Detection: Amber monitors your workspace folder
- Instant Write: Changes saved to markdown/JSON files immediately
- iCloud Sync: Files uploaded to iCloud within seconds
- Device Sync: iCloud syncs to other logged-in devices
- Amber Detects: Other devices see changes and update their state
Sync Timing
- Same device: Instant (typically
<1second) - Different devices on WiFi: Usually within 5-30 seconds
- Cellular only: May take 1-2 minutes
- Multiple large files: Scales with file size and connection
iCloud uploads at your network speed. Faster internet = faster sync. Files sync when changed, not on a schedule.
What Syncs
Always syncs:- Markdown content files
- Chat history
- Workspace metadata
- Vector embeddings for AI context
- amber.md steering file
- Amber application cache
- Temporary files
- UI state (scroll position, panel widths)
Offline Capabilities
Amber is designed for offline-first writing:Working Offline
When you don’t have internet:- Local editing works perfectly: Write, format, organize as normal
- Local AI available: Use offline Amber Copilot (no cloud AI)
- All content accessible: Your entire workspace is local
- Auto-save continues: Changes save to your device
What Happens When You Reconnect
- Amber detects internet connection
- All offline changes sync to iCloud immediately
- Other devices download your changes
- Full sync in minutes (depending on file size)
Offline Best Practices
- Work normally—sync happens automatically
- Use local AI models for offline sessions
- Create commits if using Git
- Don’t worry about losing changes—they’re on your device
Storage Locations
Where Your Workspace Lives
Default Location:~/Documents/Amber/Your Workspace/on your Mac
- Desktop, folder, external drive
- Anywhere iCloud Drive can access
- You control the location
- In Amber: File menu → Show in Finder
- Or navigate to where you created it
The .amber/ Hidden Folder
Contains system data:
- Hidden by default in Finder (files starting with
.are hidden) - Shows in Amber’s file browser
- Don’t delete or modify directly
- Amber manages this automatically
.amber/:
metadata.json: Document structure, workspace configembeddings.db: Vector embeddings for AI contextindex.db: Internal search index
- Keeps workspace view clean
- Prevents accidental deletion
- You don’t need to edit these files manually
- Press
⌘ + Shift + .to toggle hidden files - They’ll appear with lighter text color
Storage Management
Checking Storage Space
Your workspace uses:- Content files: Depends on your writing (typically 1-50MB for a novel)
- Vector embeddings: ~5-10% of content size
- Chat history: Small (typically under 1MB)
- Total: Usually under 100MB for a project
- System Preferences > General > Storage
- Amber helps you manage space with cleanup options
Deleting Sections or Projects
When you delete content in Amber:- File is moved to Trash (macOS Trash, not permanently deleted)
- Sync removes the file from iCloud
- Other devices remove the file from their local sync
- Chat history related to the content is preserved
- Empty your Mac’s Trash
- Changes sync to iCloud
- Deleted files removed from all devices
Archiving Old Projects
Keep your active workspace lean: Archive method 1: External drive- Export sections to external drive
- Delete from active workspace
- Keep backup for reference
- Commit final version to Git
- Tag the version:
git tag -a v1.0 - Push to GitHub
- Delete from workspace
- Clone back if needed
- Right-click workspace in Finder
- Select “Compress”
- Creates
.zipfile - Delete original, keep zip
File Synchronization Troubleshooting
Files aren’t syncing between devices
Check iCloud status:- System Preferences > [Your Name] > iCloud
- Verify iCloud Drive is enabled
- Check that your workspace folder is in iCloud Drive
- Sign out of iCloud: System Preferences > [Your Name] > iCloud
- Sign back in
- Re-enable iCloud Drive
- Wait for sync to complete
- Open workspace
- Press
⌘ + S(Force Save) - Changes should immediately upload to iCloud
Sync conflicts
iCloud automatically resolves conflicts when the same file is edited on multiple devices simultaneously:- Most recent version usually wins
- Other versions may create “conflicted copy”
- Amber detects conflicts and helps resolve
- Work on same workspace from one device at a time
- Or use different sections on different devices
- Sync completes within minutes, so stagger work
Files are too large to sync
Rare, but can happen with very large projects: Reduce file size:- Split large documents into sections
- Archive old content
- Remove unnecessary sources
- Delete redundant chat history
- Use Git as primary sync instead of iCloud
- Push to GitHub, pull on other devices
- More control over what syncs
Backing Up Your Work
Automatic Backups
iCloud automatically backs up:- All your markdown files
- Chat history
- Metadata
- On every device where you have the workspace
Manual Backups
Using Time Machine (recommended):- Automatically backs up your entire Mac hourly
- Includes your Amber workspace
- Easy recovery: Time Machine > Browse All Backups
- Copy workspace folder to Dropbox, Google Drive, etc.
- Manual backups for important milestones
- Redundant backup beyond iCloud
Best Backup Strategy
- Daily: Time Machine (automatic)
- Milestones: Git commits with tags
- Major versions: Push to GitHub
- Final drafts: Export to PDF/Markdown
Privacy & Security
Your Files Are Private
Local storage:- Files stored on your Mac (your hardware)
- You have physical access and control
- No external service accesses them
- Encrypted in transit
- Encrypted at rest on Apple servers
- Only accessible with your iCloud credentials
- Apple cannot read your content
- Encrypted local database
- Not uploaded unless you use cloud AI
- Stays on your devices
Sharing Workspaces
To share a workspace with a collaborator: Method 1: External drive- Copy workspace to external drive
- Share with collaborator
- They can edit with Amber
- Sync via external drive
- Push workspace to GitHub
- Add collaborators to repository
- Pull/push changes to collaborate
- No iCloud sync (Git handles sync)
- Share iCloud folder with family member
- Both access same workspace
- Limited conflict handling
- Requires careful coordination
Related Guides
- File Format & Storage - Detailed format explanation
- Auto-save & Version History - Saving and recovery
- Amber Copilot - Storing AI instructions
- Amber Copilot Sources - Reference material storage

