HTML作品集启动器

devfolio-starter — HTML 作品集模板

作者 duduboiii123

DevFolio Starter 是一个用纯 HTML、CSS 和原生 JavaScript 编写的深色主题开发者作品集模板,包含打字机角色动画、项目分类筛选、滚动触发的技能条与计数器、联系表单校验等交互,并保留了若干待修复缺陷供 GSSoC 2026 贡献者练习。

看看你的网站会是什么样

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

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

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

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

纯 HTML、CSS 与原生 JavaScript 实现,无需构建步骤或框架依赖

02

深色主题,颜色通过 CSS 自定义属性集中管理

03

包含打字机角色动画、滚动显现、技能条与计数器动画、项目卡片 3D 倾斜等交互效果

04

项目列表支持按类别筛选,联系表单带前端校验

05

仓库 README 列出 10 个故意保留的缺陷,作为 GSSoC 2026 贡献任务

06

MIT 许可,允许使用、修改、商用与分发

模板详细介绍

DevFolio Starter 由 duduboiii123 发布在 GitHub,采用 MIT 许可,是一个面向开发者个人作品展示的静态页面模板。它不依赖构建工具或框架,页面结构由 index.html 承载,样式拆分在 css/style.css 与 css/animations.css,交互逻辑放在 js/main.js 与 js/animations.js,图片和图标存放在 assets/ 目录。

模板默认是深色主题,使用 CSS 自定义属性管理颜色,布局按移动优先方式编写。已实现的交互包括:打字机效果循环显示角色文本、按类别筛选项目卡片、滚动到对应区域时触发技能条宽度动画与数字计数器、带校验的联系表单、返回顶部按钮、滚动显现动画,以及项目卡片上的 3D 倾斜效果。

需要留意的是,仓库 README 明确列出 10 个故意保留的缺陷,作为 GSSoC 2026 的贡献任务,例如 viewport meta 缺少 content 属性导致移动端不适配、汉堡菜单切换未传入类名参数、邮箱输入框类型写成 text、页脚年份硬编码为 2023、邮箱校验正则仅检查 @ 等。这些缺陷分布在 index.html、js/main.js 和 js/animations.js 中,意味着当前仓库版本在移动端响应式和部分交互上并不完整,直接使用前需要先修复或自行调整。

使用方式为克隆仓库后直接在浏览器打开 index.html,或用 Live Server 等本地静态服务器预览;自定义时修改 index.html 中的姓名、简介与项目内容,通过 css/style.css 的 CSS 变量更换配色,并把个人照片放入 assets/。

HTML作品集启动器

适合你的项目吗?

适用场景

  • 开发者搭建个人作品集页面,展示简介、技能与项目列表
  • 作为学习原生 JavaScript 交互(滚动监听、动画、表单校验)的练习素材
  • 作为 GSSoC 2026 等开源贡献活动的入门仓库,通过修复已知缺陷熟悉提交流程
  • 在静态托管(如 GitHub Pages)上直接部署,无需后端或构建流程

适合人群

  • 希望用纯 HTML/CSS/JS 快速起步个人作品集的开发者
  • 想练习前端调试与缺陷修复的开源贡献新手
  • 需要深色主题、带动画效果静态模板的前端学习者
  • 偏好无构建工具、可直接打开文件预览的工作方式的用户

上手与定制指南

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

  1. 1

    克隆仓库后可直接在浏览器打开 index.html,或使用 Live Server 等本地静态服务器预览

  2. 2

    自定义内容需编辑 index.html 中的姓名、简介与项目信息

  3. 3

    更换配色可修改 css/style.css 中的 CSS 自定义属性

  4. 4

    个人照片需放入 assets/ 目录并替换对应引用

  5. 5

    使用前建议先修复 README 中列出的已知缺陷,尤其是 viewport meta 缺失 content 属性导致的移动端不适配问题

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: 0304e85391631931b37a2df1637f2b0e8f3033a8d38f1bf27b33935688bd3f81

2026-10-02T17:35:02.804Z

来源文件 / 仓库
# 🚀 DevFolio Starter

A clean, modern **developer portfolio template** built with pure HTML, CSS, and Vanilla JavaScript. Dark-themed, responsive, and packed with smooth animations.

