open-index/open-npm huggingface dataset:
npm package: @seanwessmith/repopulse
Description: Interactive terminal chart for visualizing git repository growth over time
Author: seanwessmith
Latest version: 0.1.0

# repopulse

Interactive terminal chart for visualizing how a git repository grows over time.

![repopulse screenshot](./assets/repopulse-screenshot.png)

`repopulse` reads first-parent history, computes cumulative LOC snapshots, picks a fitting default resolution, and renders an interactive terminal chart. The default view is a line chart.

## Install

Local:

```bash
bun install
bun run index.ts ../your-repo
```

After publishing:

```bash
bunx @seanwessmith/repopulse ../your-repo
```

## Usage

```bash
repopulse [repo-path] [day|week|month|quarter|year]
```

Examples:

```bash
bun run index.ts
bun run index.ts ../gastown
bun run index.ts ../gastown day
```

If you omit the period, `repopulse` automatically chooses the finest resolution that fits the current terminal width.

## Controls

- `left` / `right` or `h` / `l`: move selection
- `g` / `G`: jump to start or end
- `d` / `w` / `m` / `p` / `y`: switch period
- `v`: toggle line or bar chart
- `q`: quit

## Notes

- Uses `git log --first-parent` so the chart follows the main branch timeline.
- Values are total LOC snapshots, not per-period deltas.
- History is cached inside the repo’s `.git` directory for faster repeat runs.

## Publish

See [PUBLISHING.md](./PUBLISHING.md).

## Launch

See [LAUNCH.md](./LAUNCH.md).

## Test

```bash
bun test
```
npm package: @seanwong24/s-magic-text
Description: Stencil Component Starter
Latest version: 0.5.0

![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0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