Skip to content

tsukkiren/promptpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 PromptPack

PromptPack is a small CLI tool that helps you turn a list of files into a prompt that you can feed into an LLM.

promptpack.mp4

Installation

PromptPack is hosted on NPM, so you can either:

  • install promptpack globally with your preferred package manager (ex. npm install -g promptpack)
  • or run it directly with npx/pnpx/bunx promptpack

Usage

Interactive mode

This is the default (any only right now) mode, which lets you interactively navigate, select, and package files into a prompt, and copy it to the system clipboard.

Navigate up and down with arrows or k/j, expand/collapse directories with Tab or Enter, mark the files you want to include with Space, and press y to copy the prompt.

Tokens are estimated for GPT-4/GPT-3.5 using https://github.com/dqbd/tiktoken.

About

CLI tool for packing files into a prompt for LLM usage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.4%
  • Shell 0.6%