Skip to content

eric8810/section

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Section

Cross-platform source/path sync collaboration layer for humans and agents, built on Apache OpenDAL.

Gemini_Generated_Image_4x0b3z4x0b3z4x0b

Active Model

Section's active product model is:

  • source/path is the primary mental model
  • a source can bind to a local directory
  • files and directories sync into that local tree
  • public state stays simple: ready / syncing / conflict / error
  • sectiond is the source/path sync core
  • CLI / API / GUI are the control plane
  • execution is outside the current project scope

Active Documents

Current Implementation

The current repo already includes:

  • source registry persisted in the provider store
  • source to local-root binding
  • .section/root.json local discovery markers
  • source/path sync state persistence
  • source/path event persistence
  • bidirectional source sync with stale-overwrite conflict detection
  • local-path-first control-plane commands:
    • section source bind
    • section source unbind
    • section source sync
    • section path inspect
    • section path compare
    • section path resolve
    • section watch

Repository Focus

The active route in this repo is centered on:

  • section-core
  • section-provider
  • section-cli
  • sectiond

Supported Providers

Any provider supported by OpenDAL can be used. Common ones:

Provider --provider value Required options
Local filesystem fs root=/path
Amazon S3 s3 bucket, region, access_key_id, secret_access_key
WebDAV webdav endpoint, username, password

See OpenDAL services for the full list.

Development

cargo check -p section-core -p section-provider -p section-cli -p sectiond
cargo test -p section-core -p section-provider -p sectiond
cargo test -p section-cli
RUST_LOG=debug section source list

License

Apache-2.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors