Cosmic Daily

Cosmic Daily generates a daily NASA APOD article for this Jekyll blog while respecting the project’s conventions and safety checks.

Local setup

cd tools/cosmic-daily
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
python -m pip install -U pip
python -m pip install -e .[dev]

Create a local .env file from .env.example and set NASA_API_KEY.

For the GitHub Actions publishing flow, add the same value as a repository secret named NASA_API_KEY in the repository settings before enabling the manual Cosmic Daily workflow.

Commands

python -m cosmic_daily preview
python -m cosmic_daily generate
python -m cosmic_daily check

The default mode is preview.

Notes