A static blog based on Astro https://blog.cloverta.top
Find a file
2026-04-25 01:22:07 +03:00
.github/workflows update abouot 2026-04-17 21:04:33 +03:00
.vscode "Initial commit from Astro" 2026-03-24 16:19:09 +02:00
docs Update doc to remark42 related 2026-04-04 21:24:55 +03:00
public update footer 2026-04-16 22:20:09 +03:00
src update preview radius 2026-04-25 01:22:07 +03:00
.env.example update env example 2026-04-04 20:58:49 +03:00
.gitignore "Initial commit from Astro" 2026-03-24 16:19:09 +02:00
astro.config.mjs fix mermaid chart 2026-04-14 13:30:40 +03:00
LICENSE Add MIT License to the project 2026-03-27 19:06:30 +02:00
package-lock.json remove uneeded packages 2026-04-16 02:53:33 +03:00
package.json hash test 2026-04-16 21:10:25 +03:00
README-en.md update doc 2026-04-13 01:53:09 +03:00
README.md update doc 2026-04-13 01:53:09 +03:00
svelte.config.js refactor(comments): refactor comments from giscus to remark42 2026-04-04 12:48:25 +03:00
tsconfig.json Finished structure 2026-03-24 19:33:01 +02:00

SanYeCao-Blog

[中文 | English]


三叶草Blog
🌊轻度/快速/美观🌊

Built With
Static Badge Static Badge Static Badge

😋 特性


preview-zh


  • 使用纯静态页面,响应迅速,轻盈美观
  • 操作简易Github Action自动部署
  • Astro Is All You Need

更多预览请移步:Images.md

🧳 使用

1. Fork 这个仓库

image

并将其克隆到本地。

2. 运行/构建

Important

在开始之前,请先将根目录的.env.example重命名为.env并配置好环境变量,否则功能会不完善

有关环境变量的说明详见:EnvVariables.md

  • 安装依赖

    npm install
    
  • 本地调试

    npm run dev
    
  • 本地构建

    npm run build
    

3. 部署

使用Github Actions自动化部署

详情参见:GithubActions.md

手动部署

将生成的dist/目录上传至你的服务器,使用NGINX指向index.html。

4. 评论区

项目使用自托管 Remark42 作为评论区系统。

安装部署详情请查看官方文档:Installation | Remark42


5. 更新日志

详情请看:ChangeLog.md

6. 旧版本

支持GISCUS的旧版本在 deprecated/giscus 分支上,但是它有些时候没更新了,可能会有诸多问题。


⚖️ 许可

本仓库中的源代码部分采用 MIT License 开源。

除非另有说明,本仓库中的博客文章、其他原创的非代码内容采用 CC BY-NC-ND 4.0 协议。