coauthor icon indicating copy to clipboard operation
coauthor copied to clipboard

Add an API key config dialogue

Open maxsu opened this issue 3 years ago • 1 comments

Given an installed version of this addon, the user should be able to configure the API key, using an options dialogue in the browser.

This makes it easy for nontechnical users to test. And it's a prerequisite for release on browser webstores.

maxsu avatar Feb 08 '23 15:02 maxsu

One solution would be to adapt popup.js/popup.html from GPT-prompter:

https://github.com/giosilvi/GPT-Prompter/blob/master/popup.js https://github.com/giosilvi/GPT-Prompter/blob/master/popup.html

Pros: Easy to adapt; already works

Cons:

  • GPT-Prompter code is somewhat messy
  • Would require copying GPT-prompter's MIT license into the project*

* For example, a "licenses" folder could contain a file "GPT-Prompter.MIT.License"

maxsu avatar Feb 12 '23 14:02 maxsu