- Features
- Installation
- Development
- Tech Stack
Snap Prompts is a modern desktop application designed for AI artists and Stable Diffusion users. It solves the problem of scattered prompt libraries by providing a centralized, secure way to store, edit, and visualize your prompts. Instead of relying on third-party servers, Snap Prompts uses your own Google Drive as the backend storage, ensuring you maintain full ownership and privacy of your data while keeping it synced across Windows.
- ✨ Features
- ☁️ Google Drive Sync: Automatically syncs your JSON library to a dedicated folder in your Google Drive. Work on your PC, switch to your laptop, and pick up right where you left off.
- 🖼️ Image Attachments: Attach reference images (up to 1MB) directly to your prompts. Images are encoded and stored securely within your library.
- 🎈 Floating Mini-Mode: Switch to a compact, floating bubble mode (similar to chat heads) to keep your prompts accessible while working in other apps.
- 🔒 Privacy First: Direct connection to Google APIs. No intermediate servers or data harvesting.
- 🎨 Modern UI: built with a beautiful, dark-themed interface using Tailwind CSS and Lucide icons.
- ⚡ Hot-Reloading: Instant updates to your library.
- 📥 Installation
- Windows: Windows 10/11 (.exe)
- **macOS: 10.13+ (.dmg)
- **Linux: AppImage (.AppImage)
🛠️ Development
- Git: https://github.com/NovaFemme/Snap-Prompt/tree/main
- If you want to build the app from source or contribute, follow these steps: Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- A Google Cloud Project with Drive API enabled (for .env configuration)
Setup:
- Clone the repository
- git clone https://github.com/NovaFemme/Snap-Prompt.git
- cd snap-prompts
Install dependencies
- npm install
Configure Environment Variables
- Create a .env file in the root directory and add your Google API credentials:
- GOOGLE_CLIENT_ID=your_client_id
- GOOGLE_CLIENT_SECRET=your_client_secret
Run Locally
- Start the React development server and Electron wrapper simultaneously:
- npm run electron:dev
Building the Installer To package the application for distribution:
-
npm run dist
-
The output files will be located in the dist folder.
🏗️ Tech Stack
- Core: Electron (v28)
- Frontend: React (v18)
- Styling: Tailwind CSS
- Icons: Lucide React
- Auth & Storage: Google OAuth2 & Google Drive API v3
- Build Tool: Electron Builder
📄 License
Built with ❤️ for the AI Art Community
-
Data Storage Snap Prompt does not store your personal data, prompts, or images on its own servers. All data is stored locally on your device (snap-prompts.json) and synchronized directly to your personal Google Drive in the "Snap Prompt" folder.
-
Google Drive API Usage Snap Prompt uses the Google Drive API for the sole purpose of:
- Creating a folder named "Snap Prompt.
- Uploading your local snap-prompts.json file to that folder.
- Downloading that file to sync your data across your devices.
- Data Sharing We do not view, harvest, or share your data with third parties.
- Your data remains strictly between your local device and your Google Drive account.