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!

SETI@home: UC Berkeley scientists are homing in on 100 signals they found

https://news.berkeley.edu/2026/01/12/for-21-years-enthusiasts-used-their-home-computers-to-search...
1•1659447091•1m ago•0 comments

Saving 675 Engineering Hours a Month Using an AI Slack On-Call Agent

https://www.wix.engineering/post/when-ai-becomes-your-on-call-teammate-inside-wix-s-airbot-that-s...
1•yardenw•6m ago•0 comments

Test 8 hour work simulation

1•magentamountain•6m ago•0 comments

Python: Tprof, a Targeting Profiler

https://adamj.eu/tech/2026/01/14/python-introducing-tprof/
1•jonatron•7m ago•0 comments

Microfeatures I Love in Blogs and Personal Websites

https://danilafe.com/blog/blog_microfeatures/
2•alexharri•9m ago•0 comments

Show HN: Aeph – A minimal TUI Markdown editor with task management

https://github.com/siki-712/aeph
1•ovonvo•9m ago•0 comments

Dataframe Jan 2026 updates: db, torch interop, parquet fixes, perf improvements

https://discourse.haskell.org/t/dataframe-january-2026-updates/13512
1•internet_points•12m ago•0 comments

Show HN: I built DubaiWoofs for those moving to Dubai with Dogs

https://dubaiwoofs.com/
1•shraddha92•12m ago•0 comments

Ken Thompson's Real-Time Code Rewrite: Why No One Knows James D. Johnston?

https://substack.com/home/post/p-184599371
1•birdculture•13m ago•0 comments

Trump tests the First Amendment: A timeline

https://www.cnn.com/politics/free-speech-trump-timeline-vis
3•1659447091•14m ago•1 comments

The Last Intellectual

https://www.nplusonemag.com/online-only/online-only/the-last-intellectual/
1•samclemens•16m ago•0 comments

Ask HN: Any real prompt injections in the wild?

2•singularity2001•17m ago•0 comments

TEE.fail: Breaking Tees via DDR5 Memory Bus Interposition

https://tee.fail
2•internet_points•17m ago•1 comments

Building a Real PDF Editor with Replit – A True Case

https://navi.tools/blog/building-a-online-pdf-editor-with-replit-ai-agent
1•zack119•18m ago•0 comments

My Gripes with Prolog

https://buttondown.com/hillelwayne/archive/my-gripes-with-prolog/
1•RebelPotato•20m ago•0 comments

The Golden Thread

https://roe.dev/blog/the-golden-thread
1•Andugal•20m ago•0 comments

Grok was finally updated to stop undressing women and children, X Safety says

https://arstechnica.com/tech-policy/2026/01/musk-still-defending-groks-partial-nudes-as-californi...
3•ndsipa_pomu•28m ago•0 comments

Opening the AWS European Sovereign Cloud

https://aws.amazon.com/blogs/aws/opening-the-aws-european-sovereign-cloud/
2•nickcotter•30m ago•0 comments

Ravers are swapping dancefloors for chessboards

https://www.huckmag.com/article/ravers-swapping-dancefloors-chess-boards-pieces-knight-sober-club...
1•mellosouls•30m ago•0 comments

Nature vs Golang: Performance Benchmarking

https://nature-lang.org/news/20260115
1•weiwenhao•37m ago•1 comments

The shameful defenestration of Tim [Peters]

https://chrismcdonough.substack.com/p/the-shameful-defenestration-of-tim
1•fabatka•37m ago•0 comments

Use reference documentation tools with AI agents

https://www.stromcapital.fi/blog/reference-documentation-tools
1•ronistrom•40m ago•0 comments

US tech giants allying with European far-right to strip back EU rules

https://www.brusselstimes.com/1916422/us-tech-giants-allying-with-european-far-right-to-strip-bac...
1•saubeidl•43m ago•0 comments

Q.ANT Second-Generation Photonic Processor to Power the Next Wave of AI and HPC

https://qant.com/press-releases/q-ant-unveils-its-second-generation-photonic-processor-to-power-t...
1•cgeier•44m ago•0 comments

Raspberry Pi's New AI Hat Adds 8GB of RAM for Local LLMs

https://www.jeffgeerling.com/blog/2026/raspberry-pi-ai-hat-2/
21•ingve•45m ago•9 comments

Free Online Calculators

https://freeonlinecal.com
1•eashish93•47m ago•1 comments

Laravel Livewire

https://livewire.laravel.com/
1•MarcellusDrum•48m ago•0 comments

Show HN: Win-link-router – route tel: links to WhatsApp (Windows)

https://github.com/karmaniverous/win-link-router
1•karmaniverous•51m ago•1 comments

OpenAI Partners with Cerebras

https://openai.com/index/cerebras-partnership/
1•rcarmo•51m ago•0 comments

Richard Linklater's love letter to the New Wave

https://observer.co.uk/culture/film/article/richard-linklaters-love-letter-to-the-new-wave
2•tintinnabula•52m ago•0 comments