writing icon indicating copy to clipboard operation
writing copied to clipboard

Enhancement : Load or Save to Github Gist

Open foopod opened this issue 7 years ago • 6 comments

Could look at using the Gist API for this.. https://developer.github.com/v3/gists/

foopod avatar Oct 18 '17 09:10 foopod

Mind if I take on this issue?

the-pat avatar Oct 24 '18 21:10 the-pat

It looks like GitHub no longer supports anonymous gist creation (1) and requires a server to authenticate using OAuth (2). Gatekeeper looks like a pretty simple tool to use, but would require a backend (e.g. Heroku or Azure).

the-pat avatar Oct 24 '18 22:10 the-pat

I'd like to advice you that this repository is sadly mostly abandoned. I already thought about creating a primary fork where we could continue development, but unfortunately don't have enough time or any contact to @josephernest about this or something.

The addition of Gist support would be great in my opinnion. However, I don't really know if requiring a backend is in the spirit of this project. Are there any other options?

Steve2955 avatar Oct 25 '18 03:10 Steve2955

It is not abandoned @Steve2955 but the spirit of this repo is to keep it "simple and stupid" / minimalist with quite short code, and that should run on client-side only, without any server.

Of course we could add more features, with a backend server:

  • PDF generation on backend,
  • user management (passwords, sending emails efficiently for a"I lost my password" feature, this is non-trivial and usually the only solution that scales and works 99,99% is a (payed) dedicated mail service like SendGrid),
  • save/load features
  • (then we also need to fight against spam who fill the storage disk with random data!),
  • GDPR compliance since we store user data (what if someone stores his PhD thesis on it and there is data loss? GDPR is really strict about such things nowadays),
  • a .com or .io domain name, hope for donations to pay the costs on long term, etc.

but it would be a bigger project, and I think such projects already exist (like stackedit.io, etc.)

What do you think?

josephernest avatar Oct 25 '18 08:10 josephernest

@josephernest I'm sorry of this false accusation, but I haven't seen you active on this repository for months, although there are new pull-requests.

Steve2955 avatar Oct 25 '18 15:10 Steve2955

The project is online, working without any critical bug, so not being active for a few months doesn't mean 'abandoned' ;)

josephernest avatar Oct 25 '18 15:10 josephernest