Skip to content

feat: Add FFI module support#73

Merged
crackheadakira merged 30 commits intomainfrom
feat/node-api
Sep 21, 2025
Merged

feat: Add FFI module support#73
crackheadakira merged 30 commits intomainfrom
feat/node-api

Conversation

@crackheadakira
Copy link
Contributor

This PR comes with a FFI module for generating a 3x3 chart image in Rust.

Adding Rust does add an additional build step, so we'll include in our builds the modules.

  • Generate module for all platforms
    • .so files (Unix)
    • .dll (Windows)
    • .dylib (macOS)

Big issue: go hangs on dlopen, rust doesn't
In future PRs if someone were to ever build a module, we wouldn't be able to confirm if the module is directly from that code, or if it features some malware. So it's best to simply not to include the built modules and instead make the dev build it themself
Now need to get rest of Pixel Jumble working, maybe also improve the TypeScript FFI class
Only need to add hints now
Now only need an answering system
@crackheadakira crackheadakira marked this pull request as ready for review September 21, 2025 00:22
@crackheadakira crackheadakira merged commit 977e5ff into main Sep 21, 2025
1 check passed
@crackheadakira crackheadakira deleted the feat/node-api branch February 21, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant