A static, photography-first bird encyclopedia built from your own images.
-
Fill in your author settings in
config.json. -
Add your eBird API key to
.env:EBIRD_API_TOKEN=your_key_here
-
Install dependencies:
npm install
-
Fetch data + build the pages:
node scripts/fetch-data.js node scripts/build.js
-
Run the local server:
node server.js
Open http://localhost:3000 in your browser.
public/ is fully generated. You can delete it at any time and recreate it by running the build scripts. Source assets live in templates/.
-
Create a folder under
public/img/named exactly as the common name:public/img/Red-breasted Nuthatch/ -
Add your photos into that folder.
-
Regenerate data and pages:
node scripts/fetch-ebird.js node scripts/build.js
If the folder name does not match an eBird common name, add a mapping in data/ebird.overrides.json (copy from data/ebird.overrides.example.json).
-
Drop the new images into the existing species folder under
public/img/. -
Rebuild the pages:
node scripts/build.js
If you also want to refresh taxonomy + Wikidata details, run node scripts/fetch-data.js before rebuilding.