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 Google Keep converter #11

Merged
merged 2 commits into from
May 3, 2019
Merged

Add Google Keep converter #11

merged 2 commits into from
May 3, 2019

Conversation

vantezzen
Copy link
Contributor

@vantezzen vantezzen commented Apr 28, 2019

Hello,

StandardNotes currently offers a Evernote and Plaintext to StandardNotes converter on its tools page. This is why I request adding a Google Keep to StandardNotes converter to this page as well to make switching to StandardNotes as easy as possible for everyone. I hope this is the right repository to do so.

I am currently maintaining a standalone Google Keep to StandardNotes converter outside of StandardNotes, but I wouldn't want people to rely on a unknown, untrusted third-party to convert possibly confidential notes.

This PR will merge my Google Keep to StandardNotes converter into the StandardNotes tools page. When adding the converter to the final page, I suggest adding a tutorial like this:

  1. Please visit https://takeout.Google.com/settings/takeout and download the archive for Google Keep™.
  2. Extract your Google Takeout™ locally, then select the contents of the "Keep" folder

This converter currently only converts raw text, not converting any HTML styling as styling is not supported in the free StandardNotes editor though keeping HTML styles should be easily possible by replacing contentElement.innerText.replace(/☐\n/g, '☐').replace(/☑\n/g, '☑'); in lib/sntools.js, line 191 with contentElement.innerHTML.

@moughxyz
Copy link
Member

Hey @vantezzen, thanks for this! In order for this to actually be used, I'll need to update the website code as well where the conversion happens (dashboard.standardnotes.org/tools) to add a Google Keep section. I'll need at least a week before I can get to this, but it could be longer. But I'll keep this thread unread in my inbox until I can get to it. Thanks again 🙏

@moughxyz moughxyz merged commit e430c15 into standardnotes:master May 3, 2019
@moughxyz
Copy link
Member

moughxyz commented May 3, 2019

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.

2 participants