Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Feb 3, 2026

This PR contains a comprehensive implementation plan for issue #6.

Plan Overview

This plan implements a feature to automatically fetch prompts from remote URLs on page load, enabling prompt sharing across devices and teams.

Key Components

  1. RemotePromptsManager (new)

    • Fetches prompts from configured remote URLs
    • Implements caching with 1-hour timeout
    • Handles errors gracefully without blocking app initialization
  2. SettingsManager Updates

    • Add remotePromptUrls setting
    • Methods for managing remote sources (add/remove/update)
  3. UI Additions

    • Remote Prompt Sources section in Settings
    • Add/remove/enable/disable sources
    • Manual "Fetch Now" and "Clear Cache" buttons
    • Status indicators for each source

Expected Remote Data Format

{
  "version": "1.0",
  "name": "Optional collection name",
  "prompts": [
    {
      "name": "Prompt Name",
      "prompt": "Text with {placeholders}",
      "triggerTiming": "custom",
      "actionType": "feedback"
    }
  ]
}

Files to Modify

  • Create: components/RemotePromptsManager.js
  • Modify: components/SettingsManager.js
  • Modify: script.js
  • Modify: index.html
  • Modify: styles.css

Complexity

  • Complexity: Medium
  • Estimated Effort: 4-6 hours

See full implementation details in plans/6.md.

Closes #6

This plan outlines the implementation of remote prompt URL fetching
to enable automatic prompt distribution and sharing across devices
and teams.

Key features:
- RemotePromptsManager for fetching and caching prompts
- Settings UI for managing remote sources
- Automatic fetching on page load
- Graceful error handling and caching

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

Import prompts from remote url on page load

0 participants