Skip to content

Repository files navigation

ww

🌐 English | 中文


A cross-platform CLI toolkit for developer productivity. Covers git workflows, GitHub management, note-taking, screenshot capture, image processing (crop, compress, background removal, EXIF scanning), PDF conversion (Markdown, LaTeX, code-to-PDF), web search (multi-engine), network diagnostics (WiFi scanning, IP/port scanning, network topology), system monitoring (macOS, Linux), process management, Clash proxy control, Java/Maven analysis, RAG document indexing, LLM model comparison, OpenRouter account management, GitHub Actions triggering, speech transcription (Whisper), presentation generation (Marp), Cloudflare analytics, and more — many commands enhanced with LLM-powered intelligence.

Installation

With uv (recommended):

uv sync

With pip:

pip install -e .

After install, run ww directly — no activation needed with uv run ww ....

Usage

ww <group> [command] [options]

Commands

Note

CommandDescription
ww noteCreate a new note with git integration
ww note logCreate a new log entry
ww note log-fileCreate a log entry from a file
ww note obfuscate <file>Obfuscate sensitive data in a file

Screenshot

CommandDescription
ww screenshot [DELAY]Take a screenshot (macOS, --dir)
ww screenshot-linuxTake a screenshot (Linux, saves to SCREENSHOT_DIR, default: assets/screenshots)
ww screenshot noteCreate a note from latest screenshot(s) (-n, --prompt)
ww screenshot interact-noteInteractively capture screenshots and create a note

Git

CommandDescription
ww git amend-pushAmend last commit and force push
ww git classifyClassify git commits
ww git find-commitFind a git commit
ww git delete-commitDelete a git commit
ww git diff-treeShow git diff tree
ww git check-filenamesCheck git filenames
ww git force-pushForce push to remote
ww git showShow git commit details
ww git squashSquash git commits
ww git gcaAI commit, no push (gemini-flash)
ww git gpaAI commit with pull+push (gemini-flash)

GitHub

CommandDescription
ww github infoAccount info, plan, rate limits
ww github reposList your repos (recently pushed)
ww github starredList starred repos
ww github followersList followers
ww github followingList following
ww github notificationsList unread notifications
ww github rateShow rate limit details
ww github gitmessageaiGenerate AI commit message and commit

Image

CommandDescription
ww image avatarProcess avatar image
ww image cropCrop an image
ww image remove-bgRemove image background
ww image compressCompress images
ww image photo-compressCompress photos
ww image exifScan images for EXIF GPS location data
ww image whatsappDownload images from WhatsApp Web via Safari

GIF

CommandDescription
ww gifCreate GIF from images

PDF

CommandDescription
ww pdf markdown-pdfConvert a markdown file to PDF
ww pdf pdf-pipelineBatch convert markdown posts to PDFs
ww pdf update-pdfConvert markdown files changed in last commit
ww pdf code2pdfConvert code files in a directory to PDF
ww pdf scale-pdfScale a PDF using pdfjam
ww pdf test-latexTest LaTeX/pandoc PDF generation
ww pdf md2pngConvert markdown to PNG via HTML+PDF (Chrome)

Search

CommandDescription
ww searchWeb search (multi-engine)
ww search bingSearch with Bing
ww search codeSearch code
ww search ddgSearch with DuckDuckGo
ww search ecosiaSearch with Ecosia
ww search filenameSearch by filename
ww search startpageSearch with StartPage
ww search tavilySearch with Tavily API
ww search web --jsonJSON output for LLM tool use

macOS

CommandDescription
ww macos find-large-dirsFind largest directories on disk
ww macos system-infoShow system information
ww macos installRun macOS install tasks
ww macos list-fontsList installed fonts
ww macos list-disksList portable disks
ww macos open-terminalOpen a new terminal window
ww macos toastShow macOS notification toast
ww macos charge-watchAlert when charger is plugged in but not charging
ww macos processAnalyze running processes and suggest what to kill
ww macos settings-proxySet system proxy (HTTP/HTTPS 7890, SOCKS 7891) with bypass list
ww macos appsAudit installed apps by size and age (--no-llm, --json)
ww macos dockList apps currently pinned to the Dock (--json)

Linux

CommandDescription
ww linux gpuShow GPU and CUDA details
ww linux systemComprehensive system overview
ww linux diskShow disk usage
ww linux batteryShow battery status
ww linux proxy-setupInteractively configure APT proxy
ww linux wolSend a Wake-on-LAN packet
ww linux terminalOpen a fullscreen terminal

Network

CommandDescription
ww network get-wifi-listGet list of WiFi networks
ww network save-wifi-listSave WiFi network list
ww network hack-wifiWiFi password utilities
ww network wifi-gen-passwordGenerate WiFi password
ww network ip-scanScan IP addresses on network
ww network port-scanScan open ports
ww network wifi-scanScan for WiFi networks
ww network wifi-utilWiFi utility tools
ww network network-plotPlot network topology
ww network discoverDiscover devices on local network (ARP + OUI + port probe)

