juanatsap 5fe42a5c63 refine: adjust toggle and spacing dimensions
- Reduced toggle slider width from 80px to 75px
- Adjusted checked state translation to 45px for proper alignment
- Fine-tuned icon and title padding for better visual balance
- Increased years-experience font size to 1.25em
- Optimized view controls gap to 2.5rem
2025-11-07 11:57:58 +00:00
2025-11-06 09:19:44 +00:00
2025-10-20 08:54:21 +01:00
2025-11-06 09:19:44 +00:00
2025-10-31 11:06:38 +00:00
2025-10-31 11:06:38 +00:00
2025-10-31 11:06:38 +00:00
2025-10-31 11:06:38 +00:00
2025-10-31 11:06:38 +00:00
2025-10-31 11:06:38 +00:00

CV Site - Go + HTMX

Modern, minimal curriculum vitae website for Juan Andrés Moreno Rubio built with Go and HTMX.

🚀 Features

  • Bilingual Support - Spanish and English with instant switching (no page reload)
  • Server-Side PDF Export - Professional PDF generation using chromedp (headless Chrome)
  • Browser Print - Alternative print-friendly layout for manual PDF creation
  • HTMX Dynamic Updates - Smooth UX without heavy JavaScript
  • Paper Design - Professional CV on elegant white paper with gray background
  • Responsive - Mobile, tablet, and desktop friendly
  • JSON-Based Content - Easy to update without touching code
  • AI Development Section - Showcases modern AI-assisted development skills
  • Fast & Lightweight - Go backend with chromedp for PDF generation

📋 Quick Start

Prerequisites

  • Go 1.21+ installed

Run

```bash

Build and run

go build -o cv-server && ./cv-server ```

Open http://localhost:1999

📄 Updating Your CV

Edit JSON files in data/:

  • English: data/cv-en.json
  • Spanish: data/cv-es.json

No code changes needed - just refresh browser!

🖨️ Export to PDF

  1. Click "Download as PDF" button in the action bar
  2. PDF is generated server-side using headless Chrome
  3. File downloads automatically: CV-Juan-Andres-Moreno-Rubio-{lang}.pdf

Advantages:

  • Consistent rendering across all platforms
  • Perfect font rendering
  • No browser compatibility issues
  • Professional quality output

Browser Print (Alternative)

  1. Click "Print Friendly" button
  2. Use browser print dialog (Cmd/Ctrl + P)
  3. Select "Save as PDF"

Endpoints:

  • English PDF: http://localhost:1999/export/pdf?lang=en
  • Spanish PDF: http://localhost:1999/export/pdf?lang=es

🎯 Key Technologies

  • Backend: Go (stdlib net/http)
  • PDF Generation: chromedp (headless Chrome automation)
  • Frontend: HTMX 1.9.10
  • Styling: Custom CSS with Quicksand font
  • Data: JSON files

Built with ❤️ using Go, HTMX, and AI assistance

S
Description
💼 Professional CV - 🐹 Go • HTMX • 🌐 Bilingual • 📄 Print-ready
Readme MIT 76 MiB
Languages
JavaScript 45.8%
Go 29%
CSS 14.6%
HTML 8.9%
Shell 1.5%
Other 0.2%