You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gilfoyle edited this page Mar 29, 2026
·
1 revision
Development Guide
Quick Start
git clone https://github.com/j33pguy/33-linux.git
cd 33-linux
make build
# Run in dev mode
DEV_MODE=1 ./bin/initd
# In another terminal
DEV_MODE=1 ./bin/33 version
DEV_MODE=1 ./bin/33 auth login -u admin -p admin
DEV_MODE=1 ./bin/33 hw detect
Prerequisites
Go 1.25+
protoc + Go plugins
Make
Code Conventions
Go stdlib + gRPC/protobuf only (no other external deps)
go fmt always
Errors: always check, always wrap with context
Goroutines + channels over mutexes
No unsafe package
Adding a Module
Define proto in proto/{module}/v1/{module}.proto
make proto
Implement in internal/{module}/{module}.go
Register in cmd/initd/main.go
Add CLI commands in cmd/climain/main.go
See the full development guide for detailed conventions, testing, and cross-compilation.