Przejdź do głównej zawartości

License Management

Ta treść nie jest jeszcze dostępna w Twoim języku.

GalataJ offers Free and Pro tiers. Manage your license through the CLI.

Features:

  • Inline performance metrics
  • Live profiling tab
  • Context detection (HTTP, DB, Scheduler)
  • Add to Chat (AI integration)
  • Runtime attach
  • IntelliJ & VS Code support

Limitations:

  • Limited session saves
  • No session comparison
  • No export capabilities
  • No Local Docker support
  • No live context file generation

Features:

  • Everything in Free
  • Unlimited session saves
  • Compare sessions
  • Export JSON/CSV/HTML
  • Local Docker Support
  • Live Context File (.galataj/live-performance.md)
  • Baseline-Live Compare File (.galataj/baseline-live-compare.md)
  • Baseline tracking & regression detection
  • Historical analysis
  • Priority support
Terminal window
galataj license purchase

This opens the Lemon Squeezy checkout page in your browser.

  1. Select Pro license
  2. Complete payment
  3. Receive license key via email
Terminal window
galataj license login <your-license-key>

Example:

Terminal window
galataj license login abc123-def456-ghi789
Terminal window
galataj license status

Output:

License: Pro
Status: Active
Expires: 2025-12-31
Features: All Pro features enabled
Terminal window
galataj license status --json

Output:

{
"tier": "pro",
"status": "active",
"expiresAt": "2025-12-31T23:59:59Z",
"features": ["all"]
}
Terminal window
galataj license validate

Note: License validation is cached for 24 hours to reduce API calls.

  • Validates on login
  • Re-validates after cache expires (24 hours)
  • Uses cached data when offline
Terminal window
galataj license info

Shows:

  • License tier
  • Status
  • Expiration date
  • Features enabled
  • Machine ID
Terminal window
galataj license logout

Note: This removes the license key from local storage. You can log in again with the same key.

File: ~/.galataj/license.json

Format:

{
"licenseKey": "abc123-def456",
"tier": "pro",
"expiresAt": "2025-12-31T23:59:59Z",
"machineId": "xyz789",
"validatedAt": "2025-01-01T00:00:00Z"
}

Security:

  • Stored locally
  • Not transmitted unnecessarily
  • 24-hour validation cache

Environment Variable:

Terminal window
export GALATAJ_LICENSE_API_URL=https://license.galataj.com/v1

Default: Cloudflare Worker endpoint

Auto-Generated:

  • Created automatically on first use
  • Stored in license file
  • Used for license validation

Manual Override:

Terminal window
export GALATAJ_MACHINE_ID=abc123

Error: License validation failed or Network error

Solutions:

  1. Check internet connection:

    Terminal window
    ping license.galataj.com
  2. Verify license key:

    Terminal window
    galataj license status
  3. Retry validation:

    Terminal window
    galataj license validate
  4. Check API URL:

    Terminal window
    echo $GALATAJ_LICENSE_API_URL

Error: Rate limit exceeded

Solutions:

  1. Wait before retrying:

    • License validation is cached for 24 hours
    • Wait a few minutes before retrying
  2. Use cached license:

    • Offline mode uses cached data
    • Check ~/.galataj/license.json

Error: License expired

Solutions:

  1. Check expiration date:

    Terminal window
    galataj license info
  2. Renew license:

    • Purchase new license
    • Or contact support

Error: Invalid license key

Solutions:

  1. Verify key format:

    • Check for typos
    • Ensure complete key
  2. Re-enter key:

    Terminal window
    galataj license login <correct-key>
  1. Keep license key secure:

    • Don’t share license keys
    • Store securely
  2. Monitor expiration:

    • Check status regularly
    • Renew before expiration
  3. Use validation cache:

    • Avoid frequent validation calls
    • Let 24-hour cache work
  4. Backup license file:

    • Copy ~/.galataj/license.json
    • Restore if needed