Paper Subscribe
Use this skill when a user wants to subscribe to the centrally generated paper feed instead of producing papers themselves.
Workflow
- Create a local config from
templates/config.example.json - Install a cron job with
install-cron.sh - On schedule:
prepare-digest.jsreads the publicfeed-papers.json- filters items by topic/language/max items
- emits a digest JSON
deliver.jssends it to stdout
Commands
Prepare a digest:
node skill/paper-subscribe/scripts/prepare-digest.js --config ~/.paper-subscribe/config.json
Deliver a digest:
node skill/paper-subscribe/scripts/deliver.js --config ~/.paper-subscribe/config.json --input /tmp/digest.json
Install cron:
bash skill/paper-subscribe/scripts/install-cron.sh --config ~/.paper-subscribe/config.json