Skip to content
rohitgupta.xyz

Rohit Gupta

Software engineer

I’ve been building backend systems for ten years, mostly in Python and Go. These days I’m a forward deployed engineer (FDE), which means I build AI agents and data pipelines right next to the customer’s own systems. I write here about what I learn along the way.

WritingAll 05 →

GuidesProjects →

Open sourceAll 05 →

  • Go asciigraphA Go package to create lightweight ASCII line graphs in command-line apps, with no external dependencies. ★ 3.1k

    Every earthquake on Earth in the last 24 hours, live from the US Geological Survey and drawn the way asciigraph draws.

    Draw it in your terminal
    install
    go install github.com/guptarohit/asciigraph/cmd/asciigraph@latest
    run
    curl -s https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson |
      jq '(now * 1000) as $t
        | reduce (.features[].properties | select(.type == "earthquake" and .mag)) as $q
            ([range(72) | 2]; (($q.time - $t) / 864e5 * 72 + 72 | floor) as $i
              | if $i >= 0 and $i < 72 then .[$i] = ([.[$i], $q.mag] | max) else . end)
        | .[]' |
      asciigraph -h 10 -lb 2 -ub 7 -p 1 -xmin -24 -xmax 0 -c "Earthquakes in the last 24 hours (0 is now)"

    No Go? Take a binary from the releases page instead. The run needs curl and jq too.

  • Python cryptoCMDA Python library to fetch historical cryptocurrency price data from CoinMarketCap. ★ 611
  • Rust mfpA Rust CLI tool for playing music mixes from musicforprogramming.net, designed for programming and focus. ★ 63

PhotosAll 04 →

LinksOpen →

Contact

If you’re working on AI agents, data pipelines or backend systems and want to talk something through, I’m happy to hear from you.

esc
↑ ↓ to move↵ to openesc to close