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!

When Optimization Replaces Knowing

https://www.aivojournal.org/when-optimization-replaces-knowing/
1•businessmate•39s ago•1 comments

Trump declares: 'I no longer feel obliged to think purely of peace' in letter

https://www.gbnews.com/politics/us/donald-trump-greenland-norway-nobel-peace-prize
1•mikaelmello•4m ago•0 comments

Ask HN: How are you handling Vibe coding and Maintenance?

1•colesantiago•5m ago•1 comments

OpenAPI Generator CLI

https://github.com/OpenAPITools/openapi-generator-cli
2•mfbx9da4•13m ago•0 comments

Rising SoC 2 Compliance Signals Growing Security Expectations Across USA

1•rnkseo•13m ago•0 comments

Tesla Patent Don't multiply, add. It saves time and energy

1•daly•15m ago•1 comments

Complete Claude Code configuration: agents skills hooks commands rules MCPs

https://github.com/affaan-m/everything-claude-code
1•bzGoRust•15m ago•0 comments

Too Helpful to Be Safe: User-Mediated Attacks on Planning and Web-Use Agents

https://arxiv.org/abs/2601.10758
1•7777777phil•17m ago•0 comments

An Inauspicious Start for Bari Weiss at CBS News

https://www.nationalreview.com/2026/01/an-inauspicious-start-for-bari-weiss-at-cbs/
1•petethomas•17m ago•0 comments

Why My Friends Should Not Work in Fucking Consulting

https://twitter.com/samthebaam/status/2012587954296819757
1•samthebaam•17m ago•0 comments

Transparent Startup Experiment – Help 100 People Turn Ideas into Products

https://t9t.io/blog/en/0
1•timqian•18m ago•0 comments

XAI Colossus datacentre is using illegal, cancer-causing generators

https://www.theguardian.com/technology/2026/jan/15/elon-musk-xai-datacenter-memphis
2•soundworlds•18m ago•1 comments

Concerned about safety in your community and beyond?

https://icemap.app
2•cranberryturkey•21m ago•1 comments

Show HN: G0 – Detect LLM hallucinations with a 3-criterion grounding metric

https://huggingface.co/spaces/aphoticshaman/g0-detector
1•benthicshadow•22m ago•0 comments

Deadly sins of software engineers productivity

https://strategizeyourcareer.com/p/the-7-deadly-sins-of-software-engineers-productivity
2•birdculture•24m ago•0 comments

We Stopped CI, Abandoned Code Review, and Embraced AI Pair Programming

https://www.arcblock.io/blog/en/first-principles-of-ai-native-engineering
1•robmao•26m ago•1 comments

Show HN: AskUCP – UCP protocol explorer showing all products on Shopify

https://askucp.com/
1•possiblelion•27m ago•0 comments

ARIA accessible text transcripts of Dilbert comics from 1989 to 2023

https://github.com/jvarn/dilbert-archive
1•rcarmo•27m ago•0 comments

Twelfth LangSec Workshop

https://langsec.org/spw26/
1•transpute•29m ago•0 comments

Stop Bloating Your Claude.md: Progressive Disclosure for AI Coding Tools

https://alexop.dev/posts/stop-bloating-your-claude-md-progressive-disclosure-ai-coding-tools/
1•m-hodges•30m ago•0 comments

I Stored a Banana image within the Wikipedia edit history

https://github.com/MadAvidCoder/Bananapedia
2•MadAvidCoder•31m ago•3 comments

Radboud University selects Fairphone as standard smartphone for employees

https://www.ru.nl/en/staff/news/radboud-university-selects-fairphone-as-standard-smartphone-for-e...
1•ardentsword•33m ago•0 comments

MTOTP: Wouldn't it be nice if you were the 2FA device?

https://github.com/VBranimir/mTOTP/tree/develop
25•brna-2•34m ago•11 comments

Show HN: RouterLab – open-source AI API with Swiss hosting

https://routerlab.ch
1•ScioNos•35m ago•0 comments

European alternatives to tech brands: Add yours

https://www.uniqkey.eu
1•utsavchopra•40m ago•3 comments

Thoughts and Observations Regarding Apple Creator Studio

https://daringfireball.net/2026/01/thoughts_and_observations_regarding_apple_creator_studio
2•tambourine_man•40m ago•0 comments

Reading and Writing JFR Files Programmatically

https://mostlynerdless.de/blog/2026/01/19/reading-and-writing-jfr-files-programmatically/
1•mfiguiere•42m ago•0 comments

Icebreakers in the Arctic: An Overlooked Environmental Concern

https://steadystate.org/icebreakers-in-the-arctic-an-overlooked-environmental-concern/
1•onearth•44m ago•0 comments

Buona fine e buon principio – CinEmanuele #16

https://cinemanuele.substack.com/p/buona-fine-e-buon-principio-cinemanuele
1•grouchoromano•45m ago•0 comments

Developer patches Wine to make Photoshop 2021 and 2025 run on Linux

https://www.tomshardware.com/software/linux/developer-patches-wine-to-make-photoshop-2021-and-202...
3•tambourine_man•46m ago•0 comments