selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

image-prompt-library logo

Self-host image-prompt-library

v0.11.3

Local-first AI image prompt organizer

BetaOpen SourceAGPL-3.0
Updated12 hours ago
LanguagePython
Setup difficultyModerate
MobileResponsive
Stars
148
Port
8000 (HTTP server)
Install with Windows
Library view with saved image and prompt cardsExplore view organized by collectionReference detail with image, prompt variants, tags, and sourceGrok selected in the generation provider menuOnline read-only demo showing Explore collections

What is image-prompt-library?

This application lets you build a private collection of AI-generated images alongside their prompts and metadata. It stores everything locally in SQLite and image files, requiring no account. You can group items into collections, tag them, and search across all fields. Optional OAuth connections to ChatGPT and Grok enable generating new images and suggesting titles, though those requests go to the provider's servers. Installers are provided for Windows (PowerShell), macOS, Linux, and WSL 2, plus a macOS launchd service for background operation. The server defaults to 127.0.0.1:8000. A read-only demo is hosted on GitHub Pages. The code uses AGPL-3.0-or-later with commercial licensing offered separately.

Should you self-host image-prompt-library?

image-prompt-library scores 45/100 on selfhost.directory (how scoring works) and ranks #5 of 9 in Image Management. It has 148 GitHub stars.

It shipped 10 stable releases in the past year. The latest, v0.11.3, came out on 17 October 2026. New versions land roughly every 9 days.

Setup is moderate: expect some configuration beyond a single command. It is AGPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Slink (59/100, 1 614 stars). It scores higher overall, so compare the two before you pick. See image-prompt-library vs Slink side by side.

Features

  • Batch Operations
  • ChatGPT/Codex OAuth image generationRequires eligible provider account; usage limits and charges controlled by provider
  • Collections and tags
  • Generation sets
  • Grok OAuth image generation (experimental)Experimental; requires eligible xAI account
  • Keyword and structured search
  • Local-first image and prompt library
  • Multi-image cards
  • Multi-language UI
  • Portable backup and restore
  • Prompt variables
  • Read-only online demoEditing, private-library management, and generation require local install
  • Sample data import
  • Title suggestions

image-prompt-library README

How to install image-prompt-library

Install image-prompt-library with Windows

Environment variables
IMAGE_PROMPT_LIBRARY_PATH, IMAGE_PROMPT_LIBRARY_ALLOWED_HOSTS, BACKUP_DIR, IMAGE_PROMPT_LIBRARY_AUTH_PATH, IMAGE_PROMPT_LIBRARY_GROK_AUTH_PATH, IMAGE_PROMPT_LIBRARY_CONFIG_PATH

Requires Windows 10/11, PowerShell 5.1+, Python 3.10+

How to configure image-prompt-library

  • BACKUP_DIRDirectory where backup archives are created

    Directory where backup archives are created

  • IMAGE_PROMPT_LIBRARY_ALLOWED_HOSTSComma-separated hostnames the server will accept (e.g., library.home)

    Comma-separated hostnames the server will accept (e.g., library.home)

  • IMAGE_PROMPT_LIBRARY_AUTH_PATH~/.image-prompt-library/auth.jsonPath to ChatGPT/Codex OAuth credential store

    Path to ChatGPT/Codex OAuth credential store

  • IMAGE_PROMPT_LIBRARY_CONFIG_PATH~/.image-prompt-library/config.jsonPath to provider configuration file

    Path to provider configuration file

  • IMAGE_PROMPT_LIBRARY_GROK_AUTH_PATH~/.image-prompt-library/grok-auth.jsonPath to Grok OAuth credential store

    Path to Grok OAuth credential store

  • IMAGE_PROMPT_LIBRARY_PATH~/ImagePromptLibrary (Unix) or %USERPROFILE%\ImagePromptLibrary (Windows)Path to the private library directory containing the SQLite database and images

    Path to the private library directory containing the SQLite database and images

image-prompt-library releases & version history

More in Image Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…