Development

Building the docs

npx dendron publish export --target github --yes

Monorepo layout

sflo/
  cli/                        # the sflo CLI (binary)
  plugins/
    elements/
    mesh-server/              # static mesh server(s)
    sflo-web/                 # your web UI, if you want it as a plugin
    sflo-api/
    sparql/
    sparql-update/
    sparql-editor/            # SIB Swiss editor at /play
  sflo-host/                  # the big service that loads plugins
  shared/
    core/                     # RDFine/LDKit, SHACL, types
    auth/                     # JWT + GitHub device flow
    config/                   # runtime/config loaders (RDF/JSON)
    utils/                    # misc helpers

Hot Reload

The development setup includes automatic hot reload using nodemon:

  • Watches: sflo-host/src, plugins/*/src, shared/*/src
  • Auto-restarts when any watched file changes
  • Loads plugins from source in development mode (not built dist files)
  • Preserves debugger connection after restart

Children
  1. Contributors
  2. Debugging
  3. Semantic Flow General Guidance
  4. Testing