HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ykhli
local-ai-stack
TypeScript2023–2023
ykhli / local-ai-stack

local-ai-stack

A starter kit to build *local-only* AI apps that cost $0 to run -- starting with document Q&A. Written in Javascript

3Distinct people
3Mentions
0Explicit recommenders
1.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A starter kit to build *local-only* AI apps that cost $0 to run -- starting with document Q&A. Written in Javascript

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

No other repository is repeatedly linked in the same discussions.

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:03:16 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 3-hour interval3 dated mentions

Observed mentions: 2023-10-31 16:42:42 UTC to 2023-11-02 08:26:28 UTC.

0122023-10-31 15:00:00 UTC to 2023-10-31 18:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 commentsOct 31, 15:002023-10-31 18:00:00 UTC to 2023-10-31 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-10-31 21:00:00 UTC to 2023-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 00:00:00 UTC to 2023-11-01 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 03:00:00 UTC to 2023-11-01 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 06:00:00 UTC to 2023-11-01 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 09:00:00 UTC to 2023-11-01 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsNov 1, 09:002023-11-01 12:00:00 UTC to 2023-11-01 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 15:00:00 UTC to 2023-11-01 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 18:00:00 UTC to 2023-11-01 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 21:00:00 UTC to 2023-11-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-02 00:00:00 UTC to 2023-11-02 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-02 03:00:00 UTC to 2023-11-02 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-02 06:00:00 UTC to 2023-11-02 09:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsNov 2, 06:00

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
Oct 31, 15:002023-10-31 15:00:00 UTC2023-10-31 18:00:00 UTC211
Oct 31, 18:002023-10-31 18:00:00 UTC2023-10-31 21:00:00 UTC000
Oct 31, 21:002023-10-31 21:00:00 UTC2023-11-01 00:00:00 UTC000
Nov 1, 00:002023-11-01 00:00:00 UTC2023-11-01 03:00:00 UTC000
Nov 1, 03:002023-11-01 03:00:00 UTC2023-11-01 06:00:00 UTC000
Nov 1, 06:002023-11-01 06:00:00 UTC2023-11-01 09:00:00 UTC000
Nov 1, 09:002023-11-01 09:00:00 UTC2023-11-01 12:00:00 UTC000
Nov 1, 12:002023-11-01 12:00:00 UTC2023-11-01 15:00:00 UTC000
Nov 1, 15:002023-11-01 15:00:00 UTC2023-11-01 18:00:00 UTC000
Nov 1, 18:002023-11-01 18:00:00 UTC2023-11-01 21:00:00 UTC000
Nov 1, 21:002023-11-01 21:00:00 UTC2023-11-02 00:00:00 UTC000
Nov 2, 00:002023-11-02 00:00:00 UTC2023-11-02 03:00:00 UTC000
Nov 2, 03:002023-11-02 03:00:00 UTC2023-11-02 06:00:00 UTC000
Nov 2, 06:002023-11-02 06:00:00 UTC2023-11-02 09:00:00 UTC110

What Hacker News says

3 sources
very cool that you used supabase for this yoko - thank you. it could be worthwile adding an an index to the migration script[0]. if you decide to do this, it will need to be HNSW since ivfflat indexes should be created _after_ the table has some data[1]. HNSW is faster as well, so it's a sensible default. also it's worth mentioning that the gte-small[2] embedding model isn't great with non-english embeddings. I don't know if many developers will get tripped up on that, but hopefully it's clear that they can swap that for any huggingface model [0] https://github.com/ykhli/local-ai-stack/blob/main/supabase/m... [1] https://github.com/pgvector/pgvector#ivfflat [2] https://github.com/ykhli/local-ai-stack/blob/1a23061442ce1d9...
In Show HN: JS Local-only AI Apps starter kit: cost $0 to run and test locally
ykhli·Oct 31, 2023Submission

Show HN: JS Local-only AI Apps starter kit: cost $0 to run and test locally

Hi HN! Here's a local-only stack I built over the weekend - hope it can be useful for you! I have been building a lot of AI apps - https://github.com/a16z-infra/ai-town https://github.com/a16z-infra/companion-app ... And there were definitely times I spent way too much $$ before deploying the app to production. So I was looking for a "local only" stack and found a few tools that worked well together. I used the following set of tools but may add more options later: - Inference: Ollama - VectorDB: Supabase pg-vector - LLM orchestration: langchain - Framework: nextjs My learning from building ai-town was also that many people don't have the luxury of swiping a credit card to test an app with a lot of AI workloads -- not surprisingly, many models on Ollama are already very good - I used llama2-7b for majority of my dev work. Hope this can lo
Read the rest
wer the barrier to entry for building AI apps. :)
11 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.