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!

Bohr on Biology: Niels Bohr wondered if life was beyond physics

https://blue-continuum.com/niels-bohr-wondered-if-life-was-beyond-physics
1•dnetesn•1m ago•0 comments

HPE Hybrid Cloud biz burns through quarterly AI budget in a month

https://www.theregister.com/ai-and-ml/2026/12/04/hpe-hybrid-cloud-biz-burns-through-quarterly-ai-...
1•beardyw•1m ago•0 comments

Show HN: I made a free directory to find the best X Articles by topic

https://directory.tweet-brain.com
1•imranshah10140•2m ago•0 comments

Fears over OpenAI missing revenue targets prompt tech sell-off

https://www.theguardian.com/technology/2026/dec/04/openai-missing-revenue-targets-tech-sell-off
1•jcolot•2m ago•0 comments

Claude-coded camera hacks – how safe? And what will be the response companies?

https://www.eoshd.com/uncategorized/claude-coded-camera-hacks-how-safe-and-what-will-be-the-respo...
1•10729287•3m ago•0 comments

Tellgan – AI Cost Tracking

https://www.tellgan.com/
1•JakeDuke•5m ago•0 comments

Show HN: Free date, word, number, address and currency tools, no signup

https://daytoolkit.com/
1•rvsdistributors•8m ago•1 comments

Show HN: 12-Month Email Marketing TCO Calculator (list growth and tier jumps)

https://martechpricing.com/tools/email-tco-calculator/
1•applesstt•9m ago•0 comments

Edit Multiple Areas of an Image in a Single AI Generation [video]

https://www.youtube.com/shorts/Z2C2aLIj52A
1•prfsch•10m ago•0 comments

Intelligence as a Resource [pdf]

https://github.com/sebkrier/intelligence-as-a-resource/blob/main/Krier_2026_Intelligence_as_a_Res...
1•HR01•10m ago•0 comments

Top Free GitHub Repositories for Learning Industrial Automation and IIoT

https://iiotjob.com/blog/top-10-free-github-repositories-for-learning-industrial-automation-and-iiot
1•ishikawa•11m ago•0 comments

Nvidia Acknowledges AI Chip Smuggling into China in Senate

https://asiaai.fyi/nvidia-acknowledges-ai-chip-smuggling-china/
3•ghernando•11m ago•0 comments

A Tiny Fish Is Moving to Cooler Waters

https://www.nytimes.com/2026/12/04/climate/peru-anchovies-seafood-industry.html
1•saikatsg•12m ago•0 comments

82% of Americans Fly Once a Year or Less–and Don't Know the Rules

https://viewfromthewing.com/82-of-americans-fly-once-a-year-or-less-and-dont-know-the-rules/
1•bushwart•12m ago•0 comments

The US economy unexpectedly lost 6k jobs in November

https://lite.cnn.com/2026/12/04/economy/us-jobs-report-november
3•DeepLogin•13m ago•0 comments

Visited Links Are Purple

https://dbushell.com/2026/11/16/visited-links/
2•surprisetalk•14m ago•0 comments

Why AI Is Bad – AI-built site where frontier models critique AI daily

https://whyaiisbad.com/
1•AlexIsland•14m ago•0 comments

Misha Gromov explains why life, the brain and LLMs are "miracles" [video]

https://www.youtube.com/watch?v=010zB6EpJYQ
1•eph0m0ral•15m ago•0 comments

iCloud Drive, File Provider and FPCK

https://eclecticlight.co/2026/12/04/icloud-drive-file-provider-and-fpck/
1•Brajeshwar•16m ago•0 comments

Show HN: Speicher.md Git-backed Markdown reader with IdP and MCP access control

https://github.com/coPetence/speicher.md
1•fduschka•18m ago•0 comments

AI points researchers to novel coronaviruses in museum's frozen bats

https://www.cam.ac.uk/research/news/ai-points-researchers-to-novel-coronaviruses-in-museums-froze...
1•Brajeshwar•19m ago•0 comments

Google sent me to collections: GCP's 20-min AI alert fired 10h late ($76K bill)

https://www.reddit.com/r/googlecloud/comments/1yazk1p/google_sent_me_to_collections_20min_vertex_ai/
11•sheep1165•19m ago•0 comments

Mercurial 7.2.6: critical release fixes chained client and server RCE

https://mercurial-scm.org/news/2026/0009-release-7.2.6
1•acossta•19m ago•0 comments

Show HN: Bald – The World’s Fastest Linker

https://heavey.dev/2026/12/04/bald/
2•mutant_self•21m ago•0 comments

Does a Worm Have Thoughts?

https://new.life.com/stories-details/michael-levin-consciousness
1•jger15•21m ago•0 comments

Quint: Yet another auto-formalization / executable specification startup

https://quint.sh
1•csbartus•23m ago•0 comments

Qwen4-35B-A3B vs. Qwen3.8-27B on one H200: vLLM and SGLang, benchmarked

https://gurubase.io/blog/2026/qwen4-35b-a3b-vs-qwen3-8-27b-h200-vllm-sglang-benchmark/
1•fatihbaltaci•23m ago•0 comments

CRI-O ended support for container-level restore

https://www.cncf.io/blog/2026/12/04/cri-o-ended-support-for-container-level-restore/
1•shscs911•24m ago•0 comments

2026 Year in Review: Analyzing a year of public celebrity sightings

https://wherecelebsgo.com/year-in-review/2026
1•wherecelebsgo•25m ago•0 comments

Show HN: Wee made weemuu, a friendly AI team

https://github.com/tmlunde/weemuu
1•tmlunde•26m ago•1 comments