Drift icon indicating copy to clipboard operation
Drift copied to clipboard

Import Gists to Drift

Open MaxLeiter opened this issue 2 years ago • 2 comments

not very important, but would be a nice addition for on-boarding.

MaxLeiter avatar Mar 20 '22 19:03 MaxLeiter

What did you have in mind for this feature?

Gist does provide an API, but for any private gist, the API needs to be authorized. I can see us creating a GitHub OAuth app for the demo page; but I don't think we should make someone that want to self-host Drift to create a Github OAuth App... or maybe they would?

Maybe we can limit to just public Gists for now, and see how / if it evolves 🤷

jazcarate avatar Apr 04 '22 19:04 jazcarate

I'm fine with starting with public gists (maybe not even per-github-account, just the ability to have the user provide a link and 'copy from github').

I'm not too experienced with the GH API, but can we have the user provide a personal access token?

MaxLeiter avatar Apr 05 '22 00:04 MaxLeiter