https://github.com/georges034302/trailer-viewer-generator
Trailer views generator uses Python and XSL scripts running on Docker hosted on GitHub to generate XML and HTML from YAML
https://github.com/georges034302/trailer-viewer-generator
bash docker githubaction python xml yaml
Last synced: 4 months ago
JSON representation
Trailer views generator uses Python and XSL scripts running on Docker hosted on GitHub to generate XML and HTML from YAML
- Host: GitHub
- URL: https://github.com/georges034302/trailer-viewer-generator
- Owner: Georges034302
- License: mit
- Created: 2024-07-30T04:38:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T11:30:40.000Z (almost 2 years ago)
- Last Synced: 2025-03-21T14:17:37.777Z (about 1 year ago)
- Topics: bash, docker, githubaction, python, xml, yaml
- Language: XSLT
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 trailer-viewer-generator
This repository contains the automated **Generator** used to build and publish the Trailer Viewer website.
### 🔧 What the Generator Does
- Builds a lightweight **Ubuntu-based Docker environment**
- Installs **Python 3.10**, **pip**, and required libraries such as **PyYAML**
- Executes `trailer.py` to transform **YAML → XML**
- Executes `xsltransformer.py` to transform **XML → HTML** using XSL stylesheets
- Runs `entrypoint.sh` through a GitHub Actions workflow
👉 [](https://github.com/Georges034302/trailer-viewer)
---
### 🔄 Automated Build & Deployment
The Generator listens for new commits in the **trailer-viewer** repository.
Whenever YAML data is updated:
1. GitHub Actions triggers the build pipeline
2. The Docker container runs the transformation scripts
3. Updated XML and HTML files are produced
4. Changes are automatically deployed back to the Trailer Viewer site
This provides a **fully automated YAML → XML → HTML publishing system** with no manual steps required.
---