PromptHub  by legeling

Local-first AI prompt management and testing tool

Created 1 month ago
509 stars

Top 61.5% on SourcePulse

GitHubView on GitHub
Project Summary

PromptHub is an open-source, local-first AI prompt management tool designed for efficient prompt organization, version control, and reuse. It targets AI users, developers, and researchers who need a centralized, private workspace for their prompts, offering features akin to code management for AI interactions. The primary benefit is enhanced productivity and data privacy through local-only storage and robust management capabilities.

How It Works

Built on Electron, React, and TypeScript, PromptHub operates as a desktop application. It leverages IndexedDB and SQLite for local data storage, ensuring user prompts and configurations remain private and offline-accessible. The core functionality includes prompt creation, editing, version control with rollback capabilities, and a templating system using {{variable}} syntax for dynamic prompt generation. It also integrates multi-model testing for both text and image generation, allowing users to compare AI outputs directly within the application.

Quick Start & Requirements

  • Installation: Download platform-specific executables (.exe, .dmg, .AppImage, .deb) from the Releases page. Alternatively, build from source using git clone, pnpm install, and pnpm build.
  • Prerequisites: For executables, no specific prerequisites are listed beyond OS compatibility. Building from source requires Node.js and pnpm. macOS users may need to bypass Gatekeeper security for unsigned applications.
  • Links: Releases page (implied by download table), GitHub Issues, GitHub Discussions.

Highlighted Details

  • Local-First & Privacy: All prompt data, AI configurations, and images are stored exclusively on the local machine.
  • Advanced Prompt Management: Features include version control with history rollback, folder/tag organization, full-text search, and a templating system with dynamic variable replacement.
  • Integrated AI Testing: Supports testing prompts across 18+ AI service providers, including image generation models like DALL-E and Midjourney, with side-by-side comparison.
  • Synchronization & Security: Offers WebDAV synchronization for cloud backup and includes features like a master password and private, encrypted folders (currently in beta).

Maintenance & Community

The project is actively maintained, with a roadmap indicating future plans for a web version and a prompt template marketplace. Community support is available via GitHub Issues for bug reporting and GitHub Discussions for feature suggestions.

Licensing & Compatibility

PromptHub is licensed under the AGPL-3.0 License. This strong copyleft license requires any derivative works or distributed modifications to also be made available under the AGPL-3.0. This may impose restrictions on integration into proprietary closed-source commercial products.

Limitations & Caveats

The private encrypted folder feature is marked as Work In Progress (WIP). macOS applications are not Apple notarized, necessitating manual user intervention to bypass security warnings on first launch. The planned web version and prompt template market are future developments.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
23
Star History
101 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Travis Fischer Travis Fischer(Founder of Agentic).

latitude-llm by latitude-dev

0.1%
4k
Open-source platform for AI prompt engineering
Created 1 year ago
Updated 4 days ago
Feedback? Help us improve.