Skip to content
프로젝트

소개

新版整合式个人博客,基于 Next 实现。

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

dsr-blog

由于个人兴趣转移等原因,本博客将进入维护模式。

新版整合式个人博客 dsr-blog,基于 Next 实现。

本地开发

使用 Bun 安装依赖并运行项目,锁文件为 bun.lock:

bun install --frozen-lockfile
bun run dev

提交前可运行 bun run fmt --check、bun run lint、bun run test 和 bun run build。

环境变量

  • NEXT_PUBLIC_GA_ID
  • Giscus 评论区需要同时配置:
    • NEXT_PUBLIC_GISCUS_REPO
    • NEXT_PUBLIC_GISCUS_REPO_ID
    • NEXT_PUBLIC_GISCUS_CATE
    • NEXT_PUBLIC_GISCUS_CATE_ID
  • NEXT_PUBLIC_GISCUS_FRIENDS_TERM:可选,仅用于友链页的指定 discussion 编号

任一 Giscus 必填变量缺失或为空时,评论区不会渲染,页面其余内容保持可用。

内容层默认按操作输出 Markdown 读取和渲染的调用次数、总耗时、平均值与最大值。服务端变量 CONTENT_LOG_LEVEL 可设置为 perf(默认)、debug(额外输出逐项 LRU 缓存命中)或 silent(关闭内容层诊断日志)。

本地 Agent Skills

项目 skill 不随仓库上传。新克隆仓库后,如需进行 UI 或 React/Next.js 维护,请先在项目目录安装:

bunx skills add shadcn/ui --skill shadcn --yes
bunx skills add vercel-labs/agent-skills --full-depth --skill vercel-react-best-practices --yes

生成的 .agents/ 与 .codex/ 仅供本地使用;skills-lock.json 纳入 Git,用于锁定项目 skill 来源与版本。

LICENSE

This project and all contributors shall not be responsible for any dispute or loss caused by using this project.

This project is released under the GNU AGPLv3, for more information read the License.

Copyright © 2018-present DSRKafuU (https://dsrkafuu.net)

관련 프로젝트 살펴보기

불러오는 중…