A terminal analytics dashboard for Plausible Analytics. View your website stats without leaving the terminal.
Built with Bubble Tea, Lip Gloss, and ntcharts.
- Top-line metrics: visitors, visits, pageviews, bounce rate, visit duration
- Visitor trend sparkline chart
- Top pages and top sources panels
- Time period switching: today, yesterday, 7 days, 30 days
- Live visitor count with realtime indicator (today view)
- Self-hosted Plausible support
Download the latest binary from Releases.
go install github.com/chrissy-dev/plaus/cmd/plaus@latest
git clone https://github.com/chrissy-dev/plaus.git
cd plaus
go build -o plaus ./cmd/plaus
plaus init
Creates ~/.config/plaus/config.json and prompts for your Plausible base URL (defaults to https://plausible.io).
plaus add example.com
Prompts for your Stats API key and stores it in the config.
plaus example.com
| Key | Action |
|---|---|
1 |
Today |
2 |
Yesterday |
3 |
Last 7 days |
4 |
Last 30 days |
r |
Refresh data |
q |
Quit |
plaus sites # List configured sites
plaus remove example.com # Remove a site
plaus version # Show version
Config is stored at ~/.config/plaus/config.json:
{
"base_url": "https://plausible.io",
"default_site": "example.com",
"sites": {
"example.com": {
"token": "your-api-key"
}
}
}MIT
