GitHub - nhdez/cervantes

1 min read Original article ↗

A native Hacker News client for Linux (and macOS/Windows), built with Tauri 2, React 19, and TypeScript.

Pre-built .deb and .AppImage packages for Linux x86_64 are attached to each release.

src/                    React + TypeScript frontend
  components/
    Feed/               Story list, Algolia search view
    Thread/             Story header, comment tree
    Layout/             Sidebar, toolbar, desktop shell
    Auth/               Login and submit modals
    Notes/              Notes list view
    Profile/            User profile modal
  hooks/                React Query hooks, feed poller, Algolia search
  lib/                  HN Firebase API, Algolia helpers, SQLite helpers
  stores/               Zustand (auth + settings)
  contexts/             Profile, Note, Thread React contexts
  types/                Shared TypeScript types
src-tauri/              Rust backend
  src/
    lib.rs              Tauri commands, plugin setup, SQLite migrations
    hn_web.rs           HN web scraping (login, vote, comment, submit, favorites)
    keychain.rs         OS keychain session persistence