Streamline Your LLM Workflow: PasteMax - The Developer's File Selection Tool
Tired of messy code snippets when using ChatGPT or other LLMs? PasteMax is a desktop application designed to help developers easily navigate, search, and copy code from repositories for seamless integration with large language models. Simplify your workflow and improve your LLM interactions.
Why Developers Need PasteMax For LLM Code Integration
Sharing code with LLMs shouldn't be a headache. PasteMax streamlines the process with a smart file explorer, offering features like token counting, file filtering, quick copy, and a built-in previewer. Get perfectly formatted snippets ready for AI assistance, designed for developer's everyday use, improving LLM code integration.
Key Features That Boost Your LLM Workflow
PasteMax is packed with functionalities designed to enhance your code sharing for LLMs experience:
- File Tree Navigation: Effortlessly browse directories and files using an intuitive, expandable tree view.
- Token Counting: Stay within context limits by viewing the approximate token count for each file.
- Search Capabilities: Quickly locate files by name or content.
- Selection Management: Select multiple files and copy their contents simultaneously.
- Sorting Options: Organize files by name, size, or token count.
- File Previewer: Examine file contents in a dedicated preview pane.
- Dark Mode: Choose between light and dark themes for comfortable viewing.
- Binary File Detection: Automatically identify and exclude unnecessary binary files.
- Smart File Exclusion: Exclude common "junk" files like
package-lock.json
and binaries by default. - File Change Watcher: Keep your file list up-to-date with automatic updates.
Get Started with PasteMax: Installation Guide
Ready to improve your AI code assistant workflow? Here's how to get PasteMax up and running:
Download the Pre-built Binary
The easiest way to install PasteMax is to download the latest version from the releases page.
Build From Source (For Developers)
For those who prefer to build from source:
-
Clone the repository:
-
Install dependencies:
-
Build the app:
Note for Windows users: If you encounter issues with
npm run package
, try the platform-specific command:
After a successful build, find the executable files in the release-builds
directory:
PasteMax Setup 1.0.0.exe
- Installer versionPasteMax 1.0.0.exe
- Portable version
Development Environment Setup
Contribute to PasteMax or customize it to your exact needs. Here's how to set up your development environment:
Prerequisites:
- Node.js (v14 or higher)
- npm or yarn
Setup:
-
Clone the repository
-
Install dependencies:
Running in Development Mode:
Building for Production:
Platform-specific build commands:
- Windows:
npm run package:win
- macOS:
npm run package:mac
- Linux:
npm run package:linux
Customizing PasteMax
Tailor PasteMax to your workflow by modifying the excluded-files.js
file. This allows you to specify which files are automatically excluded. Find details on customizing file exclusions in the excluded files documentation.
Troubleshooting Common Issues
Encountering problems? Here are solutions to common issues:
"Cannot find module 'ignore'" Error
This error often occurs when dependencies aren't correctly included in the package. To resolve it:
-
Run the dependency fixer script:
-
Rebuild the application:
-
Install the new version.
Build Command Issues
If you experience issues with the standard npm run package
command:
-
Try using the platform-specific build command:
- Windows:
npm run package:win
- macOS:
npm run package:mac
- Linux:
npm run package:linux
- Windows:
-
Check the
release-builds
directory for output files after building.
For other issues, please report them on GitHub.