@zorlin/orbiter
v0.1.8
Published
[](https://github.com/riffcc/orbiter-core/actions/workflows/test.yml) [;
const orbiter = createOrbiter({ constellation });
// Do orbiter stuff...Untill complete documentation is ready, refer to the orbiter.ts code to see available functions.
Command line client
This package also comes with a command-line client, useful for setting up Orbiter lenses on servers (e.g., DigitalOcean).
Installation
To use the command-line client, first install Orbiter as a global pnpm package.
$ pnpm install -g @riffcc/orbiterUse
Use orb config to set up a lens and generate the required config. The dir option specifies the path to the root folder for the Orbiter lens in which all data and keys related to the lens will be stored. Default directory is ./orbiter.
$ orb config --dir "path/to/lens"Use orb expor-config to export the generated config to use in UI development. The format option can be "vite" or "json".
$ orb export-config --dir "path/to/lens" --format "vite"Use orb lens to run the configured lens.
$ orb run --dir "path/to/lens"