Storage forecastPro
An Oxyn original: a fortnight of dot columns lit to each day's use, then ghost columns at the current pace up to the day the disk is full.
oxyn add storage-forecastThe preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Turn a fortnight of growth into one answer: when the disk is full at this pace.
When not to use
- Disk use as a capacity bar of dots, one colour block per category, over a category grid: use Storage meter instead.
- Skills and commands that ride along with each new chat, filtered by how long they sat unused: use Storage cleanup instead.
- An Oxyn original: use Storage waffle instead.
Installation
Storage forecast is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add storage-forecastUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Default
Two weeks of dot columns, then ghost columns a week apart at the same pace; the top rows turn red.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Fast
At 6 GB a day the ghosts reach the red rows within weeks.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Slow
At 1 GB a day, with finer columns.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
StorageForecast
| Prop | Type | Default | Description |
|---|---|---|---|
history | Option<Vec<f64>> | Default::default() | Used GB per day, oldest first (the demo fortnight when `None`). |
cap | f64 | 512.0 | Capacity in GB. |
rows | usize | 12 | Dots per column. |
ahead | usize | 8 | Ghost columns ahead. |
pace | Option<f64> | Default::default() | GB a day for the ghost columns (the history's own pace when `None`). |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Pointer over a column | Reads that day's use |
Accessibility
- The chart is an image labelled with the used space and the days until full.
- The reading in the corner is a live region; the summary line is plain text.
Responsive behaviour
- 460 px card; columns share the width and dots stay round.
Edge cases (spec)
460 px card; columns share the width, dots stay round.
Notes for AI
- Import
StorageForecastfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
StorageForecastElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.