HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
devflowinc
hn-search-RAG
TypeScript2024–2024
devflowinc / hn-search-RAG

hn-search-RAG

Hacker News Search and RAG built using Rust actix-web, minijinja, SolidJS, Vite, and Redis queue's

2Distinct people
3Mentions
0Explicit recommenders
31GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Hacker News Search and RAG built using Rust actix-web, minijinja, SolidJS, Vite, and Redis queue's

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by week3 dated mentions

Observed mentions: 2024-08-12 21:24:08 UTC to 2024-10-06 23:22:48 UTC. Weeks start Monday, UTC.

012024-08-12 00:00:00 UTC to 2024-08-19 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsAug 122024-08-19 00:00:00 UTC to 2024-08-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-26 00:00:00 UTC to 2024-09-02 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024-09-02 00:00:00 UTC to 2024-09-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 22024-09-09 00:00:00 UTC to 2024-09-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-16 00:00:00 UTC to 2024-09-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-23 00:00:00 UTC to 2024-09-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 00:00:00 UTC to 2024-10-07 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 30

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Aug 122024-08-12 00:00:00 UTC2024-08-19 00:00:00 UTC101
Aug 192024-08-19 00:00:00 UTC2024-08-26 00:00:00 UTC000
Aug 262024-08-26 00:00:00 UTC2024-09-02 00:00:00 UTC110
Sep 22024-09-02 00:00:00 UTC2024-09-09 00:00:00 UTC000
Sep 92024-09-09 00:00:00 UTC2024-09-16 00:00:00 UTC000
Sep 162024-09-16 00:00:00 UTC2024-09-23 00:00:00 UTC000
Sep 232024-09-23 00:00:00 UTC2024-09-30 00:00:00 UTC000
Sep 302024-09-30 00:00:00 UTC2024-10-07 00:00:00 UTC101

What Hacker News says

3 sources
It really doesn't, actix is already there. Recently built my startup code over the past couple years with Actix and it had literally everything we needed easily. We just need more documentation and reference code bases demonstrating how to do these things. Rust devs tend to be fairly advanced and seemingly don't write enough docs or shares. >Routing/handlers Actix has it. >Templates Minijinja or liquid-rust[1] >Static file serving actix-files[2] >Logins Actix with oidccore is fantastic and easy[3] >Permissions Actix FromRequest is literally perfect. We have perm levels (admin, owner) and per-route perms for more fine-grained control.[4] > Database interface Diesel with diesel_async for connection pooling has been flawless at scale. > Admin tooling We didn't do this, but it would be simple with a bin/load-data.rs file that runs via a docke
Read the rest
r start command or tmuxp pane. > Hot reloading Cargo watch is getting deprecated, but was great. Bacon and and Watchexec are fully qualified successors. CSS watch systems work with the templates already same way as they do for SPAs. > Background tasks Make a bin/worker.ts file which defines a single binary and then use redis or another queing sytem to communicate between the worker and core server. We loaded all of HN (40M docs) into a search index with this approach and it was easy. > Monitoring/observability There's a decent story here with structured logging. Zero to production in Rust has a good chapter on it (2020) [5]. Lots of progress has been made since and exposing prom metrics endpoint is straightforward [6]. Sentry support is also decent and they sponsor actix. > Caching Imo, the story with Redis + actix is fine. We do this with our auth middleware to reduce latency on that operation since it happens with every route and I think it's smooth with FromRequest. > Emails and other notifications What's wrong with SMTP? Plus, Keycloak will handle your password reset infra out of the box. SDKs here could be better, but the APIs are fine and not too bad to do with Reqwest yourself. > Deployment tooling + CSS/JS bundling Imo, both of these things are the same as with other languages. Rust could use more documentation, but I don't think there's anything making it particularly hard to use. [1]: https://github.com/devflowinc/hn-search-RAG/blob/main/actix-... [2]: https://github.com/devflowinc/hn-search-RAG/blob/main/actix-... [3]: https://github.com/devflowinc/trieve/blob/main/server/src/ha... [4]: https://github.com/devflowinc/trieve/blob/main/server/src/ha... [5]: https://www.lpalmieri.com/posts/2020-09-27-zero-to-productio... [6]: https://romankudryashov.com/blog/2021/11/monitoring-rust-web...
In Rust needs a web framework
skeptrune·Aug 29, 2024Submission

Show HN: A discovery-focused search engine for Hacker News

We (Nick, Dens, Denzell, Fede, Drew, Aaryan, and Daniel) have been building HN Discovery, a discovery-focused search engine for Hacker News, in our spare time for the past 6 months and are excited to show it! It adds the following features relative to the existing keyword search interface and preserves the existing ones: - no-JS version (hnnojs.trieve.ai) - site:{required_site} and site:{negated-site} filters - public analytics - LLM generated query suggestions based on random stories - recommendations - dense vector semantic search - SPLADE fulltext search - RAG AI chat - order by descendant count client code (FOSS self-hostable) - https://github.com/devflowinc/trieve-hn-discovery engine code (BSL source-available) - https://github.com/devflowinc/trieve There is an extended about page with detailed information on features, how much it co
Read the rest
sts to run, etc. here - https://hn.trieve.ai/about.
193 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.