Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Proposal: use the chdb npm package instead of direct libchdb FFI

オープン
#789 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@ShawnChen-Sirius がすでに取り組んでいます。

2026年9月7日 から。

  • #791 @ShawnChen-Sirius による — オープン

評価

難易度
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MapleTechLabs/maple のほかの issue

MapleTechLabs/maple の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。