Quick Start
Fetch all stats
fetch('https://belyagoubiabdelilah.github.io/awesome-prompt-library/v1/stats.json')
.then(r => r.json())
.then(data => console.log(data.total_prompts, 'prompts'));
Browse a category
fetch('https://belyagoubiabdelilah.github.io/awesome-prompt-library/v1/categories/coding-development.json')
.then(r => r.json())
.then(data => console.log(data.prompts));
Paginated prompt list
fetch('https://belyagoubiabdelilah.github.io/awesome-prompt-library/v1/index.json')
.then(r => r.json())
.then(data => console.log(data.prompts)); // 100 per page
Endpoints
GET
/v1/stats.json
Global stats: total prompts, categories, pages, and the full endpoint map.
GET
/v1/categories/index.json
List of all 19 categories with prompt counts and direct URLs.
GET
/v1/categories/{folder}.json
All prompts in a specific category, with full prompt text included.
GET
/v1/index.json
Paginated prompt list — page 1, 100 prompts per page, summary only.
GET
/v1/index/page-{n}.json
Subsequent pages of the paginated list. Includes next/prev links.
GET
/v1/prompts/{id}.json
Single prompt by stable ID. Returns full prompt text, variables, and metadata.
Source
Open source on GitHub
All prompts live in data/registry.jsonl.
The API is rebuilt automatically on every push via GitHub Actions and deployed here via GitHub Pages.
Contributions welcome.