This portfolio but for the nerdy me
6 min read65 views
- #tui
- #terminal
- #portfolio
- #rust
I spend most of my day in a terminal. Not because I have to, but because it feels like home. Everything important is a keystroke away and nothing is hidden behind a pointer. I've been playing around with rust for 3 weeks ish now and the one thing i really enjoyed building recently is terminal TUIs. So i decided to try rust to build a new TUI, just for the sake of trying something other that OpenTUI + TypeScript. So i built the second version of my portfolio as a TUI.

A new version of my portfolio that lives in the terminal#
The web version is at nevo.is-a.dev. And there is now a terminal companion to it, a Rust TUI app that renders the same portfolio as a full-screen interface inside any ANSI terminal, pulling its content live from the same API.
This post is about how it's built and how to try it out.
What it is#
A terminal user interface (TUI) written in Rust. It is not a static mock, every screen fetches its data live from https://nevo.is-a.dev/api:
- Projects (with live URL and source links)
- Tech stack, grouped by category
- Work experience
- Blog posts, with a full reader for the post itself
- Contact links (GitHub, LinkedIn, email, resume)
The app needs network access at startup. No internet, no content.
To install it anywhere with a Rust toolchain:
cargo install --git https://github.com/iknevo/nevotui
nevotui
Or run it from source:
git clone https://github.com/iknevo/nevotui.git
cd nevotui
cargo run --release
The stack#
The two libraries that do the heavy lifting are the standard TUI pair in the Rust ecosystem:
- ratatui — the widget and layout framework
- crossterm — the terminal backend (raw mode, alternate screen, keys, mouse)
On top of that:
tokiofor async, the fetches are fire-and-forget tasks, not a blocking wallreqwest(+rustls) for HTTP/HTTPS with no OpenSSL dependencyserdeto turn JSON into typed structs, with the server'scamelCasemapped automaticallyopento open a browser or anmailto:link in the backgroundchronofor the one thing that time is for, computing my age from2002-09-21
The release profile is tuned to keep the binary small and fast:
[profile.release]
lto = true
strip = true
codegen-units = 1
One state machine, not many views#
The app is a single App struct that owns everything: the current screen, the loaded data, scroll positions, and which pane has focus.
Data arrives as one of three states:
Loading → Error(message) → Ready(data)
Every screen renders all three variants, a dim loading… line, or a red ! error, or the real content. If the API is unreachable you know it immediately, and you are never staring at a blank panel.
Async loads through a channel#
At startup the app spawns five async tasks, one per dataset (projects, stack, experience, blog list, resume), each pushing its result through the same mpsc channel. The main loop drains the channel every frame and applies whatever arrived. The UI never waits: the first screen paints instantly and content fills in as responses land.
Blog post bodies work differently. Fetching all posts at startup would be wasteful, so the body loads on demand, only when you press enter on a post. That triggers a second, one-shot channel. While it fetches, the reader shows an animated braille spinner:
⠋ loading post…
The small details#
The fun part of a TUI is in the details that make it feel alive:
- The ASCII logo on Home scales with your terminal width, single-size under 90 columns, doubled from 90–159, tripled beyond that. Resize the window and the whole thing reflows.
- Stack items render as
•-bulleted rows that wrap with a hanging indent, so the list stays readable in a narrow terminal instead of one long overflowing line. - Long content gets a custom scrollbar — a cyan
█thumb over a░track — clamped so you can never scroll past the end into a blank void. - There is a tiny markdown renderer built in to the blog reader:
#headings become bold cyan,##and deeper become bold,-lines become bullets, and inline markdown (**bold**, backticks,[label](url)) is stripped so the raw document reads like clean prose in the terminal.
Tested without a terminal#
TUIs usually look untestable, a wall of ANSI escapes and a cursor. ratatui fixes that with TestBackend; instead of a real screen you render into an in-memory buffer and inspect the resulting text.
That unlocks real tests for layout decisions: the logo scales at different widths, the header brand and tabs share one line, scroll content clamps instead of blanking, and the stack wraps into bullet rows. There are 20 tests covering all of it, run with a simple cargo test.
There is also an opt-in smoke test hitting the live API to prove the JSON still deserializes, useful the day the backend changes shape.
How to use it#
The app opens with a home screen showing the logo, a short blurb, and the always-up-to-date age. From there, navigation is keyboard-driven.
The screens#
| # | Screen | Shows |
|---|---|---|
| 1 | Home | Logo, blurb, tagline |
| 2 | Projects | Project list + detail pane with live/source links |
| 3 | Stack | Tech stack grouped by category |
| 4 | Experience | Work experience |
| 5 | Blog | Post list + reader |
| 6 | Links | GitHub, LinkedIn, web, email, resume |
Global keys#
| Key | Action |
|---|---|
1–6 | Jump straight to a screen |
Tab / Shift+Tab | Next / previous screen |
h / ← | Back to Home |
q | Quit |
Projects & Blog#
Both are two-pane screens with the same muscle memory:
| Key | Action |
|---|---|
j / k | Move through the list |
f / / | Toggle focus between list and detail/reader |
enter / l / → | Projects: open the live URL · Blog: read the post |
s | Projects: open the source repo |
esc | Back to the list |
Scrolling screens#
Stack and Experience are single-pane scroll views:
| Key | Action |
|---|---|
j / k | Scroll down / up |
PgDn / PgUp | Scroll by a page |
g / G | Top / bottom |
Links#
| Key | Action |
|---|---|
g | Open GitHub |
l | Open LinkedIn |
w | Open the web version |
e | Compose an email |
r | Open the resume |
Building a TUI portfolio felt like the terminal finally got its own version of a webpage — same content, one renderer instead of a browser, and keys instead of a mouse.
If you want to poke at the code, it's MIT-licensed at github.com/iknevo/nevotui. And if you just want to cargo install it and look at something you built once in a while, well, it reads better in a terminal anyway.
Try it: cargo install --git https://github.com/iknevo/nevotui