Yek: Serialize your code repo (or part of it) to feed into any LLM

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. yek

    A fast Rust based tool to serialize text-based files in a repository or directory for LLM consumption

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. chimeracat

    ccat - ChimeraCat smart code concatenator

    i guess I shouldn’t be surprised that many of us have approached this in different ways. it’s neat to see already multiple replies of the sort In going to make too, which is to share the approach I’ve been taking, which is to concatenate or to “summarize” the code, with particular attention on dependency resolution.

    https://github.com/scottvr/chimeracat

    It took the shape that it has because it started as a tool to concatenate a library i had been working on into a single ipynb file so that I didn’t need to install the library on the remote colab, thus the dependency graph was born (as was the ascii graph plotter ‘phart’ that it uses) and then as I realized this could be useful to share code with an LLM, started adding the summarization capabilities, and in some sort of meta-recursive-irony, worked with Claude to do so. :-)

    I’ve put a collection of ancillary tools I use to aid in the pairing with LLM process up at https://github.com/scottvr/LLMental

  4. LLMental

    LLMental: "elemental"ˌe-lə-ˈmen-tᵊl - tools developed to make pair-programming with LLMs more productive that have grown to be generally useful. (phart, fplit, maxify, crumb.py, retree, chimeracat)

    i guess I shouldn’t be surprised that many of us have approached this in different ways. it’s neat to see already multiple replies of the sort In going to make too, which is to share the approach I’ve been taking, which is to concatenate or to “summarize” the code, with particular attention on dependency resolution.

    https://github.com/scottvr/chimeracat

    It took the shape that it has because it started as a tool to concatenate a library i had been working on into a single ipynb file so that I didn’t need to install the library on the remote colab, thus the dependency graph was born (as was the ascii graph plotter ‘phart’ that it uses) and then as I realized this could be useful to share code with an LLM, started adding the summarization capabilities, and in some sort of meta-recursive-irony, worked with Claude to do so. :-)

    I’ve put a collection of ancillary tools I use to aid in the pairing with LLM process up at https://github.com/scottvr/LLMental

  5. Next.js

    The React Framework

    Added some benchmarking to show how fast it is:

          Here is a benchmark comparing it to [Repomix](https://github.com/jxnl/repomix) serializing the [Next.js](https://github.com/vercel/next.js) project:

  6. dropnread

    A web-based tool that helps prepare source code for Large Language Models (LLMs) by combining multiple files into a single text file. Perfect for when you need to share your codebase with AI models like GPT-4, Claude, or Gemini.

    You can do this all in the browser: https://dropnread.io/

  7. files-to-prompt

    Concatenate a directory full of files into a single prompt for use with LLMs

    I have to add https://github.com/simonw/files-to-prompt as a marker guid.

    I think "the part of it" is key here. For packaging a codebase, I'll select a collection of files using rg/fzf and then concatenate them into a markdown document, # headers for paths ```filetype ``` for the contents.

    The selection of the files is key to let the LLM focus on what is important for the immediate task. I'll also give it the full file list and have the LLM request files as needed.

  8. retree

    Reverse Tree Utility (technically, it *inverts* what /usr/bin/tree does, it doesn't "undo" it.)

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. project-context

    Adding my take to the mix, which has been working well for me: https://github.com/ClaireGSB/project-context.

    It outputs both a file tree of your repo, a list of the dependancies, and a select list of files you want to include in your prompt for the LLM, in a single xml file.

  11. gitingest

    Replace 'hub' with 'ingest' in any github url to get a prompt-friendly extract of a codebase

  12. sink

    Turn your repo into an LLM prompt (by dwrtz)

    i wrote something similar https://github.com/dwrtz/sink

    it has some nice features:

    - follows .gitignore patterns

    - optional file watcher to regenerate the snapshot when files are changed

    - supports glob patterns for filter/exclude

    - can report token usage

    - can use a config yaml file if you have complicated filter/exclude patterns

    i find myself using it all the time now. it's great with claude projects

  13. Optician-Tool

    Long term repository for the Optician paper

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • test

    2 projects | dev.to | 14 Mar 2025
  • Next.js vs Express: What to Choose in 2025?

    2 projects | dev.to | 14 Mar 2025
  • Next.js vs. Solid.js: What to Choose in 2025?

    2 projects | dev.to | 12 Mar 2025
  • How much traffic can a pre-rendered Next.js site handle?

    2 projects | news.ycombinator.com | 8 Mar 2025
  • How to Optimize or Improve Google Page Speed in Next.js?

    1 project | dev.to | 7 Mar 2025

Did you know that Python is
the 2nd most popular programming language
based on number of references?