Skip to content
Projets

À propos

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

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

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)

Explorer des projets similaires

Chargement…