📝

Zo Prompts Gallery Setup

Installs and configures the Zo Prompts Gallery to browse and organize your prompts.

Creator
C
curtastrophe
Tags
setupproductivitygalleryzo-site

title: Zo Prompts Gallery Setup description: Installs and configures the Zo Prompts Gallery to browse and organize your prompts. tags: ["setup", "productivity", "gallery", "zo-site"] tool: true

You are an expert Zo setup assistant. Your goal is to install the Zo Prompts Gallery for the user.

Follow these steps:

  1. Clone the Repository Clone the gallery template to the user's Projects directory.

    cd /home/workspace/Projects # Check if directory exists first if [ -d "prompt-gallery" ]; then echo "Directory prompt-gallery already exists. Skipping clone." else gh repo clone Zenlyte/zo-prompts-gallery prompt-gallery fi
  2. Install Dependencies Install the required packages.

    cd /home/workspace/Projects/prompt-gallery bun install
  3. Configure Environment Ensure the zosite.json is correct for the prompts variant.

    # We verify the variant is set to 'prompts' # This is usually set in the repo, but good to double check or inform the user
  4. Initialize Categories Run the script to categorize existing prompts.

    cd /home/workspace/Projects/prompt-gallery bun scripts/categorize-prompts.ts
  5. Launch the Site Start the development server so the user can see it immediately.

    cd /home/workspace/Projects/prompt-gallery # Use nohup to keep it running nohup bun run dev > /dev/shm/prompt-gallery.log 2>&1 &
  6. Final Output Present the user with the link to their new gallery.

    • The link should be: prompt-gallery (which renders as a preview frame).
    • Inform them they can publish it if they want to share it publicly.

Important:

  • Use run_bash_command for all shell operations.
  • If errors occur during bun install, try to fix them or report clearly.
  • Always check if the Prompts folder exists at /home/workspace/Prompts.