frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Ask HN: I've started using Coolify, any recommendations?

1•beratbozkurt0•1m ago•0 comments

West Virginia sues Apple over child sex abuse material stored on iCloud

https://www.theguardian.com/technology/2026/feb/19/west-virginia-apple-child-sex-abuse-material
1•Noaidi•1m ago•0 comments

Panther – a scripting language designed for cybersecurity workflows

1•CzaxTanmay•1m ago•0 comments

Bisq Decentralized Bitcoin

https://bisq.wiki/Main_Page
1•RyanShook•7m ago•0 comments

Show HN: Virtual Protest Protocol – Scaling activism via 50-person cells

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
1•sakanakana00•9m ago•0 comments

Run Claude in a Podman Container

https://github.com/farbenmeer/ai-pod
2•ruduhudi•11m ago•1 comments

Harness engineering: leveraging Codex in an agent-first world

https://openai.com/index/harness-engineering/
2•zX41ZdbW•11m ago•0 comments

Show HN: I built a tool to send ArXiv papers to Kindle unharmed

https://pdfling.com/
1•rasmus1610•11m ago•1 comments

Show HN: Snap n Eat – a food tracker using AI and chatbot

https://play.google.com/store/apps/details?id=com.snapneat.ai&hl=en_US
1•christopher8827•12m ago•0 comments

The Museum of Abandoned Ideas

https://k2xl.substack.com/p/the-museum-of-abandoned-ideas
2•k2xl•15m ago•0 comments

Show HN: Graph-Based Firebase Alternative with Real-Time Sync

https://linkedrecords.com/
1•WolfOliver•16m ago•0 comments

The original proposal of the WWW, HTMLized

https://www.w3.org/History/1989/proposal.html
1•embedding-shape•17m ago•0 comments

Half of Jury Pool in Musk Trial Tossed After 'So Many' Said They 'Hate' Him

https://www.mediaite.com/lawcrime/almost-half-of-jury-pool-in-musk-trial-tossed-after-so-many-sai...
5•Betelbuddy•18m ago•1 comments

Chris Lattner: Claude C Compiler

https://www.modular.com/blog/the-claude-c-compiler-what-it-reveals-about-the-future-of-software
1•de_aztec•18m ago•0 comments

China is running the EV playbook on humanoid robots – and it's working

https://restofworld.org/2026/china-humanoid-robots-unitree-agibot-tesla-optimus/
2•Brajeshwar•20m ago•0 comments

Snake Game as a C Program Compiled into Each Frame

https://www.youtube.com/watch?v=gvF7rWfcFD8
1•birdculture•21m ago•0 comments

Accenture tells staffers: If you want a promotion, use AI at work

https://www.theregister.com/2026/02/20/accenture_tells_staffers_want_promotion/
1•Brajeshwar•21m ago•0 comments

Show HN: MarketInsights – Your on-demand market research analyst

https://marketinsights.app/
1•bel_hajo•22m ago•0 comments

I built a tool that tells you NOT to build your startup idea – DontBuild.It

https://dontbuild.it/
2•dragonman•22m ago•0 comments

A Comprehensive Analysis of Hazardous Additives in Headphones

https://arnika.org/en/publications/the-sound-of-contamination
2•latexr•24m ago•0 comments

Keeping Google Play and Android app ecosystems safe in 2025

https://security.googleblog.com/2026/02/keeping-google-play-android-app-ecosystem-safe-2025.html
1•e145bc455f1•29m ago•0 comments

Show HN: Wordy – Learn languages from real movie and TV clips with quizzes

https://wordy.info/
1•sandorb•30m ago•0 comments

Reliable UIs Even with Language Models

https://cased.com/blog/2025-12-17-interfaces-not-intelligence/
1•tosh•32m ago•0 comments

Show HN: CodeLayers – See your codebase's dependency layers in 3D

https://codelayers.ai
2•lnguyen11288•33m ago•0 comments

Show HN: Elecxzy – A lightweight, Lisp-free Emacs-like editor in Electron

https://github.com/kurouna/elecxzy
2•kurouna•34m ago•1 comments

Hold on to Your Hardware

https://xn--gckvb8fzb.com/hold-on-to-your-hardware/
1•pchm•35m ago•0 comments

Firefox removes the support for Windows 7 users

https://support.mozilla.org/en-US/kb/firefox-users-windows-7-8-and-81-moving-extended-support
1•eimrine•40m ago•1 comments

How KIP-881 and KIP-392 Reduce Inter-AZ Networking Costs in Classic Kafka

https://getkafkanated.substack.com/p/how-kip-881-and-kip-392-reduce-inter
1•enether•40m ago•0 comments

Ask HN: What (other) jobs do you think of doing?

1•penguin_booze•40m ago•1 comments

Ports and Adapters (2005)

https://alistair.cockburn.us/hexagonal-architecture
1•jwpapi•41m ago•0 comments