ViteHTML作品集

cv-template — Vite 作品集模板

作者 Rana0Codes

基于 Vite 与原生 HTML 的客户端简历与印度 Biodata 生成器,提供多套模板并通过浏览器打印导出 A4 PDF。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-10查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

5 套可切换模板:Modern Tech、Corporate Executive、Minimalist ATS、Creative Timeline、Traditional Biodata

02

7 步表单编辑,工作经历与教育卡片可折叠

03

通过浏览器打印导出 A4 纵向 PDF,文字可选

04

数据仅存于 localStorage,支持 JSON 备份导出

05

包含 PWA 清单与 Service Worker,缓存后可离线使用

06

提供 npm 脚本进行语法检查、构建、端到端与 PDF 导出测试

模板详细介绍

cv-template 是一个在浏览器端运行的简历与印度 Biodata 制作工具,使用 Vite 和原生 HTML/CSS/JavaScript 构建。用户通过 7 步表单填写内容,在 5 套模板间切换:Modern Tech、Corporate Executive、Minimalist ATS、Creative Timeline 和 Traditional Biodata。模板覆盖技术岗位、管理岗位、通用 ATS 场景、时间线展示以及印度学术与公务 Biodata 表格。

数据保存在浏览器 localStorage 中,不会上传到服务器;页面初始加载会请求 Google Fonts 样式表。导出方式包括调用浏览器打印功能生成 A4 纵向 PDF、纯文本 ATS 格式以及 JSON 备份。项目包含 PWA 清单与 Service Worker,缓存后可在离线环境使用。

仓库提供 npm 脚本用于语法检查、Vite 构建、端到端验证和 PDF 导出测试,并包含 GitHub Actions 的 CI 与 GitHub Pages 部署配置。代码采用 MIT 许可。

ViteHTML作品集

适合你的项目吗?

适用场景

  • 制作面向技术岗位的简历并导出 A4 PDF
  • 生成印度学术或公务场景使用的传统 Biodata 表格
  • 在无网络环境下填写和导出简历内容
  • 切换不同模板对比同一份简历的排版效果

适合人群

  • 需要快速生成简历并打印为 PDF 的求职者
  • 希望数据保留在本地浏览器、不依赖后端服务的用户
  • 需要印度 Biodata 格式模板的用户
  • 想基于 MIT 许可代码自行修改模板的前端开发者

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    克隆仓库后运行 npm install 安装 Vite 与 Puppeteer 等开发依赖,再执行 npm run dev 启动本地开发服务器

  2. 2

    也可使用 python -m http.server 或 VS Code Live Server 直接打开 index.html,无需构建步骤

  3. 3

    导出 PDF 时在浏览器打印对话框中选择“另存为 PDF”,启用背景图形并将边距设为“无”或“默认”

  4. 4

    数据保存在 localStorage 键 cv_template_state_v1 中,不会跨设备同步,建议用 JSON 导出功能备份

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 页面初始加载会向 Google Fonts 发起外部网络请求以加载字体样式表;若需完全离线或避免外部请求,需自行处理字体加载。
  • 数据仅保存在当前浏览器配置的 localStorage 中,不会跨设备或跨浏览器自动同步,需使用 JSON 导出功能手动备份或迁移。
  • 导出 A4 PDF 依赖浏览器打印对话框,需手动选择“另存为 PDF”、启用背景图形并将边距设为“无”或“默认”,否则页面尺寸可能不准确。
  • 运行 npm install 会安装 Vite 与 Puppeteer 等开发依赖;Puppeteer 可能下载 Chromium,需要网络与额外磁盘空间。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

External network requests are strictly limited to the browser loading open Google Fonts stylesheets (`Inter`, `Merriweather`, `Plus Jakarta Sans`) during initial page load.

README 原文

Because storage is local to the current browser profile, data is not automatically synced across devices or browsers. Users should utilize the **Export JSON** feature to back up or transfer resume configurations.

README 原文

Users select **"Save as PDF"** in the print dialog with background graphics enabled and margins set to "None" or "Default" for exact A4 paper calibration.

README 原文

Install dev dependencies (Vite & Puppeteer)

