Static site generator for podcast episodes with Hebrew RTL support.
├── generate_site.py # Main generator script
├── metadata/ # Episode metadata (JSON files)
├── templates/ # Template files
│ ├── index.html # Main page template
│ ├── episode.html # Single episode template
│ └── style.css # Stylesheet
└── site/ # Output directory (auto-generated)
├── index.html
└── style.css
python3 generate_site.pyThe script will:
- Load episode metadata from
metadata/*.json - Generate the static site in the
site/directory
Serve the contents of the site/ directory using any static file server
python3 -m http.server --directory site 8000Then open http://localhost:8000 in your browser.
Episode metadata is read from metadata/*.json files. Each JSON file contains:
guid- Unique episode identifiertitle- Episode titledescription- Episode description (HTML)pubDate- Publication date (RFC 2822 format)
Audio files are served directly from the S3 bucket at:
https://rgw.rke2.hasadna.org.il/podcasts/
You can edit the template files in templates/:
index.html- Main page structure (uses{{episode_count}}and{{episodes}})episode.html- Episode card structure (uses{{title}},{{date}},{{description}},{{audio_url}})style.css- CSS styling
- Python 3.10+
- No external dependencies
Use Minio MC to upload the generated site/ directory to your S3-compatible storage.
mc cp -r site/ myminio/podcasts/