Nathan Woodburn's Website (nathan.woodburn.au)
Personal website, portfolio, interactive resume, blog, and API server for nathan.woodburn.au
The canonical repository is hosted on git.woodburn.au with a public mirror on GitHub.
Features
- Dynamic & Multi-Format Resume:
- Structured content managed via
data/resume.json. - Responsive web layout with desktop centering and automatic dark mode support (
prefers-color-scheme: dark). - Available across multiple formats on demand:
- Web:
/resume(Interactive HTML) - PDF:
/resume.pdf&/resume.pdf?support=1(1-page A4 PDF compiled via headless Chromium) - Markdown:
/resume.md&/resume.md?support=1 - Plain Text:
/resume.txt&/resume.txt?support=1 - JSON:
/resume.json&/resume.json?support=1 - Terminal / CLI:
curl https://nathan.woodburn.au/resumeor/resume.ascii(ANSI-colored terminal view)
- Web:
- Structured content managed via
- Terminal & CLI Friendly:
- Native
curlandfingerterminal views with custom ASCII art, system info, and plain-text output.
- Native
- Blog & "Now" Updates:
- Date-based status updates (
/now) and markdown blog posts with RSS/Atom-friendly routing.
- Date-based status updates (
- Microservices & API Blueprints:
/api: Client IP lookup, DNS utilities, QR code generator, and system helpers./spotify: Real-time / recent Spotify listening activity./podcast: Podcast episode catalog and feed aggregation./sol: Solana blockchain interactions and token integrations./.well-known: Security policies, WebFinger, and ACME challenge support.
- Progressive Web App (PWA):
- Offline asset caching with Service Worker (
/pwa/sw.js) and web app manifest.
- Offline asset caching with Service Worker (
Tech Stack
- Runtime: Python 3.13+
- Framework: Flask, Jinja2, Gunicorn
- Package Management:
uv - Styling: Bootstrap 5, custom CSS overrides (
resume-custom.css,resume-print.css), Bootstrap Studio (.bsdesign) - PDF Compilation: Headless Chromium (isolated in Docker build stage)
- Linting & Code Quality: Ruff, pre-commit
Project Structure
├── blueprints/ # Modular Flask route blueprints
│ ├── acme.py # ACME TLS verification routes
│ ├── api.py # Public API endpoints and utility tools
│ ├── blog.py # Blog routing and rendering
│ ├── now.py # "Now" status updates
│ ├── podcast.py # Podcast pages
│ ├── sol.py # Solana blockchain endpoints
│ ├── spotify.py # Spotify API integration
│ └── wellknown.py # .well-known protocol handlers
├── data/ # JSON data sources and compiled static assets
│ ├── resume.json # Master resume configuration
│ ├── sites.json # Directory of personal sites and projects
│ ├── tools.json # Self-hosted / recommended software catalogue
│ ├── resume.pdf # Generated standard resume PDF
│ └── resume_support.pdf # Generated technical support resume PDF
├── templates/ # Jinja2 HTML templates and static assets
│ ├── assets/ # CSS stylesheets, JavaScript, fonts, and images
│ │ └── css/
│ │ ├── resume-custom.css # Responsive & dark theme resume stylesheet
│ │ └── resume-print.css # 1-page A4 print layout stylesheet
│ ├── resume.html # Dynamic resume template
│ └── resume.ascii # Terminal / ANSI resume template
├── pwa/ # Progressive Web App assets & service worker
├── Dockerfile # Multi-stage Docker build
├── main.py # Production entrypoint (Gunicorn runner)
├── server.py # Core Flask application and routing
├── tools.py # Utility helpers, PDF builder, and CLI runner
└── pyproject.toml # Dependencies and project metadata
Getting Started
Prerequisites
- Python 3.13+
uvpackage manager- Optional (for local PDF rebuilding):
chromium/google-chrome
Local Development Setup
-
Clone the repository:
git clone https://github.com/Nathanwoodburn/Nathanwoodburn.github.io.git cd Nathanwoodburn.github.io -
Install dependencies:
uv sync -
Configure environment variables (optional):
cp .env.example .env # configure any API keys if required -
Run the development server:
uv run python3 server.pyThe site will be available at
http://127.0.0.1:5000.
Resume Management & Formats
Resume data is edited in data/resume.json.
Formats & Endpoints
- Web Browser:
/resume - PDF:
/resume.pdf(Standard) or/resume.pdf?support=1(Support tailored) - Markdown:
/resume.mdor/resume.md?support=1 - Plain Text:
/resume.txtor/resume.txt?support=1 - JSON:
/resume.jsonor/resume.json?support=1 - CLI / Terminal:
curl https://nathan.woodburn.au/resumeor/resume.ascii
PDF & CLI Tools
To compile the latest resume changes into standard and support PDFs manually:
uv run python3 tools.py --build-resume
To preview or generate different formats directly via CLI:
uv run python3 tools.py --md # Output Markdown
uv run python3 tools.py --txt # Output Plain Text
uv run python3 tools.py --json # Output JSON
uv run python3 tools.py --ascii # Output Terminal ANSI view
# Append --support or -s for Technical Support tailored resume
Docker Deployment
The application uses a multi-stage Docker build that isolates Chromium to a build stage, keeping the final runtime image lightweight (~185 MB):
-
Build the container:
docker build -t nathanwoodburn-site . -
Run the container:
docker run -d -p 5000:5000 --name nathanwoodburn-site nathanwoodburn-site
Code Quality & Linting
Format and lint using Ruff:
uv run ruff check .
uv run ruff format --check .
License
This project is open-source under the terms in LICENSE.txt.