README 原文
https://github.com/Rana0Codes/cv-template/blob/main/LICENSEhttps://github.com/Rana0Codes/cv-template/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-10。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 85 / 100
技术栈
Vite · HTML
网站类型
作品集
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-10-10
截图检查日期
2026-10-10

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Vite。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: [email protected] · 2026-10-11

查看当时使用的来源资料

SHA-256: 779aa76b6dfb67055c5ad9a05da3a735ba82cd9be53c58d8e1b17206897edf99

2026-10-10T19:43:38.278Z

来源文件 / 仓库
<div align="center">

# 📄 CV Template

### Professional ATS-Optimized Resume & Biodata Studio

A lightweight, zero-dependency, privacy-first client-side document authoring studio.<br/>
Engineered for **100% ATS compatibility**, seamless responsive ergonomics, and **vector-sharp A4 PDF export**.

---

[![CI](https://github.com/Rana0Codes/cv-template/actions/workflows/ci.yml/badge.svg)](https://github.com/Rana0Codes/cv-template/actions/workflows/ci.yml)
[![Deploy to GitHub Pages](https://github.com/Rana0Codes/cv-template/actions/workflows/deploy.yml/badge.svg)](https://rana0codes.github.io/cv-template/)
[![Live Demo](https://img.shields.io/badge/Live%20Demo-Online-success?style=flat&logo=githubpages&logoColor=white)](https://rana0codes.github.io/cv-template/)
[![License: MIT](https://img.shields.io/badge/License-MIT-teal.svg)](LICENSE)
[![Vanilla JS](https://img.shields.io/badge/JavaScript-ES%20Modules-yellow.svg)](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
[![Zero Dependencies](https://img.shields.io/badge/Dependencies-Zero-success.svg)](package.json)
[![CSS3 & HTML5](https://img.shields.io/badge/Style-CSS3%20Design%20Tokens-blue.svg)](css/base.css)
[![PWA Ready](https://img.shields.io/badge/PWA-100%25%20Offline%20First-purple.svg)](manifest.json)
[![WCAG AA](https://img.shields.io/badge/Accessibility-WCAG%20AA-emerald.svg)](css/base.css)
[![ATS Optimized](https://img.shields.io/badge/ATS%20Readiness-100%25%20Index-0f766e.svg)](#-interactive-ats-readiness-index)

</div>

---

## 🌟 Visual Showcase

### 1. Document Authoring Studio
Spacious 960px centered workspace with completed stepper indicators, in-studio layout bar, and interactive ATS readiness gauge:

<p align="center">
  <img src="docs/images/desktop-studio.png" alt="CV Template Authoring Studio" width="850">
</p>

---

### 2. Interactive ATS Compatibility Index Modal
Real-time scoring algorithm breaking down recruiter and ATS parser criteria into an actionable checklist:

<p align="center">
  <img src="docs/images/ats-checklist-modal.png" alt="ATS Readiness Checklist Modal" width="850">
</p>

---

### 3. Full-Screen Canvas Desk with Live Styling
Full-screen review desk with zoom controls (`Fit`, `75%`, `100%`, `125%`), live layout switching, instant accent swatches, and typography selection:

<p align="center">
  <img src="docs/images/preview-modal.png" alt="Full-Screen Preview Modal with Live Customizer" width="850">
</p>

---

### 4. Mobile Ergonomics
Clean single-hand mobile experience with segmented view tabs, native preset select, and horizontal scrolling rails:

<p align="center">
  <img src="docs/images/mobile-editor.png" alt="Mobile Editor View" width="340">
</p>

---

## 🚀 Key Features

* **5 Distinct ATS-Optimized Templates:**
  - **Modern Tech**: Two-column layout with skills category matrix and technical highlights.
  - **Corporate Executive**: Asymmetric sidebar, leadership highlights, and formal signature block.
  - **Minimalist ATS**: Universal single-column layout engineered for 100% parser pass rates (Workday, Taleo, Greenhouse).
  - **Creative Timeline**: Chronological vertical axis connecting career milestones with indigo accents.
  - **Traditional Biodata**: Formal tabular layout for academic credentials and personal particulars.
* **Dual Design Customizer (In-Studio & In-Preview):**
  - Instant layout switching across all 5 designs without losing filled data.
  - 6 executive accent swatches (*Corporate Teal, Royal Navy, Emerald Green, Indigo Purple, Executive Burgundy, Slate Charcoal*) plus a native color picker.
  - 4 typography engines: Sans (*Inter*), Corporate (*Calibri*), Serif (*Merriweather*), and Code (*JetBrains Mono*).
* **Collapsible Dynamic Cards:**
  - Work Experience and Education cards collapse into concise single-line headers to minimize vertical scrolling fatigue.
* **Interactive ATS Readiness System:**
  - Weighted scoring algorithm calculates resume strength in real time.
  - Clicking the gauge opens an interactive modal with direct status checklists.
* **Vector-Sharp A4 PDF Export:**
  - Native browser vector printing (`window.print()`) calibrated with exact `@page` rules for standard `210mm × 297mm` A4 portrait paper. Zero raster blur and 100% selectable text.
* **100% Privacy & Offline-First PWA:**
  - Zero external server calls. All data remains exclusively within the user's browser via `localStorage`.
  - Service worker caching enables full offline functionality in air-gapped environments.

---

## 📊 Template Comparison Matrix

| Template | Primary Role / Industry | ATS Match | Format | Key Visual Element |
|---|---|---|---|---|
| **Modern Tech** | Software Engineering, DevOps, Cloud | **98%** | 2-Column Grid | Technical Skills Matrix & Status Badges |
| **Corporate Executive** | Directors, Operations, Leadership | **96%** | Asymmetric Sidebar | Career Highlights & Signature Block |
| **Minimalist ATS** | Universal / High-Volume Corporate | **100%** | Single Column | High-Density Linear Parser Text |
| **Creative Timeline** | Designers, Product Managers, Leads | **95%** | Chronological Axis | Vertical Timeline Dots & Milestone Cards |
| **Traditional Biodata** | Academic, Indian Civil & Corporate | **94%** | Tabular Grid | Formal Particulars Table & Marksheet Grid |

---

## 🏗️ Architecture Overview

The system uses a unidirectional reactive architecture centered around an immutable data store:

```mermaid
flowchart LR
    subgraph Input ["Authoring Layer"]
        FB["Form Builder<br/>7 Steps"]
        TP["Template Picker<br/>Studio & Modal"]
        PU["Photo Uploader<br/>Canvas Compression"]
    end

    subgraph Core ["State & Persistence"]
        Store["Reactive Store<br/>js/store.js"]
        Local[("localStorage<br/>Client-Only")]
    end

    subgraph Renderers ["Template Registry"]
        T1["Modern Tech"]
        T2["Corporate Teal"]
        T3["Minimalist ATS"]
        T4["Creative Timeline"]
        T5["Traditional Biodata"]
    end

    subgraph Outputs ["Export Suite"]
        PDF["Vector A4 PDF<br/>@page print"]
        TXT["Plain Text ATS"]
        JSON["JSON Backup"]
    end

    Input --> Store
    Store <--> Local
    Store --> Renderers
    Renderers --> PDF
    Store --> TXT
    Store --> JSON
```

For complete technical specifications, see [`ARCHITECTURE.md`](ARCHITECTURE.md).

---

## ⚡ Quick Start

Because **CV Template** is built with modern ES Modules and native web standards, **no build step or compilation is required to run**.

### Option A: Local Dev Server with Hot Reload (Recommended)
```bash
# Clone the repository
git clone https://github.com/Rana0Codes/cv-template.git
cd cv-template

# Install dev dependencies (Vite & Puppeteer)
npm install

# Start local dev server
npm run dev
```
Open `http://localhost:5173` in your browser.

### Option B: Python HTTP Server (Zero Install)
```bash
python -m http.server 8000
```
Open `http://localhost:8000` in your browser.

### Option C: VS Code Live Server
Right-click `index.html` and select **"Open with Live Server"**.

---

## 🧪 Automated Testing & Verification

```bash
# Verify JavaScript syntax across all modules
npm run check

# Test Vite production bundle build
npm run build

# Run automated browser E2E verification suite
npm test

# Run automated vector A4 PDF export test
npm run test:pdf
```

---

## ⌨️ Productivity & Keyboard Shortcuts

| Shortcut | Context | Action |
|---|---|---|
| <kbd>Esc</kbd> | Global | Close full-screen preview modal or ATS checklist modal |
| <kbd>Ctrl</kbd> + <kbd>P</kbd> / <kbd>Cmd</kbd> + <kbd>P</kbd> | Global | Open full-screen preview and trigger vector A4 PDF print dialog |
| <kbd>Tab</kbd> / <kbd>Shift</kbd> + <kbd>Tab</kbd> | Editor | Natural accessibility-compliant focus navigation across inputs |

---

## 🌐 Browser Compatibility

| Browser | Minimum Version | Status |
|---|---|---|
| **Google Chrome** | 88+ | Full Support |
| **Microsoft Edge** | 88+ | Full Support |
| **Mozilla Firefox** | 85+ | Full Support |
| **Apple Safari** | 14+ | Full Support |

---

## 📁 Repository Structure

```text
cv-template/
├── .github/
│   ├── workflows/
│   │   ├── ci.yml                # Automated syntax check & build verification
│   │   └── deploy.yml            # Automated GitHub Pages deployment
│   ├── ISSUE_TEMPLATE/
│   │   ├── bug_report.md         # Structured bug reporting template
│   │   └── feature_request.md    # Template for layout and feature suggestions
│   └── PULL_REQUEST_TEMPLATE.md  # Standard pull request checklist
│
├── assets/                       # Brand icons, logo, and synthetic demo avatars
├── css/
│   ├── base.css                  # Tokens, typography, header, modals, toasts
│   ├── editor.css                # 7-step editor, collapsible cards, ATS bar
│   ├── preview.css               # Full-screen canvas desk, live customizer
│   ├── print.css                 # Vector A4 @page print stylesheet
│   └── templates/                # Individual stylesheets for templates 1–5
│
├── docs/
│   └── images/                   # High-resolution showcase screenshots
│
├── js/
│   ├── app.js                    # Application orchestrator and event binding
│   ├── store.js                  # Reactive state store & localStorage sync
│   ├── defaults.js               # Synthetic demo personas (Zero PII)
│   ├── export/                   # Vector PDF, plain text ATS, JSON exporters
│   ├── templates/                # Modular HTML template renderers 1–5
│   └── ui/                       # Form builder, photo uploader, styler, icons
│
├── tests/
│   ├── verify-suite.js           # Automated E2E & minimal data test suite
│   └── pdf-export.js             # Automated vector PDF export test runner
│
├── ARCHITECTURE.md               # Deep-dive system architecture documentation
├── CODE_OF_CONDUCT.md            # Contributor Covenant v2.1
├── CONTRIBUTING.md               # Contributor guide & coding standards
├── LICENSE                       # MIT License
├── README.md                     # Project landing page & documentation
├── SECURITY.md                   # Security & privacy policy
├── index.html                    # Application HTML shell
├── manifest.json                 # PWA Web App manifest
├── package.json                  # Project manifest & npm scripts
└── sw.js                         # PWA offline-first service worker
```

---

## 🔒 Privacy Architecture & Data Flow

* **Client-Side Persistence:** All resume content and biodata fields remain exclusively in the user's browser runtime and persist under `localStorage` (`cv_template_state_v1`).
* **Device-Specific Storage:** Because storage is local to the current browser profile, data is not automatically synced across devices or browsers. Users should utilize the **Export JSON** feature to back up or transfer resume configurations.
* **Network Transparency:** Zero user data, form values, or telemetry are transmitted to any server. External network requests are strictly limited to the browser loading open Google Fonts stylesheets (`Inter`, `Merriweather`, `Plus Jakarta Sans`) during initial page load.
* **Air-Gapped Operation:** Once cached via the Service Worker (`sw.js`), the application is capable of 100% offline execution.
* **Print Engine Dependency:** Vector PDF generation triggers the browser's native print engine (`window.print()`). Users select **"Save as PDF"** in the print dialog with background graphics enabled and margins set to "None" or "Default" for exact A4 paper calibration.

---

## 🤝 Contributing

Contributions are welcome! Please read our [Contributing Guidelines](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md) before submitting pull requests.

---

## 📄 License

This project is licensed under the **MIT License** — see the [LICENSE](LICENSE) file for details.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。