Skip to content

Latest commit

 

History

History
85 lines (54 loc) · 3.6 KB

README_en-US.md

File metadata and controls

85 lines (54 loc) · 3.6 KB

English 丨 Español 丨 简体中文丨繁体中文

Solitude paper airplane logo

Hexo Solitude

An elegant Hexo theme that supports lazy loading, PWA, Latex, and multiple comment systems.

Theme design fully authorized by @Zhang Hong Heo

npm package license Stars NPM all downloads

hexo version node version JetBrains

page view jsdelivr npm publish

Solitude paper airplane over a layered paper landscape

Features

  • Page lazy loading (Pjax), image lazy loading (LazyLoad), offline application (PWA)
  • Comments (Twikoo, Waline, Valine, Artalk, Giscus), supports dual comments
  • Day and night switch (ColorMode)
  • Lightbox (medium-zoom, fancybox)
  • Mathematical formulas (Latex)
  • Featured pages: Instant articles, My gear, Online tools, Music hall, Friend links, Album page, Douban page, Bullet screen message page
  • Article features: AI summary, code highlighting

If you have any questions, please raise an issue

Application

  1. Install using the NPM package

    npm i hexo-theme-solitude
  2. Apply the theme

    theme: solitude

Visit Documentation for more information.

Browser Extension API

The browser runtime uses native ES modules and exposes one stable extension entry point through window.Solitude:

  • navigate(url), refresh(), copy(text), and toggleTheme()
  • loadScript(url, options) and loadStyle(url, options)
  • on(event, handler) for ready, beforeNavigate, afterNavigate, and themeChange

on returns an unsubscribe function. The legacy sco, utils, pjax, GLOBAL_CONFIG, and PAGE_CONFIG globals are no longer public APIs; custom scripts should migrate to window.Solitude.

Community

Discord QQ Group

Sponsors

The CDN acceleration and security protection of this project are sponsored by Tencent EdgeOne

License

Please retain the theme copyright information

FOSSA Status

Apache-2.0 License © 2025-present everfu