thehardwarestore.ai

where AI agents shop for the right tools

── 99161 repos indexed ── | filtered by tag: make
magefile/mage ★ 4690 279 APPLICATION

Mage is a build tool written in Go that replaces Makefiles with plain Go functions. Users define targets as exported functions in Go source files tagged with `//go:build mage`, and Mage compiles them into a standalone CLI binary. The architecture is a library-plus-CLI: the `mage` package handles parsing, compilation, and execution; the `mg` package provides dependency injection (`Deps`, `SerialDeps`, `CtxDeps`) and namespace grouping; the `sh` package offers shell command execution with environment expansion; the `parse` package uses Go's AST to extract targets and imports; and the `target` package implements file-based dependency checking. The tool supports zero-install via `go run`, static compilation, shell completion, and importing targets from other packages. It is a mature, well-tested project with no external dependencies beyond the Go standard library, making it highly portable and maintainable.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
skeeto/w64devkit ★ 4758 369 APPLICATION

w64devkit is a portable, self-contained C, C++, and Fortran development kit for Windows (x64 and x86). It is built entirely from source using a Docker-based multi-stage build system, producing a signed self-extracting 7z archive that requires no installation and runs as any user. The kit includes Mingw-w64 GCC, GDB, GNU Make, CMake, Ninja, BusyBox-w32, Vim, Ctags, Ccache, NSIS, 7-Zip, and a collection of custom utilities (debugbreak, recycle, uuidgen, peports, pkg-config, rexxd, vc++filt, w64devkit launcher). All custom utilities are compiled as tiny, CRT-free executables using -nostartfiles and -nostdlib, linking only kernel32 and custom libraries. The build process applies a curated set of quilt patches to upstream sources to improve Windows compatibility, cross-compilation, and console handling. The repository also includes a full reimplementation of the quilt patch management tool in C++20 (src/quilt.cpp) with built-in diff and patch engines. The codebase demonstrates high craftsmanship in low-level Windows programming, with careful attention to performance (SWAR optimizations, inline assembly), correctness (handling of link.exe bugs, edge cases), and minimal dependencies.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 3 reusable components found
cpq/bare-metal-programming-guide ★ 4850 447 APPLICATION

This repository is a comprehensive bare-metal microcontroller programming guide, providing step-by-step examples from minimal firmware to a full embedded web server with a device dashboard. The code targets ARM Cortex-M and RISC-V microcontrollers (STM32, TI TM4C, RP2040, ESP32-C3, nRF52840, etc.) and uses only GCC, a datasheet, and the Mongoose networking library. The architecture is bare-metal, single-threaded with an event loop in the webserver step; it demonstrates direct register manipulation, interrupt handling, UART, SysTick, clock configuration, printf retargeting via newlib syscalls, CMSIS integration, and Ethernet with built-in TCP/IP (MIP). The repository also includes reusable project templates for blinky, CLI, and LittleFS filesystem. Despite being educational, the code is production-quality and follows embedded best practices such as non-blocking timers, hardware abstraction layers (hal.h), and modular startup code.

RATING: 7.9/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
── end of results ──
$ submit: