How highfire1/github-pages-replacement works
Main Components
a) External Components:
• GitHub Repository (source of the website content)
• Client Browsers (accessing the website)
• GitHub Webhook (triggering updates)
b) Container Components:
• Flask Server (webhook.py on port 5000)
• Nginx Server (on port 80, mapped to 5001)
• Static File Storage (served website content)
Component Details
Specific technical details:
Flask Webhook Server (Port 5000):
• Webhook authentication
• Git pull functionality
• Content update management
Nginx Server (Port 80 → 5001):
• Static file serving
• Public access point
• Performance optimization
Storage:
• Git repository content
• Static website files
Security Layer
Security components:
• Webhook password authentication (WEBHOOK_PASSWORD environment variable)
• Port mapping security
• Container isolation