Giter VIP home page Giter VIP logo

summr's Introduction

Summr

This tool allows you to use LLMs (Large Language Models) for coding by displaying the contents of a Git repository in the terminal. It works by reading the tracked files in the repository and outputting their content in a tidy format, which can then be passed to LLM models. This can be helpful for quickly fetching file content from repositories for easier inspection or processing with model-based automation tools.

Usage

summr <repo path> | wl-copy

The command above will output the repo's content, which will be copied to the clipboard using wl-copy.

Filtering Files

You can filter the files included in the output by specifying a regular expression (regex) pattern. Files that match the regex pattern will be included, while those that don't will be excluded. The inverse regex pattern can also be provided, in which files matching the inverse pattern will be excluded. This allows for fine-grained control over the selection of files.

summr <repo path> -r '<regex pattern>' -v '<inverse regex pattern>' | wl-copy

Dependencies

  • Haskell
  • GHC

Build

To compile the code:

make

summr's People

Contributors

raunakchhatwal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.