返回顶部
c

clank-uptime

Track website uptime, response times, and availability. CSV-based history, 24h stats with visual bars, avg/min/max latency. Lightweight alternative to paid monitoring services.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
57
下载量
0
收藏
概述
安装方式
版本历史

clank-uptime

# clank-uptime Lightweight CLI for tracking website uptime and response times over time. ## When to use (trigger phrases) Use this skill when the user asks any of: - "Is my site up?" - "Check if website X is online" - "Monitor my site's uptime" - "What's the response time for..." - "Show availability stats" ## Quick start ```bash # Add sites clank-uptime add https://example.com --name "My Site" clank-uptime add https://api.example.com --name "API" # Check all sites now clank-uptime check # Show 24h availability stats clank-uptime stats # List monitored sites clank-uptime list # Remove a site clank-uptime remove https://example.com ``` ## Commands | Command | Description | |---------|-------------| | `add <URL> [--name NAME]` | Add site to monitoring | | `check` | Check all sites, append to history | | `stats` | Show 24h availability & latency stats | | `list` | List all monitored sites | | `remove <URL>` | Remove site from monitoring | ## Output examples ### Check ``` 🔍 Checking 3 sites... ✅ My Site: 200 (0.092s) ✅ API: 200 (0.056s) ⚠️ Old Site: 503 (1.234s) 📊 Checked at 2026-03-29T04:22:38Z ``` ### Stats ``` 📊 Uptime Statistics (last 24h) ================================================== My Site [████████████████████] 100.0% (12/12 checks) ⚡ Avg: 0.089s | Min: 0.056s | Max: 0.142s API [██████████████████░░] 91.7% (11/12 checks) ⚡ Avg: 0.067s | Min: 0.041s | Max: 0.098s ``` ## Data storage ``` ~/.clank-uptime/ ├── sites.json # Site configuration └── history/ └── <site-id>/ └── checks.csv # timestamp,status,response_time ``` ## Automating with cron ```bash # Check every 5 minutes */5 * * * * clank-uptime check > /dev/null 2>&1 # Daily stats report 0 8 * * * clank-uptime stats | mail -s "Daily Uptime Report" you@email.com ``` ## Tips - Run `check` periodically (cron or heartbeat) to build history data - `stats` requires at least a few hours of data for meaningful results - Use `--name` for readability; defaults to URL - History is CSV-based — easy to parse or visualize with other tools

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clank-uptime-1775944733 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clank-uptime-1775944733 技能

通过命令行安装

skillhub install clank-uptime-1775944733

下载 Zip 包

⬇ 下载 clank-uptime v1.0.0

文件大小: 1.81 KB | 发布时间: 2026-4-12 09:23

v1.0.0 最新 2026-4-12 09:23
- Initial release of clank-uptime: lightweight CLI tool for website uptime and response time monitoring.
- Tracks availability and latency with CSV-based history and 24-hour stats (includes visual bar representation and avg/min/max latency).
- Provides commands to add/remove sites, check status, view stats, and list monitored sites.
- Designed as a simple, free alternative to paid uptime monitoring services.
- Requires curl and python3; stores configuration and history in ~/.clank-uptime/.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部