Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#789 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@ShawnChen-Sirius ya está trabajando en esto.

Desde el 7/9/2026.

  • #791 de @ShawnChen-Sirius — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
nodejs, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
TypeScript
Estrellas
1.8k
Forks
120
Merge medio
8 h 19 min
PR fusionados (30 d)
650

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MapleTechLabs/maple

Todos los issues de MapleTechLabs/maple

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.