-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js Integration #10
Comments
This would be really interesting. We'd wan't to expose the functions in |
getting somewhere, but it fails to compile.
which is the same error I get from just running |
We have something that compiles now. Manual process to get it running:
Important files:
rebuild binding.cc: This branch^ has a compiled libzt.a in ./darwin, which is not ideal, but I saw that was how that go-lang repo was doing it. All it does right now:
|
note to self: prebuild the libs |
What happened to the merged pull request? Why are the nodejs examples removed? |
Notes to self on creating a Monkey-patching may be applied manually on a per-project basis to cause ztnet.createConnection to be called instead of net.createConnection.
|
I never got it into any kind of production state and libzt has changed a little since then. gonna check out your PR! |
Are there any questions I can answer about the library in order to help this effort, @heri16? |
@laduke did you manage to get this working? |
Hi @heri16 Did you end up using it for anything? |
It did get merged in, but enough changed since its merge that I cant guarantee that it works hence it being moved to the attic. If there's enough interest in bringing it up to feature-parity with the C API I'm not opposed to it being brought back. |
Really looking forward to see js binding and use zt in our JavaScript/NodeJS based projects. I'm looking for underlying module/solutions for building a new semi-private p2p application. |
Hi all (@laduke @joseph-henry @heri16 @bluet ), So far any solution to integrate zerotier into JavaScript/Node.js based application? Thanks! |
@jerrychong25 I have no idea. There's no update here. |
Ok thanks @bluet ! Let's hope for good news soon =) |
I've opened a new issue at #234 |
😎
Not sure how one goes about hooking a c library to javascript.
All the projects in my node_modules that use external c libraries use
https://github.com/nodejs/node-gyp
and there's this thing which may or may not help
https://github.com/charto/nbind
I'm going to give it a shot on the weekend and see how far I get.
The text was updated successfully, but these errors were encountered: