Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

lailai's Home

English · 简体中文

Website Introduction

My personal website for sharing technical notes, project experience, and learning insights.

Built with Docusaurus, with source code hosted on GitHub. The main site lailai.one runs on a cloud server, while the mirror lailai0916.com is deployed on GitHub Pages. A Tor onion site runs on the same server.

Website Features

🎨 Bespoke Home — A custom bento-grid homepage with an animated Lorenz Attractor and a typewriter intro.

📰 Reimagined Blog — A fully redesigned blog with a rich sidebar and enhanced article pages.

📄 Custom Pages — Handcrafted pages beyond the blog and docs, such as About, Travel, and Resources.

🧩 Custom Components — Domain-specific MDX components for problems, solutions, embeds, and more.

📐 Math, Diagrams & Live Code — Self-hosted KaTeX with copy-tex, Mermaid diagrams, and live React code blocks.

🔍 Full-Text Search — Fast site-wide search powered by Algolia DocSearch.

📱 Responsive Design — Layouts tuned for everything from phone to desktop.

⚙️ User Settings — Runtime controls for theme, accent color, font, and more.

🌐 Bilingual Interface — The site interface is available in English and Simplified Chinese.

🛡️ Privacy & Comments — A detailed privacy policy and comments powered by Giscus.

📡 Subscribable Feeds — Follow new posts via RSS, Atom, or JSON feeds.

🛠️ In-House Design System — A handcrafted component library (laikit) for a consistent UI.

📊 Analytics & SEO — Privacy-focused analytics through a public Umami dashboard and verification on major search engines.

📦 Local Font Hosting — Core fonts are bundled with the site and served locally.

🔧 Type-Safe & Modern Stack — Built with strict TypeScript and modern CSS.

🚀 Robust Deployment — GitHub Actions ships every commit to the origin server and a GitHub Pages mirror, with a Tor onion site alongside.

Getting Started

git clone https://github.com/lailai0916/lailai0916.github.io.git
cd lailai0916.github.io
npm install
npm start

Project Structure

lailai0916.github.io/
├── blog/ # Blog
│ ├── authors.yml # Author config
│ └── tags.yml # Tag config
├── docs/ # Documentation
├── i18n/ # Internationalization files
├── src/ # Source code
│ ├── components/ # Custom components
│ ├── css/ # Custom styles
│ ├── data/ # Data files
│ ├── hooks/ # Custom hooks
│ ├── pages/ # Custom pages
│ ├── theme/ # Custom theme
│ └── utils/ # Utility functions
├── static/ # Static assets
│ ├── img/ # Image files
│ ├── json/ # JSON files
│ └── CNAME # Domain config
├── docusaurus.config.ts # Docusaurus config
├── eslint.config.mjs # ESLint config
├── LICENSE # Code license
├── LICENSE-docs # Documentation license
├── package-lock.json # Dependency lock file
├── package.json # Dependency config
├── sidebars.ts # Documentation sidebar config
└── tsconfig.json # TypeScript config

Sponsor

You can buy me a coffee, and I'll do better. Thanks!

PayPal Alipay WeChat Pay

License

This project's code is licensed under MIT License, and this website's content is licensed under CC BY 4.0.

About

lailai's personal website for sharing technical notes, project experience, and learning insights.

Topics

Resources

Contributing

Security policy

Stars

148 stars

Watchers

3 watching

Forks

Sponsor this project

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /