Skip to content

cosmospkg/orbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 

Repository files navigation

Orbit

Decentralized registry and Galaxy publisher for Cosmos

Orbit is a tool for maintainers. It takes a Galaxy built by Stellar and publishes it as a signed, portable, decentralized registry β€” ready to be consumed by Cosmos.


πŸš€ What It Does

Orbit manages:

  • βœ… Galaxy signing and registry index generation
  • βœ… Decentralized publishing (USB, IPFS, Git, HTTP)
  • βœ… Secure syncing and verification model
  • βœ… Offline and airgapped compatibility

Orbit does not build Stars or handle package creation β€” that's Stellar's job.


🧩 Relationship to Cosmos and Stellar

Tool Role Actions
Stellar Builder Creates Stars and Galaxies
Orbit Publisher Signs, indexes, and publishes
Cosmos Consumer Syncs Galaxies, installs packages
  • Galaxies are the format: directories of star.tomls and tarballs
  • Registries are signed Galaxies managed by Orbit

πŸ“¦ Install

cargo install --locked --git https://github.com/yourname/orbit

Or download a static binary from Releases


πŸ“ Example Workflow

1. Build your Galaxy with Stellar

stellar galaxy-init core/
stellar build-star hello

2. Initialize Orbit in your Galaxy

orbit init core/

3. Add packages to the registry

orbit add ./core/packages/hello-1.0.0.tar.gz

4. Publish to a destination

orbit publish ./core/ --to /mnt/usb
orbit publish ./core/ --to [email protected]:user/core-galaxy.git

πŸ” Trust Model

  • All registries are signed (GPG or minisign)
  • Clients (Cosmos) verify signatures before using any metadata or tarballs
  • You can configure pre-trusted keys or use trust-on-first-use

🌍 Syncing

Orbit registries can be consumed by Cosmos from:

  • File paths (USB, NFS, etc.)
  • HTTP(S)
  • Git repositories
  • IPFS (planned)

🧱 Orbit Registry Layout

core/
β”œβ”€β”€ packages/
β”‚   └── hello-1.0.0.tar.gz
β”œβ”€β”€ stars/
β”‚   └── hello.toml
β”œβ”€β”€ meta.toml
β”œβ”€β”€ registry.toml          <- Registry index
β”œβ”€β”€ signatures/
β”‚   └── index.sig       <- Signed by maintainer

πŸ§ͺ Roadmap

  • Initial Release
  • Web UI browser for offline registries
  • Registry merge (orbit combine)
  • Built-in diff / changelog viewer
  • TUF-style threshold signatures
  • LAN discovery via Avahi/Bonjour

πŸ“œ License

MIT. Built by and for people who believe static binaries, cryptographic trust, and minimalism aren’t mutually exclusive.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published