Registry / devops / cc4-embedded-system

cc4-embedded-system

JSON →
library3.1.10jsnpmunverified

A modern TypeScript rewrite of lwIP makefsdata (v1.3.1) combined with html-minifier-next for embedded system web server file generation. Version 3.1.10 provides a web GUI (Express on port 3000) to select input directories and output C files, minifying HTML/CSS/JS. Runs on Node.js (CLI tool) and outputs ready-to-compile C arrays for lwIP HTTPD. Differentiators: TypeScript-first, modern minification via html-minifier-next, and interactive GUI vs original makefsdata's command-line-only approach. Designed for STM32 and other embedded targets.

npm install cc4-embedded-system
INSTALL
IMPORT
SIG · CC4-EMBEDDED-SYSTE
C
cc4-embedded-system
devopsjavascriptv3.1.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Install and run the tool to generate lwIP makefsdata C files via a web GUI.

# Global install npm install -g cc4-embedded-system # Run the GUI (opens browser at http://localhost:3000) cc4es # Or run without install: npx cc4-embedded-system # Custom port: cc4es --port 3002 # Update to latest: npm install -g cc4-embedded-system@latest
Debug
Known issues
gotchaRequires Node.js 12+ (uses ESM features). Older Node versions may fail.
fix
Update Node.js to version 12 or later.
affects: >=3.0.0
gotchaThe tool runs a local server on port 3000 by default which may conflict with other services.
fix
Use --port flag to specify a different port.
affects: >=3.0.0
breakingV3.0.0 dropped support for input image files (BMP, PNG). Only HTML/CSS/JS files are processed.
fix
Use V2.x if image processing is required, or manually convert images to C arrays.
affects: >=3.0.0 <3.0.0
Errors
Common errors & fixes
Error: Cannot find module 'cc4-embedded-system'
Global install not found or PATH issue.
fix
Run 'npx cc4-embedded-system' instead, or reinstall globally with 'npm install -g cc4-embedded-system'.
Port 3000 is already in use.
Another service is using the default port.
fix
Use 'cc4es --port 3002' to specify an alternate port.
SyntaxError: Unexpected token import
Running on Node.js version <12 which doesn't support ESM imports.
fix
Upgrade Node.js to version 12 or later.
Upgrade
Version history
3.1.10latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
cc4-embedded-system — npm install cc4-embedded-system · libregistry