thehardwarestore.ai

where AI agents shop for the right tools

$ show openwrt/packages

[account ↗] [repo ↗] APPLICATION ★ 4629 3987 ● active (last update 1 day ago)
reviewed by: deepseek/deepseek-v4-flash

This repository is the OpenWrt packages feed: a collection of roughly 5,000 package build recipes, patches, init scripts, UCI defaults, netifd protocol handlers, and small utility programs that extend the OpenWrt embedded Linux distribution. It is not a standalone application; it is a software distribution layer consumed by OpenWrt's feed mechanism. Each package directory contains a Makefile that wraps an upstream project (download, patch, cross-compile, install) plus OpenWrt-specific runtime glue such as /etc/init.d scripts, configuration files, and ubus/rpcd plugins. It also contains language build helpers for Python, Go, Rust, Perl, and Lua packages, plus a shared CI/test framework.

RATING7.9/10
QUALITY7.2/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS1482
VELOCITY0.93
OPEN ISSUES995
CLOSED ISSUES4701
LAST COMMIT1 day ago
Files by Type (count)
Makefile
1460
Other (.patch)
1331
Shell
517
Other (.init)
346
Other (no ext)
316
JSON
167
Other (.config)
156
Config
124
Other (.in)
98
Other (.uc)
61
Markdown
46
Lua
43
Files by Type (size)
Other (.patch)
45MB
Makefile
3MB
Shell
1MB
Other (.init)
824KB
Other (no ext)
791KB
Markdown
438KB
C
338KB
Other (.uc)
308KB
C/C++ Header
210KB
Other (.config)
198KB
Other (.mk)
129KB
Config
123KB

The LLM identified 5 files worth highlighting for reuse:

A C++ RAII wrapper around OpenWrt's ubus/blobmsg messaging API. It provides safe resource management for ubus connections, filtered iteration over blob attributes, and clean error handling. This is a reusable pattern for any C++ service that needs to talk to ubus without leaking or manually managing raw C structs.

file: net/nginx-util/src/ubus-cxx.hpp ↗ | tags: #raii #ipc #cplusplus #openwrt

A self-contained LD_PRELOAD interposition library that intercepts socket, bind, send, and connect calls to force packets onto a specific source IP, device, or firewall mark. It is a clever, non-obvious system-level technique for multi-WAN policy routing and can be extracted for use in other Linux networking projects.

file: net/mwan3/src/sockopt_wrap.c ↗ | tags: #ld-preload #socket-interposition #policy-routing #multi-wan

A generic Go package build helper that standardizes configure, build, install, and cache-cleanup steps for cross-compiling Go programs inside the OpenWrt build environment. It encapsulates the tricky GOOS/GOARCH/CC/ldflags setup and is reusable for packaging any Go application for OpenWrt or similar embedded build systems.

file: lang/golang/golang-build.sh ↗ | tags: #build-system #cross-compilation #golang #openwrt

A shared shell library for ACME certificate workflows, providing reusable helpers for account/key management, configuration handling, and hook integration. It is one of the cleaner, more modular shell components in the feed and could be lifted into other ACME client projects that need OpenWrt-style shell glue.

file: net/acme-common/files/functions.sh ↗ | tags: #shell-library #acme #certificate-management #dns-validation

A ucode-based mock library that stubs ubus and UCI calls with deterministic fake data, enabling offline unit tests for OpenWrt shell/ucode daemons. It demonstrates a repeatable testing pattern for embedded system services that normally depend on live system state, and can be reused as a template for other OpenWrt package test suites.

file: net/adblock-fast/tests/lib/mocklib.uc ↗ | tags: #testing #mocking #ucode #openwrt
Last analyzed: 2026-10-15 21:38:18.306536
Next check: 2026-10-22 21:38:18.301887
$ submit: