SciSiteForge/scripts
welsberr 81a7745760 Enrich TalkOrigins modern example content 2026-04-28 18:01:19 +00:00
..
README.md Add multi-theme site framework and notebook pattern 2026-04-28 17:47:08 +00:00
build.py Enrich TalkOrigins modern example content 2026-04-28 18:01:19 +00:00
glossary_es.json Initial scripts/ files 2025-10-15 00:42:12 -04:00
translate_site.py Add multi-theme site framework and notebook pattern 2026-04-28 17:47:08 +00:00

README.md

SciSiteForge Scripts

Build

Initialize a site config:

cd /opt/www/dev/SciSiteForge
python3 scripts/build.py --init

Build a site:

python3 scripts/build.py --config site.json --output /tmp/scisiteforge-site

The shipped theme presets are:

  • evo-edu
  • talkorigins-modern
  • pandasthumb

Use talkorigins-modern as the proving ground for the www2.talkorigins.org modernization line.

Translate

Translation is optional and separate from the static build. The current translation provider is GenieHive through its OpenAI-compatible chat endpoint.

See docs/GENIEHIVE_TRANSLATION.md for the SciSiteForge client-side configuration guide and the GenieHive repository's docs/translation_support.md for the control-plane and node-side notes.

python3 scripts/translate_site.py \
  --config site.json \
  --langs es,fr \
  --src content/en \
  --dest content

Optional translation settings can be provided in the site config under translation:

  • provider
  • base_url
  • model
  • api_key
  • timeout
  • system_prompt

The translator loads language glossaries from scripts/glossary_<lang>.json when present.