MCPcopy Index your code
hub / github.com/halo-dev/halo

github.com/halo-dev/halo @v2.25.4 sqlite

repository ↗ · DeepWiki ↗ · release v2.25.4 ↗
10,410 symbols 45,922 edges 2,026 files 2,283 documented · 22% 45 cross-repo links
README
<a href="https://www.halo.run" target="_blank" rel="noopener noreferrer">
    <img width="100" src="https://www.halo.run/logo" alt="Halo logo" />
</a>

Halo [ˈheɪloʊ],强大易用的开源建站工具。

GitHub release Docker pulls GitHub last commit GitHub Workflow Status Codecov percentage GitCode Stars Halo - Powerful and easy-to-use Open-Source website building tool | Product Hunt

官网 文档 社区 Gitee Telegram 频道

Watch the video


Halo 是什么?

Halo 是一款强大易用的开源建站工具,从个人博客、知识库,到企业官网、在线商城,Halo 都能助您轻松实现,一站式满足您的多样化建站需求。

快速开始

如果你的设备有 Docker 环境,可以使用以下命令快速启动一个 Halo 的体验环境:

docker run -d --name halo -p 8090:8090 -v ~/.halo2:/root/.halo2 halohub/halo:2.25

或者点击下方按钮使用 GitpodClawCloud Run 启动一个体验环境:

Open in Gitpod

Run on ClawCloud

以上方式仅作为体验使用,推荐使用开源 Linux 服务器运维管理面板 1Panel 进行部署(查看文档),轻松搞定反向代理、SSL 证书及升级备份任务。更多部署方式,请查看文档

在线体验

版本对比

Halo 社区版:开源免费, 遵循 GPLv3 协议

  • [x] 适合个人开发者、技术爱好者、开源项目
  • [x] 零成本搭建博客、作品集、技术文档站
  • [x] 超过 100 款免费主题和插件

Halo 专业版:在社区版基础上,集成 10+ 高价值功能

  • [x] 移动端 APP:随时随地管理内容
  • [x] AI 智能建站:快速生成专业站点
  • [x] 手机号验证登录:提升安全与用户体验
  • [x] 全站私有化部署:保障数据主权
  • [x] 付费主题/插件市场:专享精品主题和 SEO 优化、付费阅读、AI 助手等 10 款付费插件

Halo 商城版:在专业版基础上,集成在线商城重磅功能

  • [x] 一体化在线商城:商品管理、订单处理、支付对接全流程
  • [x] 为中国商家定制:无缝集成微信支付、支付宝等本土生态
  • [x] 品牌官网 + CMS + 线上店铺一站式落地,助力生意高效增长

关于三个版本的详细对比,请参考版本对比

应用生态

许可证

license

Halo 使用 GPL-v3.0 协议开源,请遵守开源协议。

贡献

参考 CONTRIBUTING

状态

Repobeats analytics

Extension points exported contracts — how you extend this code

NotificationTemplateRender (Interface)
NotificationTemplateRender is used to render the notification template. @author guqing @since 2.10.0 [9 implementers]
application/src/main/java/run/halo/app/notification/NotificationTemplateRender.java
ReactiveSinglePageContentHandler (Interface)
ReactiveSinglePageContentHandler provides a way to extend the content to be displayed in the theme. @author guq [17 implementers]
api/src/main/java/run/halo/app/theme/ReactiveSinglePageContentHandler.java
Extension (Interface)
(no doc) [5 implementers]
ui/packages/api-client/src/models/extension.ts
RouteMeta (Interface)
(no doc)
ui/env.d.ts
ThemeInstallationErrorResponse (Interface)
(no doc)
ui/console-src/modules/interface/themes/types/index.ts
PostFormState (Interface)
(no doc)
ui/uc-src/modules/contents/posts/types/index.ts
CodemirrorProps (Interface)
(no doc)
ui/src/components/codemirror/supports.ts
IUpgradeRequest (Interface)
Multipart payload for upgrading a theme. [8 implementers]
application/src/main/java/run/halo/app/theme/endpoint/ThemeEndpoint.java

Core symbols most depended-on inside this repo

getMetadata
called by 974
api/src/main/java/run/halo/app/extension/ExtensionOperator.java
get
called by 929
application/src/main/java/run/halo/app/core/user/service/PatService.java
map
called by 810
ui/packages/editor/src/extensions/gap-cursor/gap-cursor-selection.ts
verify
called by 790
application/src/main/java/run/halo/app/core/user/service/EmailVerificationService.java
build
called by 684
api/src/main/java/run/halo/app/extension/index/IndexSpecBuilder.java
eq
called by 674
api/src/main/java/run/halo/app/extension/router/selector/LabelSelector.java
fetch
called by 564
application/src/main/java/run/halo/app/infra/SystemConfigFetcher.java
getName
called by 522
application/src/main/java/run/halo/app/extension/index/Index.java

Shape

Method 6,372
Class 1,659
Function 1,348
Interface 976
Enum 55

Languages

Java73%
TypeScript27%

Modules by API surface

application/src/test/java/run/halo/app/extension/index/SingleValueIndexTest.java71 symbols
application/src/test/java/run/halo/app/extension/index/MultiValueIndexTest.java70 symbols
ui/packages/api-client/src/api/user-v1alpha1-console-api.ts49 symbols
application/src/main/java/run/halo/app/core/endpoint/console/UserEndpoint.java48 symbols
api/src/main/java/run/halo/app/extension/Unstructured.java48 symbols
ui/packages/api-client/src/api/post-v1alpha1-console-api.ts44 symbols
ui/packages/api-client/src/api/theme-v1alpha1-console-api.ts42 symbols
ui/packages/api-client/src/api/plugin-v1alpha1-console-api.ts42 symbols
application/src/main/java/run/halo/app/extension/index/SingleValueIndex.java40 symbols
application/src/main/java/run/halo/app/core/endpoint/console/PluginEndpoint.java40 symbols
application/src/test/java/run/halo/app/extension/index/query/QueryVisitorTest.java39 symbols
application/src/main/java/run/halo/app/plugin/PluginServiceImpl.java39 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@ckpack/vue-color1.6.0 · 1×
@codemirror/commands6.10.0 · 1×
@codemirror/lang-css6.3.1 · 1×
@codemirror/lang-html6.4.11 · 1×
@codemirror/lang-javascript6.2.4 · 1×
@codemirror/lang-json6.0.2 · 1×
@codemirror/lang-markdown6.5.0 · 1×
@codemirror/lang-yaml6.1.2 · 1×
@codemirror/state6.5.2 · 1×
@codemirror/view6.38.8 · 1×
@ctrl/tinycolor4.2.0 · 1×

Datastores touched

(mysql)Database · 1 repos
haloDatabase · 1 repos
haloDatabase · 1 repos

For agents

$ claude mcp add halo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact