smartlegionlab.github.io v7.4.1

Automated Technical Portfolio

Modern, self-updating technical portfolio showcasing expertise in Python development, system architecture, and open-source contributions.

Python GitHub Actions Jinja2 Static Site Automated Zero Cost

smartlegionlab.github.io — modern, self-updating technical portfolio showcasing expertise in Python development, system architecture, and open-source contributions.

This isn't just a static site — it's a fully automated ecosystem that fetches live data and builds itself daily.

How It Works:

1. Every day at midnight UTC, GitHub Actions wakes up
2. Fetches live data from GitHub, PyPI, Dev.to & Zenodo APIs
3. Generates 60+ HTML pages in a temporary directory
4. Creates fresh sitemap.xml with all URLs
5. If ALL pages generate successfully — replaces old site atomically
6. If ANY error occurs — keeps old site untouched
7. Deploys to GitHub Pages automatically

Key Features:

  • Fully Automated — GitHub Actions cron job runs daily
  • Dynamic Content — Fetches live data from GitHub, PyPI, Dev.to & Zenodo APIs
  • Atomic Deployment — Generates all pages in temp directory first
  • Auto Sitemap — Dynamically includes all pages
  • Zero Cost — Hosted on GitHub Pages
  • Secure — No database, no backend, static = unhackable

ComponentCount
Repository Pages65+ (and growing)
Package Pages25+ PyPI packages
Ecosystem Pages7 dedicated ecosystem pages
Research Pages4 paradigm publications + tech report
Static Pages11 core pages
UpdatesDaily automatic
Hosting Cost$0 (only domain)

Frontend — The User Experience:

  • HTML5 — Semantic, accessible markup
  • CSS3 — Custom properties, keyframe animations, responsive design
  • Bootstrap 5 — Robust grid system and pre-built components
  • Bootstrap Icons — Consistent, lightweight icon set
  • Vanilla JavaScript (ES6+) — No bloat, modular classes

Build System & Automation — The Engine:

  • GitHub Actions — Cron job that runs the entire show daily
  • Python 3.8+ — Core language for all build scripts
  • Jinja2 — Templating engine for 70+ detail pages
  • BeautifulSoup4 — Parses and updates main HTML files
  • Requests — Fetches data from GitHub, PyPI, Dev.to, Zenodo APIs
  • Markdown — Converts PyPI descriptions to HTML
  • Pygments — Syntax highlighting for code blocks

Data Sources:

SourceAPI EndpointData Fetched
GitHubapi.github.com/users/smartlegionlab/reposRepo names, descriptions, stars, forks, languages, topics, dates
PyPIpypi.org/pypi/{package_name}/jsonVersion, summary, full description, project URLs
Dev.todev.to/api/articles?username=smartlegionlabTitles, descriptions, tags, reactions, comments, reading time
Zenodozenodo.org/api/records/{record_id}Views and downloads statistics for research publications

  • Hero Section — Professional introduction with key metrics (Experience, Projects, Repos)
  • Professional Profile — Technical leadership, business impact, and published research
  • Research & Paradigms — Cards linking to detailed pages for each concept
  • Ecosystems — Dedicated pages for each cross-platform ecosystem
  • Projects (projects.html) — Grid of GitHub repos with live stats
  • Packages (libraries.html) — Grid of PyPI packages with descriptions
  • Articles (articles.html) — Grid of Dev.to articles with engagement metrics
  • Detailed Pages — Full-page deep dive into repos, packages, and research

Prerequisites: Python 3.8+, Git

Setup & Build:

# 1. Clone the repository
git clone https://github.com/smartlegionlab/smartlegionlab.github.io.git
cd smartlegionlab.github.io

# 2. Install Python dependencies
pip install requests beautifulsoup4 jinja2 markdown pygments

# 3. Run the full build pipeline
python scripts/fetch_github.py
python scripts/fetch_devto.py
python scripts/fetch_pypi.py
python scripts/fetch_zenodo.py
python scripts/generate_data.py

# 4. Preview the site locally
python -m http.server 8000

Open your browser to http://localhost:8000

By using this software, you agree to the full disclaimer terms.

Software provided "AS IS" without warranty. You assume all risks.

Full legal disclaimer: See DISCLAIMER.md

License: BSD 3-Clause License