[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82313":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":12,"stars30d":12,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},82313,"OH-Plugins","liliMozi\u002FOH-Plugins","liliMozi","Official OpenHanako plugin marketplace index and official plugin sources",null,"JavaScript",28,7,21,1,0,4,12,51.91,false,"main",true,[],"2026-06-12 04:01:37","# OH-Plugins\n\nThis repository is the official OpenHanako community plugin catalog. It follows\nthe Obsidian-style model: third-party authors submit plugin metadata to one\nofficial catalog, and Hana clients read the generated catalog without asking\nusers to manage marketplace sources.\n\n## Repository Layout\n\n```text\nmarketplace.json                 Generated client-facing index.\nplugins\u002F*.{yaml,yml,json}        Reviewed plugin entries maintained by humans.\nschemas\u002F                         JSON Schemas for registry and manifest files.\nscripts\u002F                         Validation and index-generation scripts.\nofficial-plugins\u002F                Official plugin source directories.\ndist\u002F                            Local release package output, not committed.\n```\n\n## Model\n\nHana treats this repository as a discovery and trust index. The index points to a\nplugin repository and a fixed release package. Installable release packages must\ninclude a SHA-256 checksum so the app can verify what it downloaded.\n\nThe first version supports two distribution modes:\n\n- `release`: the entry points at a versioned package URL and checksum. This is\n  the normal one-click install mode.\n- `source`: local development and maintainer testing only. URL clients cannot\n  install source paths because remote repository paths are not local directories.\n\n## Official Plugins\n\nOfficially maintained plugin sources live in `official-plugins\u002F`. The first\ncatalog entry is `hanako-hyperframes`, which is maintained in this repository and\npublished as a release zip.\n\n## Developing With Hana\n\nUse the Hana app repo docs for plugin code:\n\n- `project-hana\u002F.docs\u002FPLUGIN-DEVELOPMENT.md`: end-to-end workflow.\n- `project-hana\u002FPLUGINS.md`: plugin API and contribution reference.\n- `project-hana\u002FPLUGIN_SDK.md`: SDK package map.\n\nFor local marketplace testing, point Hana at this repository's generated index:\n\n```bash\nHANA_PLUGIN_MARKETPLACE_FILE=\u002Fpath\u002Fto\u002FOH-Plugins\u002Fmarketplace.json npm run dev\n```\n\nLocal file marketplaces can install `distribution.kind = \"source\"` entries\nbecause paths resolve on disk. Normal client installs use\n`distribution.kind = \"release\"` from the official URL marketplace.\n\n## Adding A Plugin\n\n1. Add `plugins\u002F\u003Cplugin-id>.yaml`.\n2. Include the plugin source repository, manifest URL, version, trust level,\n   compatibility, permissions, contributions, and distribution details.\n   Add one README source so Hana can show the plugin detail page:\n   `readme` for short inline Markdown, `readmeUrl` for HTTPS Markdown, or\n   `readmePath` for Markdown stored in this repository.\n3. Run `npm run check`.\n4. Open a pull request.\n\nRuntime-installable community plugins should use `distribution.kind = \"release\"`\nwith a fixed `packageUrl` and `sha256`.\n\nOfficial source plugins can live in `official-plugins\u002F\u003Cplugin-id>\u002F` and publish\na release package with:\n\n```yaml\ndistribution:\n  kind: release\n  packageUrl: https:\u002F\u002Fgithub.com\u002FliliMozi\u002FOH-Plugins\u002Freleases\u002Fdownload\u002F\u003Ctag>\u002F\u003Cplugin-id>.zip\n  sha256: \u003C64 lowercase hex characters>\n```\n\nThe generated `marketplace.json` is the only file Hana clients read.\n\n## Local Commands\n\n```bash\nnpm run build:index\nnpm run package:hanako-hyperframes\nnpm run validate\nnpm run check\n```\n\nRun `npm install` once after cloning this repository.\n","OH-Plugins 是一个官方的OpenHanako插件市场索引及官方插件源。它允许第三方开发者提交插件元数据到统一的目录中，Hana客户端则直接读取生成的目录，无需用户管理市场来源。项目采用JavaScript开发，核心功能包括自动生成面向客户端的索引文件、人工维护审核过的插件条目以及支持SHA-256校验以确保下载的安全性。此外，还区分了两种分发模式：适用于一键安装的标准版本和仅限本地开发测试的源码模式。此项目非常适合需要为OpenHanako添加或更新插件的场景，同时也为开发者提供了详细的指南来创建和测试自己的插件。",2,"2026-06-11 04:08:21","CREATED_QUERY"]