👉 View Full Changelog on X-CMD Website
👉 Version compare: v0.10.5...v0.10.6
✅ Upgrade Guide
x upgrade 📃 Changelog
[repo card](https://x-cmd.com/mod/repo card)
- Added
x repo cardsubcommand —— generates a scorecard for repositories.
Mainly supporting x-cmd/install: scoring data for its tool repositories.
Goes straight through the GitHub API: one GraphQL call combining 16 search counters, plus one REST /stats/commit_activity call. No local clone touched, so it works even before the repo is pulled down.
By default you get a colorful card table in the terminal — easy on the eyes. Pipe or redirect it and it automatically switches to bare YAML for tools like yq. Lock the format with --tty or --yml when you need.
The scorecard covers:
about:description, license, homepage, head, latest version, collection timetimeline:created, last commit, last releasepopularity:stars, watchers, forks, releases, contributors, PRs, issueslanguage:+totalLine:linguist byte breakdownrecent:counts for merged PRs, open PRs, closed issues, open issues, releases, and commits across last30d/90d/180d/360d windows
One caveat: unauthenticated GraphQL only gets 60 req/h from GitHub, so it can hit the wall quickly.
Run gh auth login first, or set $GH_TOKEN / $GITHUB_TOKEN, to keep it smooth.
Examples:
# Default scorecard with the last 90-day window
x repo card x-cmd/x-cmd
# Extract the popularity section with yq
x repo card x-cmd/install | yq '.popularity'
# Lock bare YAML and save to file
x repo card --yml x-cmd/install > card.ymlps
- Added
x ps monitorsubcommand —— watch one process's CPU and memory.
Sometimes you just want to check if a single process is leaking memory or spiking CPU, without digging through a full top or htop screen.
Now pass a PID, poll once per second, get YAML output, hit Ctrl-C to stop.
Example:
# Monitor CPU / memory for PID 1234
x ps monitor 1234