MCPcopy Index your code
hub / github.com/AstralSightStudios/AstroBox-Public

github.com/AstralSightStudios/AstroBox-Public @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
973 symbols 2,465 edges 200 files 73 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AstroBox-Public

AstroBox 是一款基于 Tauri 开发的多功能工具箱,专为支持小米 Protobuf 协议的小米 Vela 穿戴设备打造。它集成了快应用安装、表盘安装、资源社区访问等多项实用功能,旨在为用户提供便捷高效的一站式设备管理与个性化体验平台。

⚠️ 这是旧版仓库,前往AstroBox-NG以获取最新代码

存档 (Archived) 公告

该仓库已被存档,因为其包含过时的旧代码。1.x版本当前将不再继续更新,建议前往AstroBox-NG仓库查看新版代码。

⚠ 不完整开源

是的,这是AstroBox的官方开源仓库,其中包含了AstroBox的主要程序逻辑,完整度在90%以上。但某些模块出于合同规则、利益纠纷、法律问题,并未开源,因此该仓库提供的代码无法正常编译

有以下内容是缺失的:

  1. 完整的设备通信结构定义文件和部分数据包构建逻辑
  2. 米坛社区资源Provider实现逻辑

除此以外所有的内容未经任何删改,并允许在AGPL-v3协议下自由使用。

何时能够提供可编译的开源代码?

我们目前已经正在寻找包括将敏感内容编译为rlib分发在内的多种方案,敬请期待。

协议豁免

第三方abp插件可不受agpl传染自由指定许可证

Extension points exported contracts — how you extend this code

BtclassicSppExt (Interface)
Extensions to [`tauri::App`], [`tauri::AppHandle`] and [`tauri::Window`] to access the btclassic-spp APIs. [1 implementers]
src-tauri/plugins/btclassic-spp/src/lib.rs
Logger (Interface)
(no doc) [2 implementers]
src/log/logger.ts
Provider (Interface)
(no doc) [2 implementers]
src-tauri/src/community/provider.rs
BasePageProps (Interface)
(no doc)
src/layout/basePage.tsx
SearchConfig (Interface)
(no doc)
src/plugin/types.ts
Item (Interface)
(no doc)
src/types/ResManifestV1.ts
BoardcastInfo (Interface)
(no doc)
src/components/BoardcastDialog/BoardcastDialog.tsx
BuildInfo (Interface)
(no doc)
src/pages/_app.tsx

Core symbols most depended-on inside this repo

t
called by 291
src/i18n/index.tsx
get
called by 99
src-tauri/src/pluginsystem/manager.rs
push
called by 70
src-tauri/src/miwear/command_pool/mod.rs
useI18n
called by 62
src/i18n/index.tsx
send
called by 34
src-tauri/src/bt/device.rs
build
called by 30
src-tauri/src/miwear/device/mass/packet.rs
plugin_permission_check
called by 25
src-tauri/src/pluginsystem/utils.rs
add
called by 24
src-tauri/src/pluginsystem/manager.rs

Shape

Function 538
Method 253
Class 105
Interface 56
Enum 21

Languages

Rust56%
TypeScript37%
Kotlin5%
Java2%

Modules by API surface

src-tauri/src/frontapi.rs67 symbols
src-tauri/src/miwear/device.rs24 symbols
src-tauri/src/community/provider/official.rs23 symbols
src-tauri/plugins/btclassic-spp/src/win/implementation.rs22 symbols
src-tauri/plugins/btclassic-spp/src/macos/implementation.rs20 symbols
src-tauri/plugins/btclassic-spp/android/src/main/java/BTSpp.kt20 symbols
src/taskqueue/tasklist.ts16 symbols
src-tauri/src/pluginstore/provider/official.rs16 symbols
src-tauri/gen/android/app/src/main/java/moe/astralsight/astrobox/AstroBoxDocumentsProvider.java16 symbols
src-tauri/src/auth.rs15 symbols
src-tauri/plugins/btclassic-spp/android/src/main/java/BtClassicSPPPlugin.kt15 symbols
src-tauri/src/miwear/device/thirdpartyapp.rs14 symbols

For agents

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

⬇ download graph artifact