MCPcopy Index your code
hub / github.com/Uni-Gal/Ayaka

github.com/Uni-Gal/Ayaka @v0.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.0 ↗ · + Follow
686 symbols 1,465 edges 70 files 119 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ayaka

Ayaka一开始是OSPP 2022的一个项目。

关于名字

前端是Ayaka。运行时是Ayaka。脚本是Ayaka。Just Ayaka.

目前已完成的

  • 使用Rust完成的跨平台视觉小说引擎。
  • 基于YAML的定义明确且易于创作的视觉小说配置文件格式。
  • 嵌入式的自定义脚本。
  • 基于CLDR i18n支持。
  • 基于WebAssembly 的一个灵活的插件系统。它通过脚本提供运行时和互操作功能的钩子。
  • 一个“解耦合”的框架——前端、后端以及插件互相解耦合。
  • 用于检查语法错误和快速调试的CLI前端。
  • 基于TauriVue的GUI前端,并包含Live2D支持。
  • 从配置直接生成PDF的LaTeX前端原型。

文档

Ayaka Book

API文档

运行截屏

奥尔加

许可证

项目依MIT license许可。

Extension points exported contracts — how you extend this code

Callable (Interface)
Represents a callable part of a script. [5 implementers]
plugins/ayacript/src/script.rs
RawModule (Interface)
Represents a raw plugin module. [4 implementers]
utils/ayaka-plugin/src/lib.rs
SettingsManager (Interface)
A settings manager trait. This type should handle the file loading and saving, and manage the paths of the files. [2 implementers]
utils/ayaka-model/src/settings.rs
OpenGameStatus (Interface)
(no doc)
bins/ayaka-gui/src/interop/index.ts
Linker (Interface)
Represents the linker of plugin modules. [4 implementers]
utils/ayaka-plugin/src/lib.rs
Settings (Interface)
(no doc)
bins/ayaka-gui/src/interop/index.ts
LinkerHandle (Interface)
Represents a handle of linker. Usually it is not easy to call function inside host functions. A handle provides methods [4 …
utils/ayaka-plugin/src/lib.rs
RawContext (Interface)
(no doc)
bins/ayaka-gui/src/interop/index.ts

Core symbols most depended-on inside this repo

write_block
called by 87
plugins/markdown/src/lib.rs
log
called by 61
utils/ayaka-bindings/src/logger.rs
call
called by 26
utils/ayaka-plugin/src/lib.rs
as_ref
called by 22
utils/ayaka-runtime/src/locale.rs
get_str
called by 18
utils/ayaka-primitive/src/raw_value.rs
read
called by 16
utils/ayaka-runtime/src/plugin/fs_interop.rs
write_chars
called by 16
plugins/markdown/src/lib.rs
escape_html
called by 15
plugins/markdown/src/lib.rs

Shape

Function 350
Method 226
Class 74
Enum 22
Interface 14

Languages

Rust68%
TypeScript31%
Kotlin1%

Modules by API surface

bins/ayaka-gui/public/live2dcubismcore.min.js93 symbols
bins/ayaka-gui/public/live2d.min.js82 symbols
bins/ayaka-gui/src/interop/index.ts38 symbols
utils/ayaka-runtime/src/context.rs32 symbols
utils/ayaka-model/src/view_model.rs30 symbols
bins/ayaka-gui/src-tauri/src/lib.rs30 symbols
utils/ayaka-primitive/src/text.rs28 symbols
utils/ayaka-bindings-types/src/plugin.rs21 symbols
utils/ayaka-plugin-wasmer/src/lib.rs19 symbols
utils/ayaka-runtime/src/plugin.rs17 symbols
utils/ayaka-model/src/settings.rs15 symbols
plugins/markdown/src/lib.rs15 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page