Local-First Architecture
Auk stores all data on your local file system, giving you complete control and ownership of your API collections, environments, and history.File System Storage
All data stored as JSON files on your local disk
No Cloud Dependency
Works completely offline, no internet required
Full Control
You own and control all your data
Git-Friendly
Plain text JSON files work perfectly with Git
Storage Location
Default Locations
- macOS
- Windows
- Linux
Data Structure
Workspace Directory
Collection File Format
Collections are stored as JSON files:Environment File Format
Environments are stored as JSON files:Data Persistence
Automatic Saving
Auk automatically saves changes:- Immediate - Changes saved instantly to disk
- Atomic - File writes are atomic to prevent corruption
- Locked - File locking prevents concurrent write conflicts
File Watching
Auk monitors file changes:- Detects external modifications
- Reloads data automatically
- Prompts for conflict resolution if needed
Data Security
Local Security
File Permissions
File Permissions
Workspace files use restrictive permissions:
Secret Variables
Secret Variables
Environment variables marked as “secret”:
- Not displayed in UI by default
- Can be encrypted at rest (coming soon)
- Excluded from Git commits (if configured)
Disk Encryption
Disk Encryption
Use OS-level encryption:
- macOS: FileVault
- Windows: BitLocker
- Linux: LUKS
Git Security
When using Git sync:Data Migration
Export Data
Export workspace data:Import Data
Import from other tools:- Postman - Import Postman collections (v2.1)
- Insomnia - Import Insomnia exports
- OpenAPI - Import OpenAPI/Swagger specs
- Auk - Import Auk collections
Backup Strategies
Local Backup
- Manual Backup
- Time Machine (macOS)
- Automated Script
Git Backup
Using Git provides automatic backup:Performance Considerations
Large Collections
For workspaces with many collections:- Lazy Loading - Collections loaded on demand
- Indexing - Fast search across collections
- Pagination - History paginated by month
File System Limits
Be aware of file system limitations:| OS | Max Files per Directory | Max File Size |
|---|---|---|
| macOS (APFS) | Unlimited | 8 EB |
| Windows (NTFS) | 4,294,967,295 | 16 EB |
| Linux (ext4) | Unlimited | 16 TB |
Data Integrity
Corruption Prevention
Auk prevents data corruption:- Atomic Writes - Files written atomically
- Validation - JSON schema validation
- Checksums - File integrity checks
- Backups - Automatic backup before writes
Recovery
If data corruption occurs:- Auto-Recovery - Auk attempts automatic recovery
- Backup Restore - Restore from local backup
- Git Restore - Restore from Git history
- Manual Edit - Edit JSON files directly
Next Steps
File System Storage
Deep dive into file system storage
Data Location
Find and manage your data files
Backup & Restore
Learn backup and recovery strategies
Git Sync
Use Git for backup and collaboration