frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•9mo 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!

Utilities May Be Wildly Overestimating the AI Boom–At Public Expense

https://www.motherjones.com/politics/2026/02/utilities-overestimating-ai-boom-data-centers-fossil...
1•cdrnsf•2m ago•0 comments

Turning Our Back on Clean Energy

https://paulkrugman.substack.com/p/turning-our-back-on-clean-energy
1•rbanffy•2m ago•0 comments

Stop Writing Dead Programs (Strange Loop 2022)

https://jackrusher.com/strange-loop-2022/
1•tosh•3m ago•0 comments

Stop typing, start talking: How voice dictation changed my workflow

https://www.eliostruyf.com/stop-typing-start-talking/
1•estruyf•3m ago•0 comments

Show HN: I analyzed 1.3M federal cases for racial sentencing bias

https://www.samecrimedifferenttime.org
1•justiceindex•5m ago•0 comments

Rampant AI Demand for Memory Is Fueling a Growing Chip Crisis

https://www.bloomberg.com/news/articles/2026-02-15/rampant-ai-demand-for-memory-is-fueling-a-grow...
3•wslh•7m ago•1 comments

Ethical Alternative to Grok's AI Video – Recommendations?

1•ReeceWithafork•7m ago•0 comments

NotebookLM Web Clipper

https://chromewebstore.google.com/detail/notebooklm-web-clipper/bljffdbfmndbbjilgijgaefligllekhj
1•sparkalpha•7m ago•0 comments

What happened to Keyvalue.com? (edit don't know why it became keyvalue.systems)

https://www.keyvalue.systems
1•qwertytyyuu•9m ago•1 comments

A novel way to build quantum computer [video]

https://www.youtube.com/watch?v=rbxcd9gaims
1•Abhaykumar•10m ago•0 comments

Ask HN: Any mechanism to build for AI-only services to filter off human?

1•socrateslee•10m ago•0 comments

Diagnostics Factory

https://matklad.github.io/2026/02/16/diagnostics-factory.html
2•ingve•11m ago•0 comments

The Move Faster Manifesto

https://brianguthrie.com/p/the-move-faster-manifesto/
2•fagnerbrack•11m ago•1 comments

Show HN: Stock Sentiment API with Python

https://pypi.org/project/social-stock-sentiment/
1•Adanos•13m ago•0 comments

Thanks a lot, AI: Hard drives are sold out for the year, says WD

https://mashable.com/article/ai-hard-drive-hdd-shortages-western-digital-sold-out
5•dClauzel•13m ago•1 comments

Show HN: KanVibe – Kanban board that auto-tracks AI agents via hooks

https://github.com/rookedsysc/kanvibe
1•rookedsysc•14m ago•0 comments

BeatFlow: Text-to-MIDI generator that plans full song structure

https://github.com/the0cp/beatflow
1•vaergaf•14m ago•0 comments

Never mind cod, it's tilapia and chips please

https://www.bbc.com/news/articles/c70n4l167l6o
1•teleforce•14m ago•0 comments

Show HN: A note-taking app where notes connect themselves

https://www.resonote.ai/
1•yamatokaneko•15m ago•0 comments

Show HN: Rakenne – Markdown-defined agentic workflows for structured documents

https://rakenne.app
1•rnc000•15m ago•0 comments

Beta Testing for RegTech Beta

1•igor-franko•16m ago•0 comments

The Speed of Building Has Outpaced the Thinking Part

https://www.eliostruyf.com/killing-indie-development-with-ai/
1•estruyf•17m ago•1 comments

Show HN: Claude Rate Widget Native macOS Widget to Monitor Claude Code Limits

https://github.com/hulryung/cc-rate-widget
1•hulryung•18m ago•0 comments

Biggest Breakthroughs in Computer Science [video]

https://www.youtube.com/watch?v=DFwppvrL_pE
1•jonbaer•18m ago•0 comments

Harmonic embeddings beat random init and work frozen – no tokenizer needed

https://github.com/atech-hub/Wave-Coherence-as-a-Computational-Primitive
1•atech-77•21m ago•1 comments

Show HN: SkillDeck – macOS app to manage skills across multiple AI agents

https://github.com/crossoverJie/SkillDeck
1•crossoverjie•21m ago•0 comments

How to talk to any GitHub repo

https://www.theaithinker.com/p/how-to-talk-to-any-github-repo
1•faikadam•22m ago•0 comments

Chrome broke my client's web app

https://www.codingwithjesse.com/blog/chrome-broke-my-clients-web-app/
2•CodingWithJesse•22m ago•0 comments

ByteDance to add safeguards to Seedance 2.0 following Hollywood backlash

https://www.cnbc.com/2026/02/16/bytedance-safegaurds-seedance-ai-copyright-disney-mpa-netflix-par...
1•hexage1814•24m ago•1 comments

A terminal puzzle game: falling blocks that turn into sand

https://github.com/Mjoyufull/Setrixtui
1•tosbourn•26m ago•0 comments