Skip to content

LystranG/lystran-paper

Repository files navigation

Lystran's Blog

Astro TypeScript TailwindCSS Vercel

Vercel

"What's past is prologue."
凡所过往,皆为序章。

📖 简介 / Introduction

这里是 Lystran 的个人博客仓库。 这是一个基于 Astro 构建的静态站点,旨在记录我的技术成长轨迹、代码逻辑以及对生活的思考。

基于 AstroPaper 主题进行修改和开发。

👉 Live Site: www.lystran.com

👉 About

🛠️ 技术栈 / Tech Stack

本站秉持 极简主义高性能 的原则构建。

维度 技术选型 说明
Framework Astro 极快的静态站点生成器,岛屿架构
Language TypeScript + React 类型安全与组件化开发
Styling Tailwind CSS 原子化 CSS,快速构建 UI
Theme AstroPaper 极简、SEO 友好、支持暗黑模式
Backend Vercel Functions Serverless 架构,混合渲染模式处理动态 API
Database Vercel KV (Upstash Redis) 键值存储,用于文章阅读量统计
Deployment Vercel 全球 CDN 加速、自动化部署与 Analytics 分析
Comment Giscus 评论系统

🚀 本地运行 / Development

如果你对本站的源码感兴趣,或者想在本地查看,可以按照以下步骤操作:

# 1. Clone the repository
git clone https://github.com/LystranG/lystran-paper.git

# 2. Install dependencies
pnpm install

# 3. Start the development server
pnpm run dev

打开浏览器访问 http://localhost:4321 即可。

⚖️ 版权与协议 / License

本仓库包含 代码内容 两部分,采用不同的协议:

  1. 代码 (Source Code): 基于 MIT License 开源。你可以自由地学习、修改或使用本站的代码结构,但建议替换掉我的个人配置和文章内容。

  2. 内容 (Articles & Assets): 若未特别指明,博客内的所有文章、图片及个人思考,均采用 CC BY-NC-SA 4.0 协议。

    • 允许:转载、分享、演绎。
    • 禁止:商业用途。
    • ⚠️ 要求:必须注明出处 (Lystran) 并以相同协议发布。

📬 联系 / Contact

If you find a bug or have a suggestion, feel free to open an issue!