2025-10-20 08:54:21 +01: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)
|
|
|
|
|
- ✅ **PDF Export** - Print-optimized design for PDF generation via browser
|
|
|
|
|
- ✅ **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, minimal dependencies
|
|
|
|
|
|
|
|
|
|
## 📋 Quick Start
|
|
|
|
|
|
|
|
|
|
### Prerequisites
|
|
|
|
|
|
|
|
|
|
- **Go 1.21+** installed
|
|
|
|
|
|
|
|
|
|
### Run
|
|
|
|
|
|
|
|
|
|
\`\`\`bash
|
|
|
|
|
# Build and run
|
|
|
|
|
go build -o cv-server && ./cv-server
|
|
|
|
|
\`\`\`
|
|
|
|
|
|
2025-10-29 14:04:24 +00:00
|
|
|
Open **http://localhost:1999**
|
2025-10-20 08:54:21 +01:00
|
|
|
|
2025-10-29 14:04:24 +00:00
|
|
|
- 🇬🇧 English: http://localhost:1999/?lang=en
|
|
|
|
|
- 🇪🇸 Spanish: http://localhost:1999/?lang=es
|
2025-10-20 08:54:21 +01:00
|
|
|
|
|
|
|
|
## 📄 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 PDF"** button
|
|
|
|
|
2. Use browser print (Cmd/Ctrl + P)
|
|
|
|
|
3. Save as PDF
|
|
|
|
|
|
|
|
|
|
## 🎯 Key Technologies
|
|
|
|
|
|
|
|
|
|
- Backend: **Go** (stdlib net/http)
|
|
|
|
|
- Frontend: **HTMX** 1.9.10
|
|
|
|
|
- Styling: Custom **CSS**
|
|
|
|
|
- Data: **JSON** files
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
**Built with ❤️ using Go, HTMX, and AI assistance**
|