Desktop app for copy/pasting files into LLMs
Top 39.5% on sourcepulse
PasteMax is a desktop application designed to streamline the process of selecting and copying code snippets from local repositories for use with Large Language Models (LLMs). It targets developers who frequently interact with AI coding assistants, offering a user-friendly interface to navigate, filter, and preview files, thereby simplifying the preparation of code for LLM input.
How It Works
Built with Electron, React, and TypeScript, PasteMax presents a modern file explorer. It leverages tiktoken
for approximate token counting per file, aiding users in managing LLM context window limits. The application features smart file exclusion, automatically filtering out common non-code files and binaries, and includes a file change watcher for real-time updates. This approach simplifies code selection by providing relevant context and filtering out noise, making it easier to extract usable code snippets.
Quick Start & Requirements
git clone https://github.com/kleneway/pastemax.git
, cd pastemax
, npm install
, npm run build:electron
, npm run package
.npm run dev
(Vite dev server) and npm run dev:electron
(Electron).Highlighted Details
package-lock.json
).Maintenance & Community
The project is open for contributions via pull requests. Users can report issues on GitHub.
Licensing & Compatibility
Licensed under the MIT License, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
A reported issue requires running a fix-dependencies.js
script if the ignore
module is not found in packaged applications. The project is actively developed, and users should refer to GitHub for the latest status and potential breaking changes.
2 months ago
1 day