Process

CommandDescription
ww proc kill-patternKill processes matching a pattern
ww proc kill-portKill process on a given port
ww proc kill-jekyllKill Jekyll server
ww proc kill-proxyKill macOS proxy

Utils

CommandDescription
ww utils base64Encode/decode base64
ww utils ccrCCR utility
ww utils clean-zipClean zip files
ww utils decode-jwtDecode a JWT token
ww utils py2txtConvert Python files to text
ww utils request-proxyMake HTTP request via proxy
ww utils smart-unzipSmart unzip archives
ww utils unzipUnzip an archive

Java

CommandDescription
ww java mvnMaven project utilities
ww java analyze-depsAnalyze Java dependencies
ww java analyze-packagesAnalyze Java packages
ww java analyze-pomsAnalyze Maven POM files
ww java analyze-springAnalyze Spring Boot project
ww java clean-logClean Java log files

Copilot

CommandDescription
ww copilot authAuthenticate via GitHub OAuth device flow
ww copilot modelsList available Copilot models
ww copilot chatChat with a Copilot model

Sync

CommandDescription
ww sync claudeSync Claude Code settings (sanitized)
ww sync bashrc [back|forth]Sync .bashrc file
ww sync zprofile [back|forth]Sync .zprofile file
ww sync zed [back|forth]Sync ~/.config/zed/ directory (Zed config)
ww sync ssh [back|forth]Sync .ssh directory
ww sync hermes [back|forth]Sync config.yaml, SOUL.md, hooks/, plugins/, agent-hooks/

Update

CommandDescription
ww update [name...]Update git repos (default: updated_repos)

Latest

CommandDescription
ww latest notes [N]Show filename and title of latest N notes (default 10)

Read (RAG)

CommandDescription
ww read index <dir>Index documents in a directory (BGE + FAISS)
ww read query <question>Ask a question over indexed documents
ww read query <q> --top-k NUse N retrieved chunks (default 5)

LLM

CommandDescription
ww llm compareCompare 6 models on clipboard prompt, judge winner

OpenRouter

CommandDescription
ww openrouter infoAccount summary: credits, usage, key details
ww openrouter creditsShow credits balance
ww openrouter activityPast week spend, requests, tokens (--days N)
ww openrouter modelsList available models

Env

CommandDescription
ww env updatePick a top Arena model and update MODEL= in .env

Display

CommandDescription
ww display <dark|light|auto|show>Switch macOS appearance or show current

Gen-image

CommandDescription
ww gen-imageGenerate image from clipboard text (Imagen 3)

Action

CommandDescription
ww action <workflow.yml>Trigger a GitHub Actions workflow via gh CLI

Degree

CommandDescription
ww degreeAI-categorize recent self-study notices
ww degree practicalFilter notices about practical exams / scores
ww degree listRaw scraped list (no AI)
ww degree --pages NFetch N list pages (1-11, default 1)
ww degree --months NOnly articles from last N months (default 3, 0=all)

Marp

CommandDescription
ww marp <file.md>Watch a markdown file and regenerate PDF via marp

Whisper

CommandDescription
ww whisper <file.mp4>Transcribe via whisper (Chinese, large, CUDA)
ww whisper refine <file.txt>Refine transcription to .md via OpenRouter

Host

CommandDescription
ww hostShow all hosts
ww host localLocal machine
ww host workstationWorkstation (RTX 4070)
ww host dmitDMIT server

Cloudflare

CommandDescription
ww cloudflare monthly-visitMonthly page views & visits from Web Analytics
ww cloudflare zonesList Cloudflare zones
ww cloudflare datasetsList Web Analytics datasets
ww cloudflare schemaInspect GraphQL Account schema
ww cloudflare pdf <file>Parse Cloudflare Analytics PDF export

Ghostty

CommandDescription
ww ghosttyOpen a Ghostty window at a random position
ww ghostty closeClose all Ghostty windows

Clash

CommandDescription
ww clash select-providerSelect best proxy provider
ww clash speedRun speed test and select best proxy
ww clash runFull clash management with iterations
ww clash top-proxiesPrint top 5 fastest proxies (single-URL)
ww clash top-proxies-multiPrint top 10 fastest proxies (multi-URL)
ww clash speed-tiktokRun speedtest + TikTok load time
ww clash query-dns [host]Test AliDNS DoH resolution
ww clash gnome-proxy <set|unset>Toggle GNOME proxy (Linux)
ww clash macos-proxy <set|unset>Toggle macOS proxy (networksetup)
ww clash wifi <on|off>Toggle macOS Wi-Fi

Requirements

  • Python >= 3.11
  • uv (recommended) or pip
  • See pyproject.toml for full dependency list

About

ww: A cross-platform CLI toolkit for developer productivity — git workflows, note management, image/PDF processing, web search, and system utilities, with LLM-powered helpers. Welcome stars.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages