Skip to content

Add manifest and service worker for offline support and PWA functiona…#1

Open
davishkar wants to merge 1 commit into
harshitabarfa:mainfrom
davishkar:main
Open

Add manifest and service worker for offline support and PWA functiona…#1
davishkar wants to merge 1 commit into
harshitabarfa:mainfrom
davishkar:main

Conversation

@davishkar

@davishkar davishkar commented Apr 12, 2026

Copy link
Copy Markdown

AI Prompt Studio – Implemented Features

In this project, the following features are implemented:

AI Integration & Testing

  • Dual API Modes:
    • Demo Mode (JSONPlaceholder)
    • Real AI Mode (Google Gemini API – gemini-pro)
  • Prompt Improver & Scorer:
    • Heuristic scoring (0–10)
    • One-click AI-based improvement
  • Auto-Suggestions:
    • Real-time autocomplete with debouncing

Prompt Management Library

  • Intelligent Organization:
    • Categorize, tag, search, and filter prompts
  • Favorites & Pinning:
    • Star important prompts
  • Full CRUD Operations:
    • Create, edit, duplicate, delete prompts
    • Drag-and-drop reordering

Advanced Input / Output

  • Voice Input:
    • Speak prompts using Web Speech API
  • Text-to-Speech (TTS):
    • Listen to prompts and responses
  • Multi-language Support:
    • English and Marathi

UI / UX

  • Glassmorphism / Claymorphism Design
  • Dark Mode (persistent theme)
  • Responsive PWA (mobile and desktop installable)
  • Mobile-friendly bottom navigation
  • Keyboard Shortcuts:
    • Ctrl + Enter → Generate
    • Ctrl + S → Save
    • Ctrl + Shift + C → Copy
    • Ctrl + D → Toggle theme

Analytics & Export

  • Dashboard Insights:
    • Usage history and charts
  • Export Options:
    • TXT, PDF, JSON
    • Copy as Markdown
  • Deep Linking:
    • Share via Base64 encoded URLs

Privacy & Architecture

  • Zero dependency
  • Fully client-side SPA
  • Local storage only
  • Complete privacy and offline access

…lity

- Created manifest.json to define app metadata, icons, and shortcuts.
- Implemented service worker (sw.js) with caching strategies for offline access.
- Pre-cached static assets and set up cache management for updates.
- Configured fetch event handling for local and external requests.
@davishkar davishkar marked this pull request as draft April 12, 2026 14:51
@davishkar davishkar marked this pull request as ready for review April 12, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant