#git #daemon #watcher #fsmonitor #background-service

gity-daemon

Background daemon for gity - handles file watching, caching, and Git maintenance

1 unstable release

0.1.2 Jan 26, 2026

#1702 in Development tools


Used in 2 crates

MIT license

170KB
4K SLoC

gity-daemon

Background daemon for gity - handles file watching, caching, and Git maintenance.

Crates.io Documentation License: MIT

This crate implements the core daemon that accelerates Git operations. It manages file watchers, maintains status caches, and schedules background maintenance tasks.

Features

  • IPC server for CLI and fsmonitor communication
  • File system watcher management per repository
  • Status result caching with invalidation
  • Background git maintenance scheduling
  • Repository health monitoring

Architecture

The daemon uses:

  • async-nng for IPC transport
  • sled for persistent metadata storage
  • tokio for async runtime

Usage

This crate is primarily intended for internal use by the gity binary. See the gity documentation for general usage.

License

MIT

Dependencies

~27–60MB
~1M SLoC