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!

Show HN: Keen, the Key Evidence Engine (Open Source ISMS/GRC Tool)

https://keen.cloud
1•_mig5•4m ago•0 comments

Full water bottles may soon pass US airport security

https://www.executivetraveller.com/tsa-precheck-full-water-bottles
1•motionlessveloc•7m ago•0 comments

Google CEO promises to review Gemini-related Google account bans

https://twitter.com/sundarpichai/status/2127253022636130380
2•cft•10m ago•0 comments

Ask HN: What would you do at your company if RSA rumor comes out true?

1•gouterz•10m ago•0 comments

Rocket, an Indian rival to Lovable and Replit, is shutting down

https://techcrunch.com/2026/11/29/rocket-an-indian-rival-to-lovable-and-replit-is-shutting-down/
1•nlpnerd•14m ago•0 comments

Refurb weekend: Silicon Graphics Fuel times two

http://oldvcr.blogspot.com/2026/11/refurb-weekend-silicon-graphics-fuel.html
2•todsacerdoti•15m ago•0 comments

Re-Skilling rather than De-Skilling [video]

https://www.youtube.com/watch?v=MuJ4iDO9v7w
1•todsacerdoti•15m ago•0 comments

I built a open source firewall for AI agents because prompts aren't security

https://quaspar.com/technologies/charavyuha
1•Banchala•19m ago•0 comments

Drones 'Swarmed' US Army Base at RAF Lakenheath in Suffolk in November

https://www.theguardian.com/uk-news/2026/nov/28/drones-us-army-base-raf-lakenheath-suffolk-november
1•cisc•19m ago•0 comments

TypeFlow – Your AI-Powered Keyboard and Writing Assistant

https://apps.apple.com/in/app/typeflow-ai-keyboard-writer/id6478379763
1•cheatcodeforgta•22m ago•1 comments

OpenAI's named replacements for GPT-5 and a function tool on Chat Completions

https://vessels.newrealitylabs.com/retirements/gpt-5
1•sftueni•23m ago•1 comments

Thank Goodness for Libertarian Law Firms

https://www.nationalreview.com/articles/thank-goodness-for-libertarian-law-firms
2•ArizonaGal•30m ago•1 comments

What Is Ultra-Low Latency Streaming? Use Cases and Real-Time Delivery

https://www.red5.net/blog/what-is-ultra-low-latency-why-does-it-matter/
1•mondainx•31m ago•0 comments

Show HN: Zephy – Find end-of-life software in your repos, images and SBOMs

https://github.com/0xbadshah/zephy
2•bnchandrapal•35m ago•0 comments

Unsolved Science — From Zero to Known

https://unsolvedscience.org/
1•frozenseven•37m ago•0 comments

Culture Eats Strategy for Breakfast

https://s1archive.substack.com/p/a-netflix-nbcu-merger-would-be-a
1•stevenross•41m ago•0 comments

I made a realtime and interactive chemical lab and reaction simulation [video]

https://www.youtube.com/shorts/w1bQarZnSf4
1•shroom1•53m ago•0 comments

Show HN: FOSS identity-based sandbox platform on K8s that eliminates credentials

https://github.com/octelium/cordium
1•geoctl•53m ago•0 comments

Amazon S3 now supports reading parts of multipart uploads in progress

https://aws.amazon.com/about-aws/whats-new/2026/11/amazon-s3-supports-reading-parts-multipart-upl...
6•dabinat•57m ago•1 comments

Emulator for Symbolics XL-1200 Lisp machine

https://unya.github.io/xl1200-emu/
3•p_l•1h ago•1 comments

Ask HN: What software and hardware are you sing for self hosted LLM rigs?

4•NegativeLatency•1h ago•1 comments

Ask HN: What does the future of AI look like?

3•The-Ergster•1h ago•1 comments

The day open source died: a story about Minecraft, Bukkit, and the GPL

https://jwheel.org/blog/2020/04/open-source-minecraft-bukkit-gpl/
4•whwhyb•1h ago•0 comments

Ask HN: Is AI making you gain weight?

6•daxfohl•1h ago•3 comments

California Software Tax Rules to Hurt Startups

https://news.bloombergtax.com/tax-insights-and-commentary/week-in-insights-california-software-ta...
1•tldrthelaw•1h ago•0 comments

RISC-V Vector Bit Compress/Expand Project

https://fprox.substack.com/p/risc-v-vector-bit-compressexpand
2•hasheddan•1h ago•0 comments

Tsunami Warning (Aleutian Islands)

https://www.tsunami.gov/
4•jmward01•1h ago•2 comments

Sudoku's Hidden Rule

https://cyrusjavan.com/posts/solving-with-uniqueness/
49•multifasciatus•1h ago•14 comments

Ask HN: I can't come to a conclusion about AI. What should I do?

3•MS27•1h ago•2 comments

Compiling a Go program into a native binary for Nintendo Switch (2022)

https://ebitengine.org/en/blog/native_compiling_for_nintendo_switch.html
1•indigodaddy•1h ago•0 comments