Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an API key config dialogue #1

Open
maxsu opened this issue Feb 8, 2023 · 1 comment
Open

Add an API key config dialogue #1

maxsu opened this issue Feb 8, 2023 · 1 comment

Comments

@maxsu
Copy link

maxsu commented Feb 8, 2023

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
Copy link
Author

maxsu commented Feb 12, 2023

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"

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

No branches or pull requests

1 participant