frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•1y ago
Hi HN,

We’re Chonkie (https://github.com/chonkie-inc/chonkie) — we build open source tools that help split documents into meaningful chunks for use with AI models.

When you use LLMs over large documents or codebases, you often need to break them into smaller parts to fit the model’s context window. Our chunkers do this in a smart way: they preserve structure and meaning, so only the most relevant pieces are passed into the model. This reduces hallucinations, avoids confusion, and improves performance and accuracy.

Today we’re launching our Code Chunker — a fast, structure-aware way to break down source code into high-quality, token-aware chunks.

How it works:

(See the code: https://github.com/chonkie-inc/chonkie/blob/main/src/chonkie...)

Code Chunker uses tree-sitter (https://tree-sitter.github.io/tree-sitter/) to parse your code into an abstract syntax tree (AST). It then recursively merges and groups nodes in a way that respects both code structure and token limits.

It supports all languages that tree-sitter supports, and is designed to preserve formatting and semantics. Large functions or class definitions won’t be split in the middle of a block — instead, we dive recursively into the AST to produce clean, coherent chunks that fit your configured token budget.

What it’s useful for:

  - Embedding-based code search

  - RAG (retrieval-augmented generation) over codebases

  - Long-context analysis of code

  - Preparing repos for fine-tuning or pretraining
Try it out:

  - Open source package: https://docs.chonkie.ai/chunkers/code-chunker

  - Hosted playground (free with account): https://cloud.chonkie.ai
Happy Chonking!

AI broke writing as proof-of-thought

https://hereisyourbrain.substack.com/p/ai-generated-content-mind-virus
2•prdgl_daughter•1m ago•0 comments

Claude 5 family's hallucinations look a lot like internal Anthropic emails

https://github.com/alectrocute/dario-and-amanda-prompt/blob/main/outputs.md
1•arm32•3m ago•1 comments

Snapcompact: SoTA compaction – instant, local, free. Pick 3

https://stencil.so/blog/snapcompact
1•mji•4m ago•0 comments

The One That Says IT All

https://liljrxsoverign.substack.com/
1•liljr20•7m ago•0 comments

Bearded Vulture

https://en.wikipedia.org/wiki/Bearded_vulture
1•petethomas•10m ago•0 comments

Show HN: Open source React Native debugging studio

https://www.nativescope.dev
2•guigg•11m ago•1 comments

Why bowling alleys are replacing pins with strings [video]

https://www.youtube.com/watch?v=vhjp--rA9ho
1•hydrox24•11m ago•0 comments

Flint: A Visualization Language for the AI Era

https://microsoft.github.io/flint-chart/
1•vinhnx•11m ago•0 comments

Firefox Local Mode for Web Developers

https://firefox-source-docs.mozilla.org/devtools-user/local_mode/index.html
2•csmantle•16m ago•0 comments

Leopold Aschenbrenner built a $45B AI hedge fund – and lost most of it in days

https://www.cnbc.com/2026/07/31/leopold-aschenbrenner-situational-awareness-fund-fire-sale.html
1•gilfoyle_7•17m ago•0 comments

Abora OS – A NixOS based distro

https://www.aboraos.org/
1•gallon-poem•23m ago•0 comments

I Work at Micro-Center (1985) [video]

https://www.youtube.com/watch?v=0ywbd76wVtk
1•doublepg23•25m ago•1 comments

Snapchat joins other popular platforms in fight against 'AI slop'

https://www.bbc.com/news/articles/c77g6dm5pr8o
1•vinni2•40m ago•0 comments

How Did America Get Its Name? (2016)

https://blogs.loc.gov/loc/2016/07/how-did-america-get-its-name/
1•thunderbong•47m ago•0 comments

Show HN: Random OS I made using C

https://github.com/NoTheIdiot/WindogeOS
2•notheidiot•54m ago•1 comments

Show HN: I built a Python obfuscator that keeps production traces debuggable

https://github.com/zhurong2020/pyobfus
1•znhskzj•55m ago•1 comments

Upgraded melly, our agent on sleek

1•silisleek•56m ago•0 comments

Google is actively hiring someone to save the world from AGI/ASI

https://www.google.com/about/careers/applications/jobs/results/95635593379095238
5•arm32•1h ago•1 comments

The Math Superstar Who's Terrified of AI–and Just Took a Job at OpenAI

https://www.wsj.com/tech/ai/openai-jacob-tsimerman-fields-medal-ai-safety-391d0f79
3•berkeleyjunk•1h ago•0 comments

Protecting the Nation's Communications Systems from Cybersecurity Threats

https://www.federalregister.gov/documents/2026/07/31/2026-15601/modernization-of-the-nations-aler...
1•Jimmc414•1h ago•0 comments

De mora luminis: Roemer's discovery 350 years later

https://arxiv.org/abs/2607.28512
1•Jimmc414•1h ago•0 comments

What's in a Name: A Guide to the Many Flavours of TeX

https://www.overleaf.com/learn/latex/Articles/What%27s_in_a_Name%3A_A_Guide_to_the_Many_Flavours_...
1•smitty1e•1h ago•0 comments

Accepting a Messy Git History

https://beza1e1.tuxen.de/git_two_users.html
1•matheusmoreira•1h ago•0 comments

SF-schema-snapshot – dump a Salesforce org's schema to SQLite

https://github.com/MogwaiNerfHerder/sf-schema-snapshot
1•DavidRussellCG•1h ago•0 comments

Show HN: Sanitizer – Strip sensitive data from documents locally before an LLM

https://provexar.ai/sanitizer
1•MVKozyrev•1h ago•0 comments

What's Happening with IT Hiring?

1•hannibalevit•1h ago•1 comments

Cdbx – an AI coding IDE where you can bring your own API key and own the code

https://cdbx.ai/
1•chbutler•1h ago•0 comments

Show HN: WhisperKeys - Offline macOS dictation, key-by-key

https://github.com/j-sofia/WhisperKeys
1•j-sofia•1h ago•1 comments

A Week in Matrix

https://piegames.de/dumps/a-week-in-matrix/
1•Kesseki•1h ago•0 comments

Tell HN: System76 has critical firmware issues unresolved for over 3 years

2•jaime-ez•1h ago•0 comments