Skip to content
napi-bindings

Search

Search pages, projects and the Node-API reference

Build tools

Marmotta

Builds C and C++ Node-API addons with Zig: no node-gyp, no CMake, cross-compilation from a single machine.

6 stars2 forksv0.10.0· Nov 13, 2026Apache-2.0
CONTRIBUTING.mdEdit on GitHub

Marmotta is an OPEN Open Source Project

What?

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

See our informal contributing guide for more details on contributing to this project.

I want to be a collaborator!

If you think you meet the above criteria and we have not invited you yet, we are sorry! Feel free to reach out to a Lead Maintainer privately with a few links to your valuable contributions. Read the GOVERNANCE to get more information.

Rules

There are a few basic ground rules for contributors:

  1. No --force pushes on main or modifying the Git history in any way after a PR has been merged.
  2. Non-main branches ought to be used for ongoing work.
  3. External API changes and significant modifications ought to be subject to an internal pull request to solicit feedback from other contributors.
  4. Internal pull requests to solicit feedback are encouraged for any other non-trivial contribution but are left to the discretion of the contributor.
  5. Contributors should attempt to adhere to the prevailing code style.
  6. At least two contributors, or one core member, must approve pull requests before merging.
  7. All integrated CI services must be green before a pull request can be merged.
  8. A lead maintainer must merge SemVer-major changes in this repository.
  9. If it is not possible to reach a consensus in a pull request, the decision is left to the lead maintainer's team.
  10. Pure-AI contributions with no human in the loop are not welcome. Pull requests MUST be opened by a human. Pull requests opened by bots not managed by the napi-bindings organization will result in the bot being banned from the organization.

Releases

Declaring formal releases remains the prerogative of the lead maintainers. Do not bump version numbers in pull requests.

Bump the version with npm version rather than editing package.json by hand: its version lifecycle script updates the constant in src/version.ts and stages it, so the npm package and the standalone executables report the same version. (npm test also fails when the two drift.)

Pushing a v* tag triggers the Release binaries workflow, which builds the standalone executables for all supported platforms with bun build --compile, runs scripts/smoke.mjs against each one, and attaches them together with SHA256SUMS and provenance attestations to the GitHub release of that tag. The tag must match the version in package.json or the workflow fails. Maintainers can also run the workflow manually from the Actions tab to test it before tagging; the binaries are then only uploaded as workflow artifacts.

Changes to this arrangement

This is an experiment and feedback is welcome! This document may also be subject to pull requests or changes by contributors where you believe you have something valuable to add or change.

napi-bindings Organization Structure

The napi-bindings structure is detailed in the GOVERNANCE document.

Onboarding Collaborators

Welcome to the team! We are happy to have you. Before you start, please complete the following tasks:

  1. Set up 2 factor authentication for GitHub and NPM
  2. Open a pull request to napi-bindings/marmotta:HEAD that adds your name, username, and email to the team in the README.md and package.json files. The member lists are sorted alphabetically by last name; make sure to add your name in the proper order..
  3. Optionally, the person can be added as an Open Collective member by the lead team.

Offboarding Collaborators

We are thankful to you and we are really glad to have worked with you. We'd be really happy to see you here again if you want to come back, but for now the person that did the onboarding must:

  1. Ask the collaborator if they want to stay or not.
  2. If the collaborator can't work with us anymore, they should:
  3. Open a pull request to napi-bindings/marmotta:HEAD and move themselves to the Past Collaborators section.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

  • (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

  • (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

  • (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

  • (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.