Skip to content

RUBisco0211/rublog-astro

Repository files navigation

Litos Logo

License Astro React Tailwind TypeScript

A modern, elegant, and performance-focused blogging theme built for developers.

English | 简体中文

Demo · Report Bug · Request Feature

Introduction

Litos is a comprehensive blogging theme crafted with Astro, React, and TailwindCSS. It is designed to provide developers with a clean, professional, and highly customizable platform to showcase their work, thoughts, and photography.

Unlike traditional themes, Litos emphasizes visual aesthetics without compromising on performance. It features fluid animations, a polished design system, and a robust set of built-in components to help you build your personal brand effectively.

Cover image

Key Features

  • Modern Architecture — Astro 5 + React 19 for blazing fast performance and dynamic interactivity.
  • Elegant Design — Fully responsive, meticulously crafted UI with TailwindCSS 4.
  • Posts — Multiple layout options (compact, cover image) with rich Markdown support.
  • Projects — Dedicated portfolio section with filterable tags.
  • Photos — Beautiful masonry layout for photography collections.
  • Skills Showcase — Visually represented technical stack configuration.
  • Code Highlighting — Integrated Expressive Code for beautiful syntax highlighting.
  • Math Support — KaTeX for rendering mathematical equations.
  • Comments — Gitalk integration for GitHub-based discussions.
  • SEO — Built-in sitemaps, robots.txt, and meta tags.
  • Analytics — Configurable Vercount and Umami analytics.
  • Dark Mode — Native light and dark theme support.

Deploy

Deploy your own Litos blog with one click:

Deploy with Vercel Deploy to Netlify

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • pnpm (recommended)

Installation

  1. Clone the repository

    git clone https://github.com/Dnzzk2/Litos.git
    cd Litos
  2. Install dependencies

    pnpm install
  3. Start the development server

    pnpm dev

    Your site should now be running at http://localhost:4321.

Configuration

The primary configuration file is located at src/config.ts.

Site Settings

export const SITE: Site = {
  title: 'Litos',
  description: 'Your site description here.',
  website: 'https://your-domain.com',
  author: 'Your Name',
  // ...other settings
}

Feature Toggles

export const SKILLSSHOWCASE_CONFIG = {
  SKILLS_ENABLED: true,
  // ...
}

export const GITHUB_CONFIG = {
  ENABLED: true,
  // ...
}

Navigation

Links for the Header and Footer can be managed via HEADER_LINKS and FOOTER_LINKS.

Scripts

Script Description
pnpm dev Starts the local development server.
pnpm build Builds the site for production.
pnpm preview Previews the built production site locally.
pnpm format Formats code using Prettier.
pnpm check Runs Astro check for diagnostics.

License

Distributed under the MIT License. See MIT LICENSE for more information.

Star History

Star History Chart

made with 💗 by Dnzzk2 !

About

My personal static blog, built with Astro framework and Litos theme.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors