Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 25 additions & 17 deletions docs/blog/2026-05-02-maintainers-expansion/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ We're looking for experienced contributors ready to take on scoped, ongoing resp

Img2Num is a layered system. Here's how the pieces fit together:

````mermaid
```mermaid
flowchart TD
A["core/<br/>(C++ Library)"] --> B["bindings/c/<br/>(C ABI Library)"]
A --> C["bindings/py/<br/>(Python - pybind11)"]
Expand All @@ -53,56 +53,64 @@ flowchart TD
class A core;
class B,D,F layer;
class C,E intermediary;
````
```

| Layer | Path | Notes |
|---|---|---|
| C++ Core | `core/` | Source of truth for all algorithms |
| C ABI | `bindings/c/` | Stable ABI boundary; feeds the Wasm pipeline |
| WebAssembly | `bindings/js/` | Built via Emscripten from the C ABI |
| JavaScript package | `packages/js/` | Safe runtime wrapper over the Wasm module |
| Python bindings | `bindings/py/` | pybind11 directly on the C++ core |
| Python package | `packages/py/` | Exposes the native Python module |
| Layer | Path | Notes |
| ------------------ | -------------- | -------------------------------------------- |
| C++ Core | `core/` | Source of truth for all algorithms |
| C ABI | `bindings/c/` | Stable ABI boundary; feeds the Wasm pipeline |
| WebAssembly | `bindings/js/` | Built via Emscripten from the C ABI |
| JavaScript package | `packages/js/` | Safe runtime wrapper over the Wasm module |
| Python bindings | `bindings/py/` | pybind11 directly on the C++ core |
| Python package | `packages/py/` | Exposes the native Python module |

## Open Maintainer Areas

### CI/CD

- GitHub Actions workflows, Docker builds, release pipelines, automated publishing.

### C ABI (`bindings/c`)

- Maintain the C ABI over the C++ core. Must stay compatible with external C consumers and the Wasm pipeline.

### JavaScript / WebAssembly (`bindings/js`, `packages/js`)

- Emscripten integration, browser and Node.js compatibility, pnpm workspace tooling, React example app.

### Python (`bindings/py`, `packages/py`)

- pybind11 bindings, uv workspace tooling, console example app.

### Docs & DX (`docs/`, `doxygen/`)

- Docusaurus site, Doxygen integration, tutorials, onboarding experience.

### Releases & Packaging

- Versioning, tagging, GitHub Releases, npm and Docker Hub publishing.

### Testing & Validation

- CI test coverage, linting/formatting enforcement, regression testing.

### Internal Tooling (`scripts/`)

- Cross-platform CLI utilities, developer automation, local workflow improvements.

## Maintainer Tiers

````mermaid
```mermaid
flowchart LR
A[Junior Maintainer<br/>PR review & learning] --> B[Scoped Maintainer<br/>Domain ownership]
B --> C[Core Maintainer<br/>Architecture & final decisions]
````
```

| Tier | Merge Access | Responsibilities |
|---|---|---|
| **Junior** | None | Review small PRs, contribute within a defined scope |
| **Scoped** | Within their domain | Own a specific area — review, approve, maintain quality |
| **Core** | Broad | Cross-domain architecture, final merge authority, long-term direction |
| Tier | Merge Access | Responsibilities |
| ---------- | ------------------- | --------------------------------------------------------------------- |
| **Junior** | None | Review small PRs, contribute within a defined scope |
| **Scoped** | Within their domain | Own a specific area — review, approve, maintain quality |
| **Core** | Broad | Cross-domain architecture, final merge authority, long-term direction |

Trust is earned through consistent contributions. Everyone starts scoped.

Expand Down
48 changes: 48 additions & 0 deletions docs/docs/contributing/setup-and-dependencies/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,54 @@ git clone --recursive https://github.com/Ryan-Millard/Img2Num.git
cd Img2Num/
```

:::warning[Missing submodules after cloning]

<details className="alert--warning">
<summary>

If you cloned without `--recursive`, required dependencies will be missing.

</summary>

<Tabs>
<TabItem value="all" label="All (optional)" default>

This clones all submodules:

- `stb` (required)
- `dawn` (optional, required for local native builds)

```bash
git submodule update --init third_party
```

</TabItem>

<TabItem value="stb" label="STB (required)" default>

`stb` is always required.

```bash
git submodule update --init third_party/stb
```

</TabItem>

<TabItem value="dawn" label="Dawn (optional)">

Only needed for local native builds. The `img2num-dev` Docker image already has it built.

```bash
git submodule update --init third_party/dawn
```

</TabItem>
</Tabs>

</details>

:::

## Docker

### Start Docker
Expand Down
Loading