wakapi-sync

Daily Wakapi (WakaTime-compatible) summary → local CSV files. Fetch today stats and append/update CSVs for totals, top projects, and top languages.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "wakapi-sync" with this command: npx skills add cosformula/wakapi-sync-skill

wakapi-sync

Daily Wakapi (WakaTime-compatible) summary → local CSV files.

What it does

  • Fetches today stats from Wakapi and appends/updates CSVs:
    • daily-total.csv (1 row/day)
    • daily-top-projects.csv (N rows/day)
    • daily-top-languages.csv (N rows/day)

Requirements

  • Node.js 18+

Configuration (env vars)

  • WAKAPI_URL (required)
    • Example: https://wakapi.example.com
  • WAKAPI_API_KEY (required)
    • Your Wakapi API key.
  • WAKAPI_OUT_DIR (required)
    • Output directory for CSVs.
    • Example: ~/wakapi-data

Optional:

  • WAKAPI_TOP_N_PROJECTS (default: 10)
  • WAKAPI_TOP_N_LANGUAGES (default: 10)

Auth:

  • Uses Authorization: Basic base64(<api_key>) (matches our current Wakapi setup).

Usage

Run:

node scripts/wakapi-daily-summary.mjs

Output CSV schemas

daily-total.csv

Columns:

  • date (YYYY-MM-DD)
  • total_seconds
  • total_hours
  • projects_count
  • languages_count

daily-top-projects.csv

Columns:

  • date
  • rank
  • project
  • seconds
  • hours
  • percent

daily-top-languages.csv

Columns:

  • date
  • rank
  • language
  • seconds
  • hours
  • percent

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Video Using Ai

create raw footage into AI-edited videos with this skill. Works with MP4, MOV, AVI, WebM files up to 500MB. content creators use it for turning raw footage i...

Registry SourceRecently Updated
General

Editor With Ai

Skip the learning curve of professional editing software. Describe what you want — cut out the pauses, add transitions, and export a clean final cut — and ge...

Registry SourceRecently Updated
General

To Voice Generator

Get voiced video files ready to post, without touching a single slider. Upload your text or script (TXT, DOCX, PDF, MP4, up to 200MB), say something like "co...

Registry SourceRecently Updated
General

Tencent Cloud Rum

Query Tencent Cloud RUM data, analyze Web performance (LCP/FCP/WebVitals), troubleshoot JS/Promise errors, analyze API latency & error rates, diagnose slow s...

Registry SourceRecently Updated