Skip to content

Prompt Library: GitHub Markdown/text import and curated repo search #25

@lidge-jun

Description

@lidge-jun

Summary

Extend Prompt Library import so users can import prompt collections from GitHub Markdown files and curated public repositories, not only local files.

Requested behavior

  1. GitHub source import
  • Accept a GitHub URL pointing to a Markdown file.
  • Accept a repo plus Markdown path form, so users can enter a GitHub address and an .md path without manually converting to raw URLs.
  • Resolve GitHub blob URLs to raw Markdown internally.
  1. Import UX
  • 불러오기 should open a Prompt Library import popover/modal instead of opening Finder immediately.
  • The popover should say to drag files here and include a GitHub URL/path input.
  • While the popover is open, whole-screen drag/drop should be accepted and routed to the same import flow.
  • Finder/file picker remains available as a secondary button inside the popover.
  1. Curated repository search
  • Add a small curated/public-repo search section for known prompt/image-generation repositories.
  • Seed with PicoTrex/Awesome-Nano-Banana-images as the high-star Nano Banana image prompt/example source.
  • Seed with aimikoda/nano-banana-pro-prompts as a Nano Banana Pro / Nano Banana 2 prompt source.
  • Users should be able to pick a repo, browse/import Markdown prompt files, and save extracted prompts into the existing Prompt Library.

Suggested input formats

https://github.com/owner/repo/blob/main/path/to/prompts.md
https://github.com/owner/repo/tree/main/path/to/folder
owner/repo:path/to/prompts.md
owner/repo@branch:path/to/prompts.md

Acceptance criteria

  • Clicking 불러오기 opens an import dialog/dropzone instead of Finder.
  • Dragging a local .md / .txt anywhere over the app while the dialog is open imports through the dialog flow.
  • Pasting a GitHub Markdown file URL can preview/import prompts.
  • Curated repo quick picks include Nano Banana sources.
  • Imported prompts include source tags such as github, repo name, and filename.
  • Existing local file import behavior still works from inside the dialog.
  • Tests cover dialog open behavior, GitHub URL parsing, host/path validation, and parser output.

Devlog

Plan: devlog/_plan/0.23.1-prompt-library-github-import/PRD.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions