HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
janhq
cortex.cpp
C++2024–2024
janhq / cortex.cpp · Archived

cortex.cpp

Local AI API Platform

2Distinct people
2Mentions
0Explicit recommenders
2.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Local AI API Platform

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, 11:56:56 AM 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 day2 dated mentions

Observed mentions: 2024-01-06 04:13:59 UTC to 2024-01-25 07:31:06 UTC.

012024-01-06 00:00:00 UTC to 2024-01-07 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 62024-01-07 00:00:00 UTC to 2024-01-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-08 00:00:00 UTC to 2024-01-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-09 00:00:00 UTC to 2024-01-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-10 00:00:00 UTC to 2024-01-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-11 00:00:00 UTC to 2024-01-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-12 00:00:00 UTC to 2024-01-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-13 00:00:00 UTC to 2024-01-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-14 00:00:00 UTC to 2024-01-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-15 00:00:00 UTC to 2024-01-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJan 152024-01-16 00:00:00 UTC to 2024-01-17 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-17 00:00:00 UTC to 2024-01-18 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-18 00:00:00 UTC to 2024-01-19 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-19 00:00:00 UTC to 2024-01-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-20 00:00:00 UTC to 2024-01-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-21 00:00:00 UTC to 2024-01-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-22 00:00:00 UTC to 2024-01-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-23 00:00:00 UTC to 2024-01-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-24 00:00:00 UTC to 2024-01-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-25 00:00:00 UTC to 2024-01-26 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 25

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
Jan 62024-01-06 00:00:00 UTC2024-01-07 00:00:00 UTC101
Jan 72024-01-07 00:00:00 UTC2024-01-08 00:00:00 UTC000
Jan 82024-01-08 00:00:00 UTC2024-01-09 00:00:00 UTC000
Jan 92024-01-09 00:00:00 UTC2024-01-10 00:00:00 UTC000
Jan 102024-01-10 00:00:00 UTC2024-01-11 00:00:00 UTC000
Jan 112024-01-11 00:00:00 UTC2024-01-12 00:00:00 UTC000
Jan 122024-01-12 00:00:00 UTC2024-01-13 00:00:00 UTC000
Jan 132024-01-13 00:00:00 UTC2024-01-14 00:00:00 UTC000
Jan 142024-01-14 00:00:00 UTC2024-01-15 00:00:00 UTC000
Jan 152024-01-15 00:00:00 UTC2024-01-16 00:00:00 UTC000
Jan 162024-01-16 00:00:00 UTC2024-01-17 00:00:00 UTC000
Jan 172024-01-17 00:00:00 UTC2024-01-18 00:00:00 UTC000
Jan 182024-01-18 00:00:00 UTC2024-01-19 00:00:00 UTC000
Jan 192024-01-19 00:00:00 UTC2024-01-20 00:00:00 UTC000
Jan 202024-01-20 00:00:00 UTC2024-01-21 00:00:00 UTC000
Jan 212024-01-21 00:00:00 UTC2024-01-22 00:00:00 UTC000
Jan 222024-01-22 00:00:00 UTC2024-01-23 00:00:00 UTC000
Jan 232024-01-23 00:00:00 UTC2024-01-24 00:00:00 UTC000
Jan 242024-01-24 00:00:00 UTC2024-01-25 00:00:00 UTC000
Jan 252024-01-25 00:00:00 UTC2024-01-26 00:00:00 UTC101

What Hacker News says

2 sources
Look... I appreciate a cool project, but this is probably not a good idea. > Built on top of the cutting-edge inference library llama.cpp, modified to be production ready. It's not. It's literally just llama.cpp -> https://github.com/janhq/nitro/blob/main/.gitmodules Llama.cpp makes no pretense at being a robust safe network ready library; it's a high performance library. You've made no changes to llama.cpp here; you're just calling the llama.cpp API directly from your drogon app. Hm. ... Look... that's interesting, but, honestly, I know there's this wave of "C++ is back!" stuff going on, but building network applications in C++ is very tricky to do right, and while this is cool, I'm not sure 'llama.cpp is in c++ because it needs to be fast' is a good reason to go 'so lets build a network server in c++ too!'. I mean, I guess you could arg
Read the rest
ue that since llama.cpp is a C++ application, it's fair for them to offer their own server example with an openai compatible API (which you can read about here: https://github.com/ggerganov/llama.cpp/issues/4216, https://github.com/ggerganov/llama.cpp/blob/master/examples/...). ...but a production ready application? I wrote a rust binding to llama.cpp and my conclusion was that llama.cpp is pretty bleeding edge software, and bluntly, you should process isolate it from anything you really care about, if you want to avoid undefined behavior after long running inference sequences; because it updates very often, and often breaks. Those breaks are usually UB. It does not have a 'stable' version. Further more, when you run large models and run out of memory, C++ applications are notoriously unreliable in their 'handle OOM' behaviour. Soo.... I know there's something fun here, but really... unless you had a really really compelling reason to need to write your server software in c++ (and I see no compelling reason here), I'm curious why you would? It seems enormously risky. The quality of this code is 'fun', not 'production ready'.
In Nitro: A fast, lightweight inference server with OpenAI-Compatible API

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.