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!

A 2.5x faster Postgres parser with Claude Code

https://multigres.com/blog/ai-parser-engineering
1•kiwicopple•1m ago•0 comments

The age of a treacherous, falling dollar

https://www.economist.com/leaders/2026/02/05/the-age-of-a-treacherous-falling-dollar
1•petethomas•1m ago•0 comments

The End of Human Relationships

https://www.hackyexperiments.com/blog/the-end-of-human-relationships
2•bilater•1m ago•0 comments

I built a digital safe with multiple keys after a few too many bike concussions

https://eljojo.github.io/rememory/
1•eljojo•1m ago•1 comments

The Assault on Ukraine's Power Grid

https://www.newyorker.com/news/the-lede/the-assault-on-ukraines-power-grid
2•petethomas•2m ago•0 comments

Where Drupal Still Wins in 2026?

https://kokocinski.me/blog/where-drupal-still-wins-2026
2•firflant•3m ago•0 comments

Tesla likely can't escape 'Blade Runner 2049' lawsuit

https://www.reuters.com/legal/litigation/tesla-musk-likely-cant-escape-blade-runner-2049-lawsuit-...
1•jmkd•4m ago•0 comments

A tale of three kings (Python, Elixir, Go) (2017)

https://medium.com/@marcelo_lebre/a-tale-of-three-kings-e0be17a16e2b
2•tosh•5m ago•0 comments

Don't Look Behind the Curtains

https://rodyne.com/?p=3574
1•boznz•9m ago•0 comments

Show HN: Ironpad – Local-first project management with Git versioning

https://github.com/OlaProeis/ironPad
1•OlaProis•10m ago•0 comments

Irony alert: Anthropic helps UK.gov to build chatbot for job seekers

https://www.theregister.com/2026/01/29/irony_alert_anthropic_helps_ukgov/
1•myk-e•11m ago•0 comments

Consider F# (2024)

https://www.asfaload.com/blog/consider-fsharp/
1•tosh•17m ago•0 comments

The times Yann LeCun has been wrong about LLMs

https://old.reddit.com/r/LovingAI/comments/1qvgc98/yann_lecun_says_basing_agentic_systems_on_the/...
2•aurareturn•18m ago•0 comments

Crazy shit linkers do: Common Data (COMDAT) sections

https://fzakaria.com/2026/02/03/crazy-shit-linkers-do-common-data-comdat-sections
1•ingve•21m ago•0 comments

Ask HN: Resources on how and why these LLM's work

1•jaapz•23m ago•0 comments

Competence as Tragedy

https://crowprose.com/blog/competence-as-tragedy/
1•ahamez•24m ago•0 comments

Unleash endless fun with Baent Games

https://t5.baent.top/
1•LinkLens•26m ago•1 comments

HarfBuzz at 20

https://docs.google.com/presentation/d/1o9Exz1c-Lr-dJjA8dcBn_Vl_Y37cupmFzmclMjBE_Bc/view
1•behdad•26m ago•1 comments

Find the lowest prices on prescription drugs

https://trumprx.gov/
1•alexanderklein•31m ago•1 comments

New in /experimental mode in Copilot CLI: "Fleets"

https://twitter.com/_Evan_Boyle/status/2019497961777172488
1•mparramon•32m ago•0 comments

System Initiative Shutting Down

https://www.systeminit.com/
2•mikidi•32m ago•0 comments

Elon's tech tree is converging

https://www.youtube.com/watch?v=BYXbuik3dgA
1•MrBuddyCasino•34m ago•0 comments

From Roots to Reach: Network Resilience in Natural Disasters

https://blog.apnic.net/2026/02/06/from-roots-to-reach-network-resilience-in-natural-disasters/
1•jruohonen•35m ago•0 comments

Gokin: Go-Native CLI for AI-Assisted Coding with Gemini, DeepSeek, GLM, Ollama

https://github.com/ginkida/gokin
1•ginkida•35m ago•1 comments

Macau's Grand Emperor hotel rips up lobby floor to sell off gold bricks

https://www.theguardian.com/world/2026/feb/06/macau-grand-emperor-hotel-lobby-gold-bricks
1•c420•36m ago•0 comments

I used Gemini to build an all-in-one Chrome extension, and uninstalled 10 others

https://chromewebstore.google.com/detail/fireai-all-in-one-ai-assi/jgpmkbgjngmhibgebdbekognpdoagoag
1•icefunc•37m ago•0 comments

Is C-rating marketing, or does it still matter for LiPo packs?

1•nicole_chen•37m ago•1 comments

Show HN: TurboLibBMP 0.1.1 – single-header BMP in C (no allocations, embedded)

1•DenisDolya•39m ago•0 comments

Serenity Prayer

https://en.wikipedia.org/wiki/Serenity_Prayer
1•baxtr•39m ago•0 comments

Jeffrey Epstein Interview [video]

https://www.youtube.com/watch?v=oIEYmflX090
3•max_•40m ago•1 comments