frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Why Conversion Is a System Design Problem

https://medium.com/system-weakness/why-conversion-is-a-system-design-problem-31ad6b65952b
1•antonmb•2m ago•0 comments

Smart Color Replacer with HSV tolerance and edge snapping

https://irrationaltools.com/color-replacer/
1•piyush_soni•3m ago•1 comments

The Integral of Life

https://atmankalena.substack.com/p/the-integral-of-life
1•Trifectorium•6m ago•0 comments

Show HN: Lighthouse – Autonomous AI research exploring conditions for being-ness

https://lighthouse-lake.vercel.app
1•lighthouse1212•13m ago•0 comments

Ask HN: Do you think college is/was worth it?

2•hallole•14m ago•1 comments

Show HN: Commit Tracker – RSS feeds for GitHub commits

https://www.committracker.com
1•noloman•15m ago•0 comments

Ask HN: Why is iOS "Find on Page" and other options hidden under "Share" button?

1•sarmike31•15m ago•0 comments

Show HN: On the edge of Apple Silicon memory speeds

https://github.com/timoheimonen/macOS-memory-benchmark
4•user_timo•21m ago•0 comments

Judge orders Anna's Archive to delete scraped data from WorldCat

https://arstechnica.com/tech-policy/2026/01/judge-orders-annas-archive-to-delete-scraped-data-no-...
3•-0•21m ago•0 comments

Iran plans permanent break from global internet, say activists

https://www.theguardian.com/world/2026/jan/17/iran-plans-permanent-break-from-global-internet-say...
5•pr337h4m•29m ago•2 comments

Show HN: A smart camera that detects eye movements during REM sleep

https://github.com/lucidcode/Halovision-INSPEC
3•MichaelCoder•32m ago•0 comments

The Misogyny Myth

https://www.city-journal.org/article/the-misogyny-myth
3•mpweiher•33m ago•1 comments

Every data centre is a U.S. military base

https://www.policyalternatives.ca/news-research/every-data-centre-is-a-u-s-military-base/
3•HotGarbage•35m ago•0 comments

An Agent for Acme

https://blazelight.dev/blog/plan9-agent.mdx
2•theblazehen•38m ago•0 comments

A faceless hacker stole my therapy notes – my deepest secrets are online forever

https://www.bbc.co.uk/news/articles/c62nzxqw45eo
4•mellosouls•38m ago•0 comments

Best AI Training Platforms of 2026: Ranked and Reviewed

https://aitrainer.work/guides/best-ai-training-platforms-reviewed
3•xceladonx•47m ago•0 comments

Mastra

https://mastra.ai/
1•blufish•47m ago•1 comments

IN Memory of Professor Emeritus Benedict Gross

https://www.math.harvard.edu/in-memory-of-professor-emeritus-benedict-gross/
1•tzury•49m ago•0 comments

AeroSpace is an i3-like tiling window manager for macOS

https://github.com/nikitabobko/AeroSpace
1•y1n0•49m ago•0 comments

The 'untouchable hacker god' behind Finland's biggest ever crime

https://www.theguardian.com/technology/2026/jan/17/vastaamo-hack-finland-therapy-notes
9•c420•49m ago•3 comments

Escape from Woomera

https://en.wikipedia.org/wiki/Escape_from_Woomera
3•viraptor•50m ago•0 comments

AI Contribution Policy

https://www.graphite.art/volunteer/guide/starting-a-task/ai-contribution-policy/
1•jruohonen•52m ago•0 comments

Kip: A programming language based on grammatical cases of Turkish

https://github.com/joom/kip
1•todsacerdoti•53m ago•0 comments

L-Systems: an exploration in Swift [video]

https://vimeo.com/1155453426
1•Austin_Conlon•56m ago•0 comments

AI friend- Brought to you by your friendly neighborhood mega corporation

https://gpt3experiments.substack.com/p/your-ai-friend-brought-to-you-by
1•nutanc•57m ago•1 comments

Ask HN: Should Developers Shift from Coding to Architecture in the LLM Era?

3•danver0•1h ago•4 comments

Meta delays international launch of Ray-Ban Display due to U.S. demand surge

https://techfusiondaily.com/meta-delays-ray-ban-display-international-launch-us-demand-surge/
2•nelkazzu•1h ago•0 comments

25 Years of Wikipedia

https://wikipedia25.org/en/
1•atulatul•1h ago•1 comments

Everything Is a Ralph Loop

https://ghuntley.com/loop/
1•ghuntley•1h ago•0 comments

Little red dots as young supermassive black holes in dense ionized cocoons [pdf]

https://www.nature.com/articles/s41586-025-09900-4
3•thunderbong•1h ago•0 comments