提供 GitHub 模板用法,可基于该仓库创建自己的作品集项目
new_portfolio — Next.js 作品集模板
作者 DoctorPok42
一个基于 Next.js 与 TypeScript 的个人作品集模板,通过 config.json 和 public 目录中的图片配置内容,并使用 Doppler 或 .env 管理密钥。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
通过 config.json 集中填写个人信息
头像与项目图片分别放入 public 和 public/projects 目录
在 index.tsx 中填写 GitHub 用户名与 token
支持 Doppler 或根目录 .env 两种密钥管理方式
使用 pnpm install 与 pnpm dev 在本地启动
模板详细介绍
该仓库是作者个人作品集的源码,同时被定位为可复用的模板:在 GitHub 上点击“Use this template”创建自己的仓库后,按 README 步骤修改 config.json 中的个人信息、向 public 目录添加头像(profil.png)、向 public/projects 添加项目图片,并在 src/pages/index.tsx 第 110 行附近填写 GitHub 用户名与 token。README 说明项目使用 Next.js、TypeScript 和 Docker,并采用 Doppler 管理密钥:可创建 Doppler 免费账户存放密钥,配合仓库中的 doppler.yaml 通过 Doppler CLI 在本地运行;也可以在项目根目录创建 .env 文件设置环境变量,参考 .env.example。本地启动命令为 pnpm install 与 pnpm dev。README 未提供页面结构、组件清单、样式方案、部署流程或生产环境配置的进一步说明,也未列出依赖清单中的具体框架版本号。
适合你的项目吗?
适用场景
- 想快速搭建个人作品集并自行维护内容的开发者
- 希望以 GitHub 模板方式复制项目结构并替换个人信息的用户
- 需要使用 Doppler 或 .env 管理密钥的本地开发场景
- 需要按 README 步骤配置头像与项目图片的静态资源组织场景
适合人群
- 熟悉 Next.js 与 TypeScript 并愿意按 README 手动修改配置的开发者
- 需要可复制模板来创建个人作品集仓库的用户
- 接受通过 Doppler 或 .env 管理密钥的本地开发环境
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
在 GitHub 页面点击“Use this template”创建自己的仓库并命名
- 2
更新 config.json 文件中的个人信息
- 3
将头像保存为 public/profil.png,并把项目图片放入 public/projects 目录
- 4
修改 src/pages/index.tsx 第 110 行附近的 GitHub 用户名与 token
- 5
使用 pnpm install 与 pnpm dev 启动项目;密钥可通过 Doppler CLI 配合 doppler.yaml,或在根目录 .env 中设置(参考 .env.example)
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- 需在 src/pages/index.tsx 第 110 行附近填写自己的 GitHub 用户名与 token,才能正常获取 GitHub 数据。
- 项目使用 Doppler 管理密钥,需要依赖该外部服务。
- 使用 Doppler 需自行创建账户(免费账户)并在其中存放密钥,再通过 Doppler CLI 运行项目。
- 若不使用 Doppler,则需在项目根目录创建 .env 文件自行设置环境变量。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
6. Update the 110 line of the [index.tsx](https://github.com/DoctorPok42/new_portfolio/blob/cc60e6bbc7f3c9258c673125d7f156b6e31bb2d7/src/pages/index.tsx#L111C57-L111C68) file with your github username and token.
README 原文
This project use [Doppler](https://www.doppler.com/) to manage secrets.
README 原文
- You can create a free account and add your secrets there. Then, you can use the Doppler CLI to run your project locally with the [doppler.yaml](./doppler.yaml) file.
README 原文
https://github.com/DoctorPok42/new_portfolio/blob/main/LICENSEhttps://github.com/DoctorPok42/new_portfolio/blob/main/README.md- Or you can set the environment variables in a `.env` file in the root of the project. See [.env.example](./.env.example) for more details.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-14。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 72 / 100
- 技术栈
- Next.js · React
- 网站类型
- 作品集
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-08-28
- 截图检查日期
- 2026-10-14
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: codex-user-requested-batch-review-20261015 · 2026-10-15
查看当时使用的来源资料
SHA-256: 3e81096353a9b07d05f52ae41da223d6f6ea7d4136722bcba6ef8a0298fd12b9
2026-10-14T00:48:29.956Z
来源文件 / 仓库# Portfolio This repo contains a portfolio of my work. But it's also **your portfolio!** You can use it as a **template** to create your own portfolio. Just follow the instructions below. ## Instructions 1. Click the "Use this template" button at the top of the GitHub page. 2. Name your repository. 3. Update the `config.json` file with your information. 4. Add your profile picture to the `public` folder. (profil.png) 5. Add the different images of your projects to the `public/projects` folder. 6. Update the 110 line of the [index.tsx](https://github.com/DoctorPok42/new_portfolio/blob/cc60e6bbc7f3c9258c673125d7f156b6e31bb2d7/src/pages/index.tsx#L111C57-L111C68) file with your github username and token. 7. Start your project with `pnpm install` and `pnpm dev`. 8. That's it! Your portfolio is ready to go! 🚀 This project use [Doppler](https://www.doppler.com/) to manage secrets. - You can create a free account and add your secrets there. Then, you can use the Doppler CLI to run your project locally with the [doppler.yaml](./doppler.yaml) file. - Or you can set the environment variables in a `.env` file in the root of the project. See [.env.example](./.env.example) for more details. ## Technologies - [Next.js](https://nextjs.org/) - [TypeScript](https://www.typescriptlang.org/) - [Docker](https://www.docker.com/) ## License This project is under the MIT license. See the [LICENSE](LICENSE) file for more details.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

react-resume-template
A personal resume website template built with React.js, Typescript, Next.js, and styled with Tailwind css
Next.js · 作品集

nxt-lnk
Custom bio links for creatives who love coding. A perfect custom alternative for linktree, bio and other short…
Next.js · 作品集

sylph
A minimal portfolio template.
Next.js · 作品集

sleek-portfolio
sleek-portfolio 是一个面向开发者个人品牌展示的现代作品集模板,基于 Next.js 15、TypeScript、Tailwind CSS 和 Shadcn UI 构建。
Next.js · 作品集

research-website-template
React + Next.js template for research websites (for PhD students, researchers, etc)
Next.js · 作品集

shadcn-portfolio
shadcn-portfolio 是一个面向开发者的作品集模板,技术栈为 Next.js 15、shadcn/ui、Tailwind CSS 和 Framer Motion。
Next.js · 作品集
