HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
theluk
llm-patcher
TypeScript2024–2024
theluk / llm-patcher

llm-patcher

Generate & Stream Patches of Changes and Save Tokens and Shortens Response Time

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

What to know before exploring

What it is

Generate & Stream Patches of Changes and Save Tokens and Shortens Response Time

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, 5:04:57 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 hour2 dated mentions

Observed mentions: 2024-06-05 20:10:40 UTC to 2024-06-06 09:19:52 UTC.

012024-06-05 20:00:00 UTC to 2024-06-05 21:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJun 5, 20:002024-06-05 21:00:00 UTC to 2024-06-05 22:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-05 22:00:00 UTC to 2024-06-05 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-05 23:00:00 UTC to 2024-06-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-06 00:00:00 UTC to 2024-06-06 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-06 01:00:00 UTC to 2024-06-06 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-06 02:00:00 UTC to 2024-06-06 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 6, 02:002024-06-06 03:00:00 UTC to 2024-06-06 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-06 04:00:00 UTC to 2024-06-06 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-06 05:00:00 UTC to 2024-06-06 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-06 06:00:00 UTC to 2024-06-06 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-06 07:00:00 UTC to 2024-06-06 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-06 08:00:00 UTC to 2024-06-06 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-06 09:00:00 UTC to 2024-06-06 10:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJun 6, 09: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
Jun 5, 20:002024-06-05 20:00:00 UTC2024-06-05 21:00:00 UTC110
Jun 5, 21:002024-06-05 21:00:00 UTC2024-06-05 22:00:00 UTC000
Jun 5, 22:002024-06-05 22:00:00 UTC2024-06-05 23:00:00 UTC000
Jun 5, 23:002024-06-05 23:00:00 UTC2024-06-06 00:00:00 UTC000
Jun 6, 00:002024-06-06 00:00:00 UTC2024-06-06 01:00:00 UTC000
Jun 6, 01:002024-06-06 01:00:00 UTC2024-06-06 02:00:00 UTC000
Jun 6, 02:002024-06-06 02:00:00 UTC2024-06-06 03:00:00 UTC000
Jun 6, 03:002024-06-06 03:00:00 UTC2024-06-06 04:00:00 UTC000
Jun 6, 04:002024-06-06 04:00:00 UTC2024-06-06 05:00:00 UTC000
Jun 6, 05:002024-06-06 05:00:00 UTC2024-06-06 06:00:00 UTC000
Jun 6, 06:002024-06-06 06:00:00 UTC2024-06-06 07:00:00 UTC000
Jun 6, 07:002024-06-06 07:00:00 UTC2024-06-06 08:00:00 UTC000
Jun 6, 08:002024-06-06 08:00:00 UTC2024-06-06 09:00:00 UTC000
Jun 6, 09:002024-06-06 09:00:00 UTC2024-06-06 10:00:00 UTC110

What Hacker News says

2 sources
theluk·Jun 6, 2024Submission

Show HN: Open-Source LLM Patch Streaming – Speed and Output Token Improvement

Every time I ask an LLM like ChatGPT to make some modifications to my large chunk of text, it starts streaming the full thing back to me. Here are the most annoying things about this: 1. It consumes a ton of unnecessary output tokens 2. It is limited to 4k output tokens 3. Sometimes modifies parts that I did not tell it to 4. IT IS SLOOOW (imagine we wanted to change just a word at the beginning) What if, we could just patch our changes using a diff? I mean this is nothing groundbreaking, but still it seems, as if no one actually built something reusable or open. So here it is: LLM Patcher (kinda dumb name I know) Here is how it works 1. The user provides a text and a find-and-replace query. 2. The text is split into lines and sentences. 3. Each line and sentence is then prefixed with an identifier that looks like <l1s1> for line 1, sente
Read the rest
nce 1. 4. The LLM is then asked to find-and-replace the query in each line and sentence. 5. The changes are then streamed back to the user in the form of a diff. The diff looks like <r:l1s1> string to find || string to replace. Let me know what you think about it and please give it a star Cheers, Luke
1 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.