> **GSSoC 2026 Project** — Open for contributions! See the [Issues](#-known-bugs--open-issues) below to get started.

![HTML5](https://img.shields.io/badge/HTML5-E34F26?style=flat&logo=html5&logoColor=white)
![CSS3](https://img.shields.io/badge/CSS3-1572B6?style=flat&logo=css3&logoColor=white)
![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=flat&logo=javascript&logoColor=black)
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)

---

## ✨ Features

- 🌑 Dark-mode design with CSS custom properties
- 📱 Responsive layout (mobile-first)
- 🔡 Typewriter role animation
- 🎯 Project filter by category
- 📊 Animated skill bars on scroll
- 🔢 Animated stat counters
- 📬 Contact form with validation
- 🔝 Back-to-top button
- 🎞️ Scroll reveal animations
- 🃏 3D tilt effect on project cards

---

## 📁 Project Structure

```
devfolio-starter/
├── index.html          # Main HTML page
├── css/
│   ├── style.css       # Main styles & layout
│   └── animations.css  # Keyframes & animation classes
├── js/
│   ├── main.js         # Core interactivity
│   └── animations.js   # Scroll, parallax, tilt effects
├── assets/             # Images & icons 
├── CONTRIBUTING.md
└── README.md
```

---

## 🚀 Getting Started

1. **Clone the repo**
   ```bash
   git clone https://github.com/duduboiii123/devfolio-starter.git
   cd devfolio-starter
   ```

2. **Open in browser**
   ```bash
   # Option 1: Just open index.html in your browser
   open index.html

   # Option 2: Use Live Server (VS Code extension) for hot reload
   ```

3. **Customize**
   - Edit the name, bio, and projects in `index.html`
   - Swap colours via CSS variables in `css/style.css`
   - Add your real photo in the `assets/` folder

---

## 🐛 Known Bugs & Open Issues

These bugs are **intentionally left in the code** for contributors to find and fix as part of **GSSoC 2026**. Each is a real, impactful bug — not a typo.

| # | File | Description | Difficulty |
|---|------|-------------|------------|
| 1 | `index.html` | `<meta name="viewport">` is missing its `content` attribute — page is **not mobile responsive** | 🟢 Easy |
| 2 | `index.html` | Hamburger `<button>` has no `onclick` — but `main.js` attaches the listener; **the bug is in `main.js`** (see #7 below) | 🟢 Easy |
| 3 | `index.html` | Project filter: the `active` class is on the **"JavaScript"** button, not "All" | 🟢 Easy |
| 4 | `index.html` | Skill bar `<div>`s have `style="width: 0%"` hardcoded — the JS observer sets `data-width` correctly but the CSS transition won't work without fixing the initial HTML | 🟡 Medium |
| 5 | `index.html` | Email `<input>` has `type="text"` — should be `type="email"` for proper browser validation | 🟢 Easy |
| 6 | `index.html` | Footer copyright year is **hardcoded as 2023** — should dynamically show the current year via JS | 🟢 Easy |
| 7 | `js/main.js` | `navLinks.classList.toggle()` is called **without the class name argument** — hamburger menu never opens | 🟢 Easy |
| 8 | `js/main.js` | Counter animation `increment` is `target / 10` — with `setInterval` at 80ms this gives imprecise jumpy counts; should use `Math.ceil(target / 50)` or similar | 🟡 Medium |
| 9 | `js/main.js` | Email validation regex `/@/` only checks for `@` — accepts `abc@` as valid. Should be a proper email regex | 🟡 Medium |
| 10 | `js/animations.js` | Page fade-in doesn't animate — `transition` is never set before `opacity` changes, so the body just snaps to visible | 🟡 Medium |

---

## 🙋 How to Contribute (GSSoC 2026)

We welcome all contributions — bug fixes, new features, accessibility improvements, and docs!

### Step 1: Find an issue
Browse the [Issues tab](../../issues) and comment on one you'd like to work on. Wait for it to be assigned to you.

### Step 2: Fork & clone
```bash
git clone https://github.com/duduboiii123/devfolio-starter.git
```

### Step 3: Create a branch
```bash
git checkout -b fix/bug-7-hamburger-menu
```

### Step 4: Fix & commit
```bash
git add .
git commit -m "fix: hamburger menu toggle missing class name argument"
```

### Step 5: Open a Pull Request
Push to your fork and open a PR against `main`. Reference the issue number in your PR description.

---

## 💡 Feature Ideas (Good First Issues)

- [ ] Add a **dark/light mode toggle**
- [ ] Add a **loading spinner** on page start
- [ ] Make the **navbar active link** highlight based on scroll position
- [ ] Add **form accessibility** (aria-labels, error messages)
- [ ] Add a **smooth scroll progress bar** at the top of the page
- [ ] Convert to use **CSS Grid** for the skills section
- [ ] Add a **"copy email" button** in the contact section
- [ ] Add **keyboard navigation** support for the project filter

---

## 📋 Contribution Guidelines

- One bug fix per pull request
- Write a clear PR description explaining what you changed and why
- Test your changes in at least two browsers (Chrome + Firefox)
- Do not use AI-generated code without understanding every line
- Be respectful and inclusive in all discussions

---

## 📄 License

[MIT](LICENSE) — free to use, modify, and distribute.

---

<p align="center">Made with ❤️ for GSSoC 2026</p>
反馈内容错误

看看同类模板

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