-
Notifications
You must be signed in to change notification settings - Fork 2
Contributing
BrewedSys edited this page Mar 30, 2026
·
1 revision
Thanks for your interest in contributing to Http-native!
git clone https://github.com/Http-native/http-native.git
cd http-native
# Build the native Rust module
bun run build # debug
bun run build:release # optimized
# Run tests
bun run test
# Dev server with hot-reload
bun run dev:hothttp-native/
├── src/ # JavaScript — app API, middleware, bridge
├── rsrc/src/ # Rust — HTTP server, router, session store
├── scripts/ # Build scripts
├── .github/
│ ├── examples/ # Usage examples
│ ├── tests/ # Test suite
│ └── bench/ # Performance benchmarks
├── package.json # JS config
└── Cargo.toml # Rust config
Edit and restart. Hot-reload picks up changes automatically.
Rebuild after editing:
bun run build # debug (faster compile)
bun run build:release # release (optimized)Follow Conventional Commits:
feat: add WebSocket broadcast support
fix: correct header parsing for multi-value headers
docs: update middleware examples
perf: optimize radix tree lookups
chore: update napi-rs to v3
bun run testbun run bench:http-native:static
bun run bench:http-native:dynamic
bun run bench:http-native:opt- Check existing issues first
- Include OS, runtime (Node/Bun), and version
- For bugs, include steps to reproduce
Http-native is open to everyone, but we have strict regulations and licensing fees for large organizations