Skip to main content

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

Or custom location:

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

Workspace files use restrictive permissions:
Environment variables marked as “secret”:
  • Not displayed in UI by default
  • Can be encrypted at rest (coming soon)
  • Excluded from Git commits (if configured)
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

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:

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:
  1. Auto-Recovery - Auk attempts automatic recovery
  2. Backup Restore - Restore from local backup
  3. Git Restore - Restore from Git history
  4. 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