A powerful desktop laboratory for crafting code-based prompts for LLMs.
Allows users to quickly inject their code and craft a prompt with parseable xml format response.
Works best with reasoning models.
- 🧪 Transform your code into perfect LLM prompts
- 📁 Open and analyze any code repository
- 🔍 Select specific files or entire directories
- 🚫 Customizable ignore patterns with regex support
- 📝 Add custom instructions and save templates
- 🌳 Generate textual file tree visualization
- 📋 Copy formatted output to clipboard
- 🔢 Automatic token counting for LLM context limits
Download the latest .AppImage
or .deb
file from the releases page.
chmod +x PromptLab-*.AppImage
./PromptLab-*.AppImage
sudo dpkg -i promptlab_*.deb
Download and run the latest .exe
installer from the releases page.
Download and install the latest .dmg
file from the releases page.
- Node.js 16+
- npm or yarn
- Clone the repository
git clone https://github.com/0xIbra/promptlab.git
cd promptlab
- Install dependencies
npm install
- Start development server
npm run dev
# Build for production
npm run build
# Create distributable
npm run dist
- Update version in
package.json
- Create and push a new tag:
git tag v0.1.1
git push origin v0.1.1
This will trigger the GitHub Actions workflow that:
- Builds the app for Linux, Windows, and macOS
- Creates a new GitHub release
- Uploads all build artifacts to the release
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Electron
- UI powered by React and Tailwind CSS
- Token counting by gpt-tokenizer