{"id":45963615,"url":"https://github.com/bpg-dev/cv","last_synced_at":"2026-02-28T14:01:40.343Z","repository":{"id":326030076,"uuid":"870951598","full_name":"bpg-dev/cv","owner":"bpg-dev","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-21T17:57:20.000Z","size":1093,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-21T23:35:10.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bpg-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-11T01:18:02.000Z","updated_at":"2026-02-21T17:57:22.000Z","dependencies_parsed_at":"2026-01-04T02:00:49.354Z","dependency_job_id":null,"html_url":"https://github.com/bpg-dev/cv","commit_stats":null,"previous_names":["bpg/cv","bpg-dev/cv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bpg-dev/cv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpg-dev%2Fcv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpg-dev%2Fcv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpg-dev%2Fcv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpg-dev%2Fcv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpg-dev","download_url":"https://codeload.github.com/bpg-dev/cv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpg-dev%2Fcv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29936354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-28T14:00:58.034Z","updated_at":"2026-02-28T14:01:40.336Z","avatar_url":"https://github.com/bpg-dev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Online Resume / CV\n\nA Hugo-based static site for hosting an online resume/CV. This project was migrated from Jekyll to Hugo for easier maintenance and faster builds.\n\n## Prerequisites\n\n- [Hugo](https://gohugo.io/installation/) (Extended version recommended for SCSS support)\n- Git\n\n## Quick Start\n\n### Install Hugo\n\n**macOS (Homebrew):**\n\n```bash\nbrew install hugo\n```\n\n**Linux:**\n\n```bash\n# Download from https://github.com/gohugoio/hugo/releases\n# Or use your package manager\n```\n\n**Windows:**\nDownload from [Hugo releases](https://github.com/gohugoio/hugo/releases)\n\n### Development Server\n\n1. **Start the development server:**\n\n   ```bash\n   hugo server\n   ```\n\n2. **View your site:**\n   - Open `http://localhost:1313` in your browser\n   - Changes will automatically reload\n\n3. **Build the site:**\n\n   ```bash\n   hugo\n   ```\n\n   Or use the Makefile:\n\n   ```bash\n   make hugo\n   ```\n\n   The built site will be in the `public/` directory.\n\n### Using Makefile\n\nThe project includes a Makefile for common tasks:\n\n**Build Hugo site locally:**\n\n```bash\nmake hugo\n```\n\n**Build and run in Docker:**\n\n```bash\nmake run\n```\n\nThis will build the Docker image and run it on port 8080 (configurable via `PORT` variable).\n\n**Other available commands:**\n\n- `make docker-build` - Build Docker image only\n- `make docker-run` - Run Docker container only\n- `make clean` - Remove build artifacts (`public/`, `resources/_gen/`)\n- `make docker-clean` - Stop and remove Docker container\n- `make help` - Show all available commands\n\n**Customizing Docker commands:**\n\n```bash\n# Use custom image name and tag\nmake docker-build IMAGE_NAME=my-cv IMAGE_TAG=v1.0\n\n# Run on different port\nmake docker-run PORT=3000\n\n# Use custom container name\nmake docker-run CONTAINER_NAME=my-cv-container\n```\n\n## Project Structure\n\n```text\n.\n├── config.yaml          # Hugo configuration\n├── static-web-server.toml  # Web server configuration\n├── Dockerfile          # Multi-stage Docker build\n├── Makefile            # Build automation commands\n├── content/            # Content files (markdown)\n│   └── _index.md      # Homepage\n├── data/               # Data files (YAML/JSON)\n│   └── data.yaml      # Resume data\n├── layouts/            # HTML templates\n│   ├── index.html     # Main layout\n│   └── partials/      # Reusable components\n│       ├── basic.html\n│       ├── contact.html\n│       ├── experience.html\n│       └── ...\n├── assets/             # Static assets\n│   ├── css/           # Stylesheets (SCSS)\n│   ├── images/        # Images\n│   └── ...\n├── static/             # Static files (copied as-is)\n│   └── assets/        # Static assets (fonts, icons, etc.)\n└── public/             # Generated site (gitignored)\n```\n\n## Editing Your Resume\n\nEdit `data/data.yaml` to update your resume content:\n\n- Personal information (name, contact, profile)\n- Work experience\n- Skills\n- Education\n- Projects\n- Certificates\n\nChanges will be automatically reflected when the development server is running.\n\n## Configuration\n\nEdit `config.yaml` to customize:\n\n- Site title and metadata\n- Theme colors and styling\n- Analytics settings\n- Open Graph settings\n\n## Deployment\n\n### Docker/Kubernetes Deployment\n\nThe site is containerized using Docker and can be deployed to Kubernetes.\n\n#### Automated Build\n\nA GitHub Actions workflow (`.github/workflows/docker-build.yml`) automatically:\n\n- Builds the Hugo site\n- Creates a multi-stage Docker image with static-web-server\n- Pushes the image to GitHub Container Registry (GHCR)\n- Tags images with `YYYYMMDD-\u003ccommit-sha\u003e` and `latest`\n\n**Image location:** `ghcr.io/\u003cyour-username\u003e/\u003crepository-name\u003e`\n\n**Triggers:**\n\n- Push to `main` branch\n- Manual workflow dispatch\n\n#### Building Locally\n\n**Using Makefile (recommended):**\n\n```bash\n# Build and run in one command\nmake run\n```\n\nThe site will be available at `http://localhost:8080` (or custom port via `PORT` variable).\n\n**Using Docker directly:**\n\n1. **Build the Docker image:**\n\n   ```bash\n   docker build -t cv-site:latest .\n   ```\n\n   Or use Makefile:\n\n   ```bash\n   make docker-build\n   ```\n\n2. **Run the container:**\n\n   ```bash\n   docker run -p 8080:8080 cv-site:latest\n   ```\n\n   Or use Makefile:\n\n   ```bash\n   make docker-run\n   ```\n\n3. **Pull from GHCR:**\n\n   ```bash\n   docker pull ghcr.io/\u003cyour-username\u003e/\u003crepository-name\u003e:latest\n   ```\n\n#### Kubernetes Deployment\n\nUse the Docker image in your Kubernetes manifests. The image:\n\n- Serves static files via static-web-server on port 8080 (HTTP)\n- Includes health check endpoint at `/health`\n- Runs as non-root user (distroless base)\n\n**Example Kubernetes Service:**\n\n```yaml\napiVersion: v1\nkind: Service\nmetadata:\n  name: cv-site\nspec:\n  selector:\n    app: cv-site\n  ports:\n    - port: 8080\n      targetPort: 8080\n  type: ClusterIP\n```\n\n### GitHub Pages (Legacy)\n\nThe site can also be deployed to GitHub Pages via `.github/workflows/hugo.yml` when you push to the `main` branch.\n\n### Manual Deployment\n\n1. Build the site:\n\n   ```bash\n   hugo\n   ```\n\n2. Deploy the `public/` directory to your hosting service.\n\n## Migration from Jekyll\n\nThis site was migrated from Jekyll. Key differences:\n\n- **Data files**: `_data/data.yml` → `data/data.yaml` (same format)\n- **Templates**: `_includes/` → `layouts/partials/` (Liquid → Go templates)\n- **Layouts**: `_layouts/` → `layouts/` (Liquid → Go templates)\n- **Config**: `_config.yml` → `config.yaml` (YAML format similar)\n- **Assets**: `assets/` remains the same (Hugo has built-in SCSS support)\n\n## Troubleshooting\n\n**Hugo not found:**\n\n- Ensure Hugo is installed and in your PATH\n- Use `hugo version` to verify installation\n\n**SCSS not compiling:**\n\n- Install the Extended version of Hugo (includes SCSS support)\n- Check that `assets/css/main.scss` has the front matter (`---`)\n\n**Changes not reflecting:**\n\n- Restart the Hugo server\n- Clear the cache: `hugo --cleanDestinationDir`\n\n## Resources\n\n- [Hugo Documentation](https://gohugo.io/documentation/)\n- [Hugo Quick Start](https://gohugo.io/getting-started/quick-start/)\n- [Go Template Primer](https://gohugo.io/templates/introduction/)\n- [static-web-server Documentation](https://static-web-server.net/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpg-dev%2Fcv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpg-dev%2Fcv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpg-dev%2Fcv/lists"}