← 返回
未分类 中文

Web Module Runner

👩‍🚀 The tiny all-in-one development tool for modern web apps. web-module-runner, javascript, build-tool, esmodules, preact.
现代Web应用的微型一体化开发工具。
xueyetianya
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 607
下载
💾 2
安装
1
版本
#latest

概述

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.

CommandDescription
----------------------
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 statsShow 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 recentShow the 20 most recent activity entries
web-module-runner helpShow all available commands
web-module-runner versionPrint 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 03:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Excel Formula

xueyetianya
根据描述生成Excel公式并诊断电子表格错误。适用于编写VLOOKUP公式、调试错误或转换公式。支持...
★ 2 📥 6,184
productivity

Task Planner

xueyetianya
Manage tasks, set priorities, and track deadlines locally. Supports bilingual (EN/CN) documentation. 支持个人任务管理、优先级设定及到期提醒
★ 2 📥 4,308
productivity

Shell

xueyetianya
Shell脚本参考:涵盖Bash语法、重定向、进程替换、信号处理及调试技巧。适用于编写Shell脚本和故障排查。
★ 1 📥 6,177