This repository has been archived on 2024-10-20. You can view files and clone it, but cannot push or open issues or pull requests.
Wireguard-tools.js/README.md
Matheus Sampaio Queiroga a399f89350
Migrate tests to node test and Add key gen in node
I'm adding key generation to pure Javascript, port of `keygen-html`.

I'm also migrating the mocha tests to the Node tests runner.

I solved a typescript typing problem

add gitea CI/CD

Gitlab CI/CD and Github Actions update test
2024-01-14 15:18:29 -03:00

1.2 KiB

Wireguard-tools.js

Efficiently manage your Wireguard interface right from nodejs, no wg required.

other tools are wrappers over wg, wireguard-tools.js is not like that, it is a C/C++ addon in which you don't need to have wg installed, as this module has full compatibility of its own wg.

Support to:

  • Userspace (wireguard-go) support.
  • Maneger wireguard interface (linux and windows create if not exist's).
  • Generate preshared, private and public keys.
  • wg-quick file support.
  • More info and example check wiki.

Note

we have pre-copiled files for:

  • Windows: x64, arm64
  • MacOS: x64/intel, arm64/Apple silicon
  • Linux: x64/amd64, arm64/aarch64

else arch and system require copiler supported by node-gyp installed to compile Node addon.

  1. To manage the Wireguard interfaces in linux, root access is required.
  2. Windows user are wireguard-nt dll files includes in module
  3. Another system's require wireguard-go (check this page)