frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Toktrack – 1000x faster AI CLI cost tracker (Rust and SIMD)

https://github.com/mag123c/toktrack
4•mag123c•1h ago
Did you know Claude Code deletes your session data after 30 days? I found out the hard way when I tried to check my spending history.

My session files hit 3GB (2000+ files) and existing tools took 40+ seconds. Rewrote it in Rust with simd-json + rayon.

- First run: ~1s (vs 40s+) - Daily use: ~0.04s (1000x faster, cached) - TUI dashboard with daily/weekly/monthly breakdown - Supports Claude Code, Codex CLI, Gemini CLI - Persistent cache — history survives even after CLI deletes files

GitHub: https://github.com/mag123c/toktrack

Feedback welcome!

Comments

nadis•1h ago
Interesting! Sort of a tangential question to the product itself but why did you choose to build primarily in Rust? I saw "built with Rust + simd-json + ratatui for ultra-fast performance" but am not actually very familiar with how these technology choices specifically enable ultra-fast performance. Would love to learn more!
mag123c•57m ago
Good question! Honestly, the README is a bit misleading - ratatui is just for the terminal UI, not performance. Let me clarify

The actual speed comes from

1.simd-json: This is the big one. It uses CPU SIMD instructions to parse multiple JSON bytes in parallel at the hardware level. We're talking ~3 GiB/s vs ~300 MB/s with standard parsers.

2.rayon: Dead simple parallel processing. Instead of parsing 2,000 files one by one, it spreads them across all CPU cores.

3.Rust itself: No GC means no random pauses when you're crunching through gigabytes of data. The original Node.js version would just... freeze sometimes.

The 40s → 0.04s improvement basically "what if we actually used the hardware properly?" SIMD for parsing, all cores for parallelism, no GC getting in the way. (I should probably fix that README line - thanks for pointing it out!)

How to Write Good (Short) Docs

https://tombedor.dev/how-to-write-good-short-docs/
1•jjfoooo4•13m ago•0 comments

Living Through the Cultural Revolution

https://substack.com/home/post/p-186384573
4•expectsomuch•15m ago•1 comments

Fact Check: Did JK Rowling invite Jeffrey Epstein to a play?

https://rainyseason.substack.com/p/fact-check-did-jk-rowling-invite
2•duck_house•16m ago•0 comments

Banks seek out new buyers for Oracle data centre loans

https://www.ft.com/content/90aa74a5-b39d-4131-a138-367726cb18fb
4•zerosizedweasle•17m ago•1 comments

243,000 words dictated in 39 days, speech-to-text changed how I work

https://modulovalue.com/blog/voxtral-transcribe-and-wispr-flow/
1•modulovalue•22m ago•0 comments

Thomistic Philosophical Anthropology: An Interpretive Grid for LLMs

https://michaelmangialardi.substack.com/p/a-thomistic-philosophical-anthropology-llm-pt1
1•mikemangialardi•24m ago•0 comments

Writing an LLM from scratch, part 32B – Interventions: gradient clipping

https://www.gilesthomas.com/2026/02/llm-from-scratch-32b-interventions-gradient-clipping
2•gpjt•26m ago•0 comments

Nearly 40% of Stanford undergraduates claim they're disabled. I'm one of them

https://www.thetimes.com/us/news-today/article/40-percent-stanford-undergraduates-claim-disabled-...
1•mudil•26m ago•0 comments

Same Image, Different Score?

https://halide.cx/blog/chroma-handling/
1•computerbuster•29m ago•0 comments

Show HN: Pygantry – Why ship a whole OS when you just need a Python environment?

https://github.com/erabytse/Pygantry
2•takouzlo•30m ago•0 comments

Trustless crypto escrow for agent to agent (or humans)

https://coinpayportal.com/
1•cranberryturkey•32m ago•0 comments

Recent trends in the work of the Django Security Team

https://www.djangoproject.com/weblog/2026/feb/04/recent-trends-security-team/
2•todsacerdoti•37m ago•0 comments

Relic – a missing secrets artifact for Node and Edge

https://www.npmjs.com/package/@nick-skriabin/relic
1•nicholasrq•42m ago•0 comments

Does AI have human-level intelligence? The evidence is clear

https://www.nature.com/articles/d41586-026-00285-6
2•mudil•42m ago•0 comments

Vector: A platform for founders to turn vision into real business

https://govector.ai/
1•znich•47m ago•0 comments

Billy Bass Nelson, Original Bassist for Funkadelic, Dies at 75

https://www.nytimes.com/2026/02/02/arts/music/billy-bass-nelson-dead.html
3•bookofjoe•52m ago•2 comments

Common Bacteria Discovered in the Eye Linked to Cognitive Decline

https://www.cedars-sinai.org/newsroom/common-bacteria-discovered-in-the-eye-linked-to-cognitive-d...
2•thunderbong•53m ago•0 comments

Sam Altman responds to Anthropic's "Ads are coming to AI. But not to Claude" ads

https://xcancel.com/sama/status/2019139174339928189
17•PieUser•58m ago•10 comments

FBI stymied by Apple's Lockdown Mode after seizing journalist's iPhone

https://arstechnica.com/tech-policy/2026/02/fbi-stymied-by-apples-lockdown-mode-after-seizing-jou...
5•voxadam•58m ago•0 comments

Using React and Claude Code to make slides awesome and easy

https://newsletter.aimuscle.com/p/using-ai-agents-to-make-better-slides
1•Sherveen•58m ago•0 comments

Show HN: Moonlit – Slowed and nightcore web player for YouTube and TikTok

https://moonlit.wastu.net
1•wastu•1h ago•0 comments

How AI Changed This Olympic Snowboarder's Signature Trick

https://www.wsj.com/articles/how-ai-changed-this-olympic-snowboarders-signature-trick-029f0c5d
2•bookofjoe•1h ago•1 comments

Show HN: All in One AI Assistant

https://fluxchat.org/
1•rainel•1h ago•0 comments

New York poised to legalize medical aid in dying

https://www.politico.com/news/2026/02/04/medical-aid-in-dying-new-york-00766413
3•JumpCrisscross•1h ago•1 comments

Triangle: A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator

https://www.cs.cmu.edu/~quake/triangle.html
2•MassPikeMike•1h ago•0 comments

Alphabet expects 2026 capex in the range of $175B to $185B

https://www.cnbc.com/2026/02/04/alphabet-googl-q4-2025-earnings.html
2•mfiguiere•1h ago•0 comments

Against the Orthogonality Thesis

https://jonasmoman.substack.com/p/against-the-orthogonality-thesis
2•paulpauper•1h ago•0 comments

Making Sense of Madness: Stress-Induced Hallucinogenesis

https://mad.science.blog/2021/11/30/making-sense-of-madness-stress-induced-hallucinogenesis/
1•paulpauper•1h ago•0 comments

Ask HN: Have any 100% AI companies been founded yet?

1•LPisGood•1h ago•3 comments

Language Modeling, Part 5: Reverse Engineering LSTM Cells

https://connorjdavis.substack.com/p/language-modeling-part-5-reverse
1•cjamsonhn•1h ago•0 comments