Revive the beauty of typography. https://retypeset.radishzz.cc/en/
Find a file
2025-05-02 20:08:50 +01:00
.github/ISSUE_TEMPLATE docs: update issue template 2025-04-06 15:57:28 +01:00
.vscode feat: add github repository card extension feature 2025-05-02 18:06:59 +01:00
assets chore: update readme and cover image 2025-03-26 23:03:38 +00:00
public docs: update theme guides 2025-04-13 00:59:46 +01:00
src docs: add multi-language markdown-extended-features post 2025-05-02 20:08:50 +01:00
.editorconfig chore: update ts-uno-eslint configuration 2025-01-13 04:23:37 +00:00
.gitignore chore: update ts-uno-eslint configuration 2025-01-13 04:23:37 +00:00
astro.config.ts feat: add github repository card extension feature 2025-05-02 18:06:59 +01:00
eslint.config.mjs chore: update ts-uno-eslint configuration 2025-01-13 04:23:37 +00:00
LICENSE Create LICENSE 2025-03-17 00:42:33 +00:00
package.json feat: add github repository card extension feature 2025-05-02 18:06:59 +01:00
pnpm-lock.yaml feat: add github repository card extension feature 2025-05-02 18:06:59 +01:00
README.md 🎨 style: optimize heti css styles 2025-04-21 19:18:45 +01:00
README.zh.md 🎨 style: optimize heti css styles 2025-04-21 19:18:45 +01:00
tsconfig.json chore: update dependencies, enhance theme configuration, and improve layout structure 2025-01-21 21:21:24 +00:00
uno.config.ts feat: add admonition functionality and markdown-extended-features article, improve blockquote styling 2025-04-25 20:31:41 +01:00

Cover Image Cover Image

Retypeset

Retypeset is a static blog theme based on the Astro framework. Inspired by Typography, Retypeset establishes a new visual standard and reimagines the layout of all pages, creating a reading experience reminiscent of paper books, reviving the beauty of typography. Details in every sight, elegance in every space.

Demo

Features

  • Built with Astro and UnoCSS
  • Support for SEO, Sitemap, OpenGraph, TOC, RSS, MDX and LaTeX
  • i18n support
  • Light / Dark mode
  • Elegant view transitions
  • Rich theme customization
  • Optimized typography
  • Responsive design
  • Comment system

Performance


Retypeset Lighthouse Score

Getting Started

  1. Fork this repository, or use this template to create a new repository.

  2. Click the Code button, copy the HTTPS URL, and run the following commands in your terminal:

    # Clone the repository
    git clone repository-url
    
    # Navigate to the project directory
    cd repository-name
    
    # Install pnpm globally (if not already installed)
    npm install -g pnpm
    
    # Install dependencies
    pnpm install
    
    # Start the development server
    pnpm dev
    
  3. Open localhost:4321 in your browser to see a live preview of your website.

  4. Refer to the Theme Guide to customize your blog and create new articles.

  5. Refer to the Astro Deployment Guides to deploy your blog to Netlify, Vercel, or other platforms.

Deploy to Netlify Deploy to Vercel

Updates

  • Retypeset releases new features from time to time, which can be updated as follows.

  • Refer to the GitHub Docs to run Sync fork in your repository to sync with the latest branch.

  • Do not click Discard Changes, or you will lose your modifications.

Commands

All commands are run from the root of the project, from a terminal:

Command Action
pnpm install Install dependencies
pnpm dev Starts local dev server at localhost:4321
pnpm build Build your production site to ./dist/
pnpm preview Preview your build locally, before deploying
pnpm astro ... Run CLI commands like astro add, astro check
pnpm astro -- --help Get help using the Astro CLI

Credits

Star History

Star History Chart