A searchable template library for AI prompts with Fuse.js integration.
- Searchable template database
- Fast fuzzy search using Fuse.js
- Responsive design
- Easy to customize
- Simple API for mobile applications
The template database includes templates across various domains:
- Educational tools (Lesson Plan Generator)
- Developer tools (Code Explainer)
- Marketing tools (Product Description Writer)
- Healthcare and Midwifery resources
- Anatomy and Physiology guides
- Nutrition and Diet information
- Job search and career guidance (including Indonesia-specific resources)
- Academic writing and research tools
- Open index.html in a web browser
- Search for templates using the search box
- Browse results with name, description, and tags
Templates in data.json include:
id: Unique 4-digit identifier (e.g., "0001")icon: Material icon namename: Template namedescription: Brief descriptionsystemPrompt: System prompt for AItags: Comma-separated tagsresponseTone: Preferred tonetemperature: Creativity level (0.0 to 1.0)maxTokens: Maximum response length
Simple API endpoints are available through index.html:
GET index.html?api=true
Returns all templates in JSON format.
GET index.html?api=true&q={search_term}
Returns templates matching the search term using fuzzy search.
- Fuse.js for fuzzy search
- Vanilla JavaScript
- HTML/CSS
- Create a new repository on GitHub
- Push these files to the repository
- Go to Settings > Pages
- Select "Deploy from a branch" and choose your main branch
- Your site will be available at https://yourusername.github.io/your-repo-name/
These changes will allow your Android application to consume your template data through simple HTTP requests:
- To get all templates: https://yourusername.github.io/your-repo-name/index.html?api=true
- To search templates: https://yourusername.github.io/your-repo-name/index.html?api=true&q=lesson
The API responses will be in JSON format that your Android app can easily parse. This approach works with GitHub Pages since it's still serving static files, but provides the API-like functionality your Android app needs.