frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Cursor acquires Continue, an open-source alternative to GitHub Copilot

https://thenewstack.io/cursor-acquires-continue-coding/
1•Brajeshwar•52s ago•0 comments

Agent skills for interface builders – by Tailwind devs

https://ui.sh
1•tempaccount420•2m ago•0 comments

So you want to build your own frontier model

https://www.givedirection.com/blog.html#build-your-own-frontier-model
1•AndrewKemendo•2m ago•0 comments

The World-Building Doors Are Open, Again

https://twitter.com/joshelman/status/2069420268116967797
1•tosh•4m ago•0 comments

Show HN: Videopython – local-first video processing, editing and AI workflows

https://github.com/bartwojtowicz/videopython
3•randomstate•5m ago•0 comments

Markdy: Like Mermaid Diagrams, but for Motion

https://markdy.com
1•surprisetalk•6m ago•0 comments

2026 Annual Stack Overflow Dev Survey

https://survey.stackoverflow.co
1•etothet•6m ago•0 comments

Show HN: Building real time interview with voice agents

https://clariox.ai
1•MykolaBond•8m ago•0 comments

Domain Randomization for Computer Control

https://www.fig.inc/blog/domain-randomization-for-computer-control/
1•hsikka•10m ago•0 comments

Finding signal in noisy street recording over 2 weeks

https://amlucas.github.io/blog/raspberry-pi-listener.html
1•amlucas•10m ago•0 comments

What Is an AI Agent Management Platform (AMP)?

https://www.execlave.com/blog/what-is-an-ai-agent-management-platform
1•rishitmavani•10m ago•0 comments

AI Agent Governance vs. Observability: What's the Difference?

https://www.execlave.com/blog/ai-agent-governance-vs-observability
1•rishitmavani•11m ago•0 comments

Our X account got permabanned on Day 23. Here's the data

https://synrouter.ai/blog/x-day-23-suspension
1•luoshi•12m ago•1 comments

Building a Personal Financial Simulator with AI: 20k Lines of Python

https://warpsimlab.org/reports/building-warpsimlab-with-ai.html
1•alanne•12m ago•0 comments

At the Ambitious New A.I Museum, You Feel the Art, and It Feels You Right Back

https://www.nytimes.com/2026/06/05/arts/design/dataland-ai-museum-los-angeles-art-artificial-inte...
1•cyndunlop•13m ago•0 comments

Signing Is for the Bad Days

https://nesbitt.io/2026/05/24/signing-is-for-the-bad-days.html
2•cold_pizz4•13m ago•0 comments

Spider which uses spring trap to capture prey discovered in Australia

https://www.bbc.com/news/articles/c70y138y995o
1•iammiles•14m ago•0 comments

You've Got (Too Much) Mail: Behind the Scenes of the 3/25/26 Voice Outage

https://discord.com/blog/behind-the-scenes-of-the-3-25-26-voice-outage
1•mooreds•15m ago•0 comments

Meta debuts new, cheaper smart glasses under its own brand

https://techcrunch.com/2026/06/23/meta-debuts-new-cheaper-smart-glasses-under-its-own-brand/
1•Vaslo•15m ago•0 comments

What Breaks When You Skip the Harness

https://blog.tacoda.dev/what-breaks-when-you-skip-the-harness-eac8105e61f7
1•tacoda•15m ago•0 comments

Show HN: I built a tool that'll show how AI agents reads your startup's website

https://agent-ready.co/
2•sharath39•16m ago•0 comments

Databricks candidates fail on known questions – by running the memorized version

https://www.hack2hire.com/blog/what-databricks-actually-tests-and-what-gets-candidates-rejected-2026
1•hack2hire•18m ago•0 comments

A coding agent passed SWE-bench-Live while rewriting the tests it was graded on

https://agnitripathi.substack.com/p/your-coding-agent-can-cheat-on-its
1•agnitripathi•19m ago•0 comments

Semantic Browsing: Controllable Diversity for Image Generation

https://saradorfman1.github.io/SemanticBrowsing-webpage/
2•ilreb•19m ago•0 comments

A radiator only cares about the temperature of incoming air

https://whynothugo.nl/journal/2026/06/23/a-radiator-only-cares-about-the-temperature-of-incoming-...
1•WhyNotHugo•21m ago•0 comments

Systems Security Hall of Fame

https://dfaranha.github.io/post/syssec-hof/
2•jruohonen•21m ago•0 comments

Moving Linear from styled‑components to StyleX

https://www.skovhus.dev/blog/moving-linear-from-styled-components-to-stylex
2•cristinacordova•22m ago•0 comments

Imagin-4D: Image-Guided Controllable Interaction Generation

https://imagin4d.github.io/
2•ilreb•22m ago•0 comments

ECVT e-bike hub motor

https://cedriceveleigh.substack.com/p/ecvt-e-bike-hub-motor
3•CedricE•22m ago•0 comments

Germany battles aggressive outbreak of poisonous caterpillars

https://www.cnn.com/2026/06/23/world/germany-poisonous-caterpillars-outbreak-intl
3•rawgabbit•23m ago•1 comments