GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - anurag-panda-dev/full-stack-consumer-hardware-products-template: Full-stack connected-hardware monorepo template β€” mechanical/electronics/firmware + companion apps + device cloud, with enforced boundaries and purpose.txt map

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.ai
.ai
 
 
.github
.github
 
 
apps
apps
 
 
business
business
 
 
certification
certification
 
 
content
content
 
 
crosscutting
crosscutting
 
 
datasets
datasets
 
 
docs
docs
 
 
electronics
electronics
 
 
firmware
firmware
 
 
infra
infra
 
 
kernel
kernel
 
 
labs
labs
 
 
legal
legal
 
 
manufacturing
manufacturing
 
 
mechanical
mechanical
 
 
packaging
packaging
 
 
platform
platform
 
 
products
products
 
 
rfcs
rfcs
 
 
sandbox
sandbox
 
 
security
security
 
 
supply-chain
supply-chain
 
 
test-tools
test-tools
 
 
tests
tests
 
 
tooling
tooling
 
 
validation
validation
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
PACKAGE.md
PACKAGE.md
 
 
README.bn.md
README.bn.md
 
 
README.md
README.md
 
 
purpose.txt
purpose.txt
 
 

Repository files navigation

🌐 English Β· বাংলা

Part of a template family β€” use alongside big-software-product-template (software only) and consumer-hardware-products-template (hardware only).

Full-Stack Consumer Hardware Products Template

Every folder explains itself β€” to humans and to AI agents.
193 purpose.txt maps Β· one repo, two worlds Β· the seam is kernel/contracts

MIT License Use this template Repo size

full-stack-consumer-hardware-products-template repository layout on GitHub

HARDWARE   products/ mechanical/ electronics/ firmware/ certification/
           manufacturing/ supply-chain/ validation/ packaging/ test-tools/
                        β”‚
       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
       β”‚   kernel/contracts  ← THE SEAM  β”‚   firmware message schemas
       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   + OTA manifest derive from here
                        β”‚
SOFTWARE   apps/ crosscutting/device-sdk/ kernel/ platform/{api,ota,telemetry}
           tests/ datasets/ content/
SHARED     docs/ rfcs/ business/ legal/ labs/ sandbox/ infra/ tooling/

A monorepo template for connected-hardware products: industrial design, electronics, and firmware plus companion apps and the device cloud β€” one repo, two worlds, explicit boundaries.

Structure rationale: docs/decisions/ADR-0001-Structure.md.

Rules of thumb

If it is… It goes in…
A device product line's specs/variants/releases products/<line>/
CAD / enclosure / CMF mechanical/
Schematics / PCB / power / RF electronics/
Bootloader / drivers / app firmware / on-device OTA agent firmware/
Companion app (mobile, web, admin) apps/
Shared device-interaction code used by all apps crosscutting/device-sdk
Device cloud: API, OTA service, telemetry, payments platform/
Reusable software core (contracts, design system, i18n) kernel/
OTA release service vs on-device agent platform/ota vs firmware/ota
Reliability/thermal/battery testing validation/ (hardware analog of software tests)
Data (raw β†’ curated β†’ verified) datasets/
User-facing copy, manuals copy, troubleshooting content/
Business & operations business/
Knowledge / decisions docs/ (landed) Β· rfcs/ (pending)
Prototype / research sandbox/ Β· labs/

Every folder contains a purpose.txt β€” what belongs there and what it should hold. Keep them updated; they are the map.

Structure

HARDWARE
products/         one folder per line: product.md, requirements/, variants/, release/
mechanical/       cad, industrial-design, enclosure
electronics/      pcb, power, rf, devboards
firmware/         bootloader, drivers, application, boards, ota (on-device agent)
certification/    india (BIS/WPC/TEC), international (FCC/CE), emc, safety, environment
manufacturing/    dfm, assembly, test-jigs, quality, yields
supply-chain/     bom, suppliers, costing
validation/       reliability, thermal, battery, drop-vibration, emc-prescan
packaging/        dieline, inserts, labels
test-tools/       jig firmware, flash tools, calibration

SOFTWARE
apps/             web, admin, mobile (RN ⇄ Flutter, stack-neutral)
crosscutting/     device-sdk (provisioning, protocol, sync)
kernel/           design-system, contracts, auth, offline, i18n, entitlements, telemetry, config
platform/         api (stack-neutral), ota (releases/channels/rollback), telemetry, notifications,
                  payments, jobs, identity, database, observability
tests/            e2e Β· contract Β· visual
datasets/         raw β†’ curated β†’ schemas β†’ sources β†’ pipelines
content/          templates, workflow, library (guides/troubleshooting/manuals/faqs), locale, seo

SHARED
docs/  rfcs/  business/  legal/  labs/  sandbox/  infra/  tooling/  security/  .ai/  AGENTS.md

Boundary rules (see PACKAGE.md)

  1. apps/* β†’ crosscutting/*, kernel/*, platform contracts β€” never platform/* internals or hardware folders directly
  2. crosscutting/* β†’ kernel/* only
  3. platform/* β†’ never imported by anything above it (communicates via platform/api/openapi + kernel/contracts)
  4. kernel/contracts is the single source of truth for data shapes β€” it also drives firmware message schemas and the OTA manifest format
  5. Firmware never calls the cloud directly except through the documented protocol (firmware/ ↔ platform/telemetry|ota)
  6. products/<line>/ holds specs + links, never copies of artifacts
  7. logic/ stays framework-free; generated outputs (Gerber/STEP/exports) are never hand-edited
  8. Corporate documents (equity, HR, signed contracts, IP filings) belong in a private company-ops repo, never here

Using this template

  1. Use this template on GitHub (or gh repo create my-project --template anurag-panda-dev/full-stack-consumer-hardware-products-template)
  2. Rename β€” update root README.md, purpose.txt, AGENTS.md
  3. Replace products/example-device/ with your real product line
  4. Fill the software workspace β€” package.json, pnpm-workspace.yaml, turbo.json, tsconfig.base.json (listed in root purpose.txt; deliberately not shipped so the template stays stack-flexible β€” same for platform/api Express ⇄ FastAPI and apps/mobile RN ⇄ Flutter)
  5. Record your first decision β€” copy docs/decisions/TEMPLATE.md β†’ ADR-0001-…; big choices go through rfcs/ first
  6. Do not pre-create empty scaffolding β€” folders fill as real work arrives

About

Full-stack connected-hardware monorepo template β€” mechanical/electronics/firmware + companion apps + device cloud, with enforced boundaries and purpose.txt map

Topics

ai-agentsconnected-devicefirmwarehardwareiotmonorepopurpose-txttemplate

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.