Skip to content

Feature/custom features#15

Closed
VictoryChianumba wants to merge 3 commits intoVeirt:mainfrom
VictoryChianumba:feature/custom-features
Closed

Feature/custom features#15
VictoryChianumba wants to merge 3 commits intoVeirt:mainfrom
VictoryChianumba:feature/custom-features

Conversation

@VictoryChianumba
Copy link
Copy Markdown

I added a couple of features that might be useful.

src/geocoding.rs — New module for city name geocoding via Open-Meteo API
src/scene/skyline/ — New skyline system with ASCII art for 8 cities + 2 generic fallbacks
src/scene/mod.rs — SceneMode enum (Town vs Skyline) with branching render
src/app.rs — Location label display, duration timeout, chimney smoke gating
src/main.rs — CLI args for city, --set-default, --duration, --install-shell, --uninstall-shell
src/config.rs — Serialize support, city/country fields, save() method
src/error.rs — GeocodingError enum with retry/network handling
src/lib.rs — Added geocoding module
src/weather/types.rs — Added Serialize derive

VictoryChianumba and others added 3 commits February 17, 2026 09:21
…ault

Add geocoding support for city name lookups (e.g. `weathr london`),
city-specific ASCII art skylines for 8 major cities (London, New York,
Paris, Tokyo, Sydney, Dubai, San Francisco, Rome) plus generic urban
and rural fallbacks. Include --duration flag for timed exit,
--install-shell/--uninstall-shell for shell startup integration,
--set-default to save preferred location to config, and a location
label display in the top-right corner.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Quick Start section, city lookup docs, city skylines list,
shell integration guide, --duration flag, geocoding privacy info,
and updated table of contents.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Prevents the location label from overlapping with the HUD text
on narrow terminals by checking available width and dropping
the label to line 2 when needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant