Registry Layout
Your hosted files should follow this layout:
/registry/index.json
/registry/parsers/<parser-id>-<version>.zip
/registry/categories/<pack-id>-<version>.zip (optional)
No custom backend API is required. Static hosting is enough.
Publish Workflow
Use the bundled script:
scripts/publish_registry_private.sh
Example:
SSH_TARGET=deploy@office-server \
REMOTE_DIR=/srv/ledgersprout/registry \
BASE_URL=https://office.example.com/registry \
PARSER_SRC_DIR=/opt/private_parsers \
CATEGORY_SRC_DIR=/opt/private_categories \
./scripts/publish_registry_private.sh
Dry run:
SSH_TARGET=deploy@office-server \
REMOTE_DIR=/srv/ledgersprout/registry \
BASE_URL=https://office.example.com/registry \
./scripts/publish_registry_private.sh --dry-run
Index Format
The publish script generates index.json for you. For reference, it looks like this:
{
"schema_version": 1,
"parsers": [
{
"id": "bank_a_checking",
"name": "Bank A",
"account_type": "checking",
"version": "1.2.0",
"description": "Bank A monthly checking statement parser",
"url": "https://office.example.com/registry/parsers/bank_a_checking-1.2.0.zip"
}
],
"categories": []
}
Optional publish settings: SKIP_CATEGORIES=1 publishes parsers only, and EXCLUDE_IDS=id1,id2 leaves specific parsers or category packs out.