Proposal: use the chdb npm package instead of direct libchdb FFI
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- nodejs, typescript
調査の方向性
Start by tracing Maple's direct FFI integration with libchdb.so and compare it with the official chdb npm package (chdb-node). Check the open pull request #791 before starting, since it may already cover this proposal. Done means the internal access path uses chdb-node while Maple's existing UI/API behavior and local chDB support remain unchanged; durable mode is explicitly out of scope.
索引モデルが issue の本文から書いたものです。
説明
Maple currently talks to chDB through direct FFI against libchdb.so. That works, but it means Maple has to maintain its own native loading path, ABI assumptions, and release packaging around chDB.
I would like to propose a small migration step: make Maple use the official chdb npm package as the chDB integration layer, while keeping Maple current user-facing behavior the same.
The first PR would not add durable mode yet. It would only replace the internal chDB access path:
- keep the same Maple UI/API behavior
- keep local chDB working as it does today
- move native addon loading and platform packaging to chdb-node
- add a thin Maple wrapper if needed so the rest of Maple does not change much
Why this helps:
- Maple can follow the maintained chDB Node addon instead of carrying a separate FFI path.
- Durable support can be implemented once in chdb-node, then used by Maple later.
- Future chDB Node improvements, such as async API work, ABI updates, packaging fixes, and platform support, can reach Maple without reimplementing them in Maple.
- The release surface gets smaller because Maple no longer needs to own as much native binding logic.
After that migration is in place, a later PR can add optional Maple durable support on top of the chdb-node durable APIs.
Does this direction make sense for Maple?
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 120
- 平均マージ
- 8時間 19分
- マージ済み PR(30日)
- 650
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MapleTechLabs/maple のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
MapleTechLabs/maple#1852 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
MapleTechLabs/maple#701 · コメント 9 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
MapleTechLabs/maple#352 · コメント 3 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
MapleTechLabs/maple#263 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
MapleTechLabs/maple#222 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
MapleTechLabs/maple の issue をすべて見る
似ている issue
-
Plugin: sheet music can't be scrolled by hand before playback対応中かも @snakajima が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
receptron/jinglescript#51 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 9 日以内に返信
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openclaw/openclaw#186424 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
chore(worker): five module header comments describe the code from before later issues changed itオープンarea:dev U2-later
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bentleypark/aiwatch#1824 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Pal-AI-Lab/Coopanion#469 ·
メンテナーはふだん 1 日以内に返信