🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub✦ BytesAgain

Web Module Runner

by @xueyetianya

πŸ‘©β€πŸš€ The tiny all-in-one development tool for modern web apps. web-module-runner, javascript, build-tool, esmodules, preact.

Versionv1.0.0
Downloads547
Installs1
TERMINAL
clawhub install web-module-runner

πŸ“– About This Skill


version: "1.0.0" name: Wmr description: "πŸ‘©β€πŸš€ The tiny all-in-one development tool for modern web apps. web-module-runner, javascript, build-tool, esmodules, preact."

Web Module Runner

πŸ‘©β€πŸš€ The tiny all-in-one development tool for modern web apps β€” a versatile utility toolkit for running, checking, converting, analyzing, and managing web module tasks from your terminal.

Commands

All commands accept optional arguments. Without arguments, they display recent entries from their log.

| Command | Description | |---------|-------------| | web-module-runner run | Run a web module task and log the result | | web-module-runner check | Check a module, dependency, or configuration | | web-module-runner convert | Convert between module formats or configurations | | web-module-runner analyze | Analyze a module, bundle, or dependency tree | | web-module-runner generate | Generate boilerplate, configs, or module scaffolds | | web-module-runner preview | Preview output or rendered results | | web-module-runner batch | Batch process multiple items at once | | web-module-runner compare | Compare two modules, builds, or configurations | | web-module-runner export | Log an export operation | | web-module-runner config | Log or update configuration entries | | web-module-runner status | Log status check results | | web-module-runner report | Generate or log a report entry | | web-module-runner stats | Show summary statistics across all log files | | web-module-runner export json\|csv\|txt | Export all data in JSON, CSV, or plain text format | | web-module-runner search | Search across all log entries for a keyword | | web-module-runner recent | Show the 20 most recent activity entries | | web-module-runner help | Show all available commands | | web-module-runner version | Print version (v2.0.0) |

Data Storage

All data is stored locally in ~/.local/share/web-module-runner/. Each command maintains its own .log file with timestamped entries in YYYY-MM-DD HH:MM|value format. A unified history.log tracks all operations across commands.

Export formats supported:

  • JSON β€” Array of objects with type, time, and value fields
  • CSV β€” Standard comma-separated with type,time,value header
  • TXT β€” Human-readable grouped by command type
  • Requirements

  • Bash 4.0+ with set -euo pipefail (strict mode)
  • Standard Unix utilities: date, wc, du, grep, tail, sed, cat
  • No external dependencies β€” runs on any POSIX-compliant system
  • When to Use

    1. Tracking web module build tasks β€” Log and review module runs, builds, and conversions over time 2. Comparing module configurations β€” Use compare and analyze to record side-by-side evaluations 3. Batch processing workflows β€” Record batch operations and review history for repeatability 4. Generating reports from logged data β€” Export accumulated logs to JSON/CSV for downstream analysis 5. Quick health checks β€” Use status and stats to verify the toolkit state and entry counts at a glance

    Examples

    # Run a module task and log it
    web-module-runner run "build main.js --target es2020"

    Analyze a dependency

    web-module-runner analyze "preact@10.x bundle size"

    Batch process multiple modules

    web-module-runner batch "convert all legacy modules to ESM"

    Search for previous entries containing a keyword

    web-module-runner search "preact"

    Export everything to JSON for external tooling

    web-module-runner export json

    View summary statistics

    web-module-runner stats

    Show recent activity log

    web-module-runner recent

    How It Works

    Web Module Runner stores all data locally in ~/.local/share/web-module-runner/. Each command creates a dedicated log file (e.g., run.log, check.log, analyze.log). Every entry is timestamped and appended, providing a full audit trail of all operations. The history.log file aggregates activity across all commands for unified tracking.

    When called without arguments, each command displays its most recent 20 entries, making it easy to review past work without needing to manually inspect log files.

    Output

    All output goes to stdout. Redirect to a file with:

    web-module-runner stats > report.txt
    web-module-runner export json  # writes to ~/.local/share/web-module-runner/export.json
    


    Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

    ⚑ When to Use

    TriggerAction
    2. **Comparing module configurations** β€” Use `compare` and `analyze` to record side-by-side evaluations
    3. **Batch processing workflows** β€” Record batch operations and review history for repeatability
    4. **Generating reports from logged data** β€” Export accumulated logs to JSON/CSV for downstream analysis
    5. **Quick health checks** β€” Use `status` and `stats` to verify the toolkit state and entry counts at a glance

    πŸ’‘ Examples

    # Run a module task and log it
    web-module-runner run "build main.js --target es2020"

    Analyze a dependency

    web-module-runner analyze "preact@10.x bundle size"

    Batch process multiple modules

    web-module-runner batch "convert all legacy modules to ESM"

    Search for previous entries containing a keyword

    web-module-runner search "preact"

    Export everything to JSON for external tooling

    web-module-runner export json

    View summary statistics

    web-module-runner stats

    Show recent activity log

    web-module-runner recent