Skip to content

Skadli/Twilight

 
 

Repository files navigation

Twilight

A CMS integrated static blog template built with Astro framework.

🖥️ Live Demo 📝 Documentation

Bilibili  YouTube

Desktop
Mobile_4 Mobile_2 Mobile_1 Mobile_3 Mobile_5

English | 中文

✨ Features

Content

  • CMS Functionality: Easy content management with Decap CMS integration
  • Data Visualization: Visualized personal data like projects, skills etc.
  • Automatic Navigation: Automatic generation of post navigation

Components

  • Analytics Support: Umami analytics integration for visitor insights
  • Comment System: Twikoo-powered comment functionality
  • Music Player: Background music support with playlist management
  • PIO Widget: Interactive live2d character support

VFX

  • Smooth Transition Animations: Polished page component transition animations
  • Customizable Theme Colors: Realtime customizable color schemes
  • Dynamic Wallpaper System: Carousel support with multiple display modes
  • Immersive Particle Effects: Highly customizable animated particles

Compability

  • Modern & Responsive Design: Fully optimized for desktop and mobile devices
  • Multilingual Capability: Built-in translation functionality for global accessibility

📦 Installation

  1. Clone the repository:

    git clone https://github.com/Spr-Aachen/Twilight.git
    cd Twilight
  2. Install dependencies:

    # Install pnpm if not already installed
    npm install -g pnpm
    
    # Install project dependencies
    pnpm install
  3. Configure your blog:

  4. Start the development server:

    pnpm dev

🚀 Deployment

Deploy your blog to any static hosting platform

⚡ Commands

Command Action
pnpm lint Check and fix code issues
pnpm format Format code with Biome
pnpm check Run Astro error checking
pnpm dev Start local dev server
pnpm build Build site to ./dist/
pnpm preview Preview build locally
pnpm astro ... Run Astro CLI commands
pnpm new-post <filename> Create a new blog post

🙏 Acknowledgements

🤝 Support

This project is supported by Alibaba Cloud ESA for accelerated delivery, compute, and protection. Alibaba Cloud ESA Support

About

A CMS integrated static blog template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Astro 70.1%
  • TypeScript 14.5%
  • Svelte 6.6%
  • CSS 5.9%
  • JavaScript 1.5%
  • Stylus 1.4%