๐ rc-api.sh
rc-api.sh fetches external assets, templates, and
packs as defined in a local YAML config. It is used to keep remote
parts of your tombsite up-to-date.
๐ฎ Intended Purpose
This script is designed to: - Read a config file
(bones/config/remote-sources.yaml) - Download files from
listed url entries - Save them to
home/assets/remote/ - Log actions and failures to
bones/logs/
๐ง Planned Features
- Uses
yqto parse source URLs --dry-runflag supported- Can be extended to support JSON ingestion or content conversion
๐งช Example Invocation
./rotkeeper.sh api๐ Notes
- This script is implemented and active in
v0.2.2 - Useful for:
- Fetching mascot bios from a remote repo
- Pulling changelogs from GitHub APIs
- Syncing tags or taxonomies from external indexes
๐ Related
rc-expand.shโ Generates Markdown from BOM locallyrc-record.shโ Tracks commit + system statebones/logs/api-*โ Future location of fetch logsremote-sources.yamlโ Defines the assets fetched by this script