Skip to content

trixdb/trixd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Trix Daemon (trixd)

Release License

trixd is the background daemon for Trix - providing persistent connectivity, local caching, file watching, and IPC capabilities for the Trix memory layer.

Installation

Using Trix CLI (Recommended)

# Install the Trix CLI first
curl -fsSL https://install.trixdb.com | sh

# Install the daemon
trix daemon install

# Start the service
trix daemon start

# Check status
trix daemon status

Manual Download

Download the latest release for your platform from the Releases page.

Platform Architecture Download
Linux x86_64 trixd_VERSION_linux_amd64.tar.gz
Linux ARM64 trixd_VERSION_linux_arm64.tar.gz
macOS Intel trixd_VERSION_darwin_amd64.tar.gz
macOS Apple Silicon trixd_VERSION_darwin_arm64.tar.gz
Windows x86_64 trixd_VERSION_windows_amd64.zip

After Manual Download

# Extract (Linux/macOS)
tar -xzf trixd_*.tar.gz

# Move to PATH
sudo mv trixd /usr/local/bin/

# Install as service
trixd install

# Start the service
trixd start

Features

  • Real-time Sync - Continuous synchronization with the Trix API
  • Local Cache - Fast, offline-capable memory access
  • File Watching - Automatic memory ingestion from watched directories
  • IPC Socket - Unix socket for local application integration
  • Cross-Platform - Linux (systemd), macOS (launchd), Windows (Service)

Commands

Command Description
trixd run Run daemon in foreground
trixd install Install as system service
trixd uninstall Remove system service
trixd start Start the service
trixd stop Stop the service
trixd restart Restart the service
trixd status Show daemon status
trixd logs [-f] View daemon logs
trixd doctor Run diagnostic checks
trixd version Show version info

Configuration

Create ~/.trix/daemon.yaml:

api:
  url: https://api.trixdb.com
  key: your-api-key

cache:
  enabled: true
  dir: ~/.trix/cache

sync:
  enabled: true
  interval_secs: 30

watcher:
  enabled: true
  directories:
    - ~/Documents/notes
  patterns:
    - "*.md"
    - "*.txt"

log:
  level: info

License

Proprietary - Copyright (c) 2024 Trix. All Rights Reserved.

For licensing inquiries, contact: legal@trixdb.com

About

Background daemon for Trix - provides persistent connectivity, local caching, file watching, and IPC for the Trix memory layer

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors