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!

Show HN: KitchenAsty – Open-source, self-hosted restaurant management system

https://github.com/mighty840/kitchenasty
1•sharang33•18s ago•0 comments

Wearable trackers can detect depression relapse weeks before it returns

https://medicalxpress.com/news/2026-02-wearable-trackers-depression-relapse-weeks.html
1•PaulHoule•1m ago•0 comments

Binding port 0 to avoid port collisions

https://ntietz.com/blog/binding-ephemeral-port/
1•todsacerdoti•1m ago•0 comments

Show HN: Nova – A Web Framework for Erlang, Elixir, and LFE on the Beam

https://github.com/novaframework/nova
1•taure•1m ago•0 comments

Send legal agreements in Claude Code

https://github.com/CommonPaper/claude-skill
1•bengarvey•2m ago•0 comments

'Profoundly moving': Netflix's posthumous celebrity interview series is a marvel

https://www.theguardian.com/tv-and-radio/2026/feb/23/famous-last-words-netflix-eric-dane
1•mellosouls•4m ago•0 comments

Show HN: We wrapped US healthcare API in MCP and it became surprisingly usable

https://app.healthporta.com/mcp
1•endurant_dev•4m ago•0 comments

Yes, Section 230 Should Apply Equally to Algorithmic Recommendations

https://www.techdirt.com/2026/02/23/yes-section-230-should-apply-equally-to-algorithmic-recommend...
1•hn_acker•5m ago•0 comments

IBM is the latest AI casualty

https://www.cnbc.com/2026/02/23/ibm-is-the-latest-ai-casualty-shares-are-tanking-on-anthropic-cob...
2•baal80spam•7m ago•0 comments

Ask HN: Are developers who build libs and dev tools safer from AI replacement?

2•danver0•7m ago•0 comments

GitHub Is Down

https://www.githubstatus.com/incidents/jn8kcmg5ydch
6•smithcoin•11m ago•0 comments

Lat: Apple removes environmental metrics from executive pay

https://www.latimes.com/business/story/2026-02-23/apple-quietly-removes-environmental-metrics-fro...
3•domoregood•12m ago•1 comments

Intellectual Honesty in the Age of Vibes

https://blog.zmalik.dev/p/intellectual-honesty-in-the-age-of
1•zmalik•12m ago•0 comments

Show HN: Merkle Casino – Random CT Domains

https://merkle.altayakkus.dev
1•biosboiii•13m ago•0 comments

Why I love learning new things

https://seekingtrust.substack.com/p/in-pursuit-of-new-colors
1•FinnLobsien•15m ago•0 comments

Show HN: Groupchat, Open Source Slack for Developers

https://www.groupchatty.com/
4•svapnil•15m ago•0 comments

Tesla sues California DMV to reverse 'false advertising' ruling on self-driving

https://www.cnbc.com/2026/02/23/tesla-sues-california-dmv-to-reverse-false-advertising-ruling-on-...
5•MilnerRoute•15m ago•0 comments

Signs on Stone Age objects: Precursor to written language dates back 40K years

https://www.uni-saarland.de/en/news/steinzeit-zeichen-44061.html
2•geox•16m ago•0 comments

Show HN: Livecodes – client-side code playground created by a heart surgeon

https://github.com/live-codes/livecodes
1•hopefully_can•17m ago•0 comments

Bitdeer sold all its Bitcoin to fund its move into AI data centers

https://www.coindesk.com/markets/2026/02/23/bitdeer-empties-bitcoin-treasury-as-miners-accelerate...
1•doener•18m ago•0 comments

Flock cameras gifted by Horowitz Foundation, avoiding public oversight

https://thenevadaindependent.com/article/vegas-police-are-big-users-of-license-plate-readers-publ...
6•rurp•18m ago•0 comments

Show HN: MoltMyHeart – a dating site for AI agents

https://www.moltmyheart.com/
2•dinge•19m ago•0 comments

IBM Plunges After Anthropic's Latest Update Takes on COBOL

https://www.zerohedge.com/markets/ibm-plunges-after-anthropics-latest-update-takes-cobol
8•gradus_ad•22m ago•4 comments

Show HN: We built Talos – a full CNN inference engine running on silicon

https://talos.wtf/
1•luthiraabeykoon•22m ago•0 comments

A prediction on MCP servers from last year

https://mbsamuel.substack.com/p/will-people-actually-pay-for-mcp
1•JimsonYang•22m ago•1 comments

Booklore – A modern way to organize, read, and own your digital library

https://booklore.org/
2•voxadam•23m ago•0 comments

Show HN: We built Talos – a full CNN inference engine running on silicon

https://twitter.com/luthiraabeykoon/status/2026036244455489750
1•luthiraabeykoon•23m ago•0 comments

Strands AI Functions

https://github.com/strands-labs/ai-functions
1•jlward4th•23m ago•0 comments

Moore Threads Launches Premium MTT Aibook with China ARM-Based SoC

https://videocardz.com/newz/moore-threads-launches-premium-mtt-aibook-with-china-arm-based-soc-2-...
1•LorenDB•25m ago•0 comments

3D Printing a 3D Printer

https://guille.site/posts/3d-printed-printer/
2•LolWolf•25m ago•0 comments