Skip to content

Commit aebf177

Browse files
committed
docs: Add basic instructions on how to use the project
1 parent 223ab73 commit aebf177

9 files changed

Lines changed: 94 additions & 2 deletions

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
15

README.md

Lines changed: 92 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,94 @@
1-
# Evernote to Raindrop.io Exporter
1+
# ⛳️ Evernote to Raindrop.io Exporter
22

33
Export your [Evernote](https://evernote.com)-Notes that contain a url (usually added by the Evernote Webclipper) to [raindrop.io](https://raindrop.io).
4+
5+
![program flow](./docs/program_flow.gif)
6+
7+
## Highlights
8+
9+
- Exports all of your Evernote notes or notes from only specific notebooks or notes from stack of notebooks
10+
- Migrates your notebook-structure to Raindrop collections
11+
- Migrates all your tags
12+
- Keeps the original date when your Evernote note was first created intact
13+
- Should work with large datasets, I used it to import 13.000 notes
14+
15+
## How to run
16+
17+
### ☝️ Backup your data
18+
19+
Before you proceed it is imperative to backup your data. This script has only been tested with my notes and my data and everything went fine, but due to this I cannot guarantee that you will like the end result. So please make sure that you can revert the changes.
20+
21+
To backup your data:
22+
23+
1. Go to the backup-tab in raindrops-settings: https://app.raindrop.io/settings/backups and choose one of the options there.
24+
25+
### 🧐 Generate API-Tokens
26+
27+
This script uses the Evernote and Raindrop APIs to work, so you will need to create an API-Token for both applications. You will be asked for the tokens when you first open the app. You only need to do this once.
28+
29+
#### Evernote
30+
31+
The most up-to-date information can probably be found in the [Evernote Documentation](https://dev.evernote.com/doc/articles/dev_tokens.php)
32+
33+
These are the general steps:
34+
35+
1. Go to https://www.evernote.com/api/DeveloperToken.action
36+
2. Click "Create developer token"
37+
3. Copy the token and keep it around until the importer prompts you for it
38+
39+
![Evernote token](./docs/en_developer_token.png)
40+
41+
#### Raindrop.io
42+
43+
1. Go to https://app.raindrop.io/settings/integrations
44+
2. Under "For Developers", click "Create new app"
45+
3. Provide a name of your choosing, eg. "Evernote Import"
46+
4. Accept the terms and click "Create"
47+
5. Click on your newly created app, an overlay opens
48+
6. Click "Create test token"
49+
7. The combination of number and letters is the token you require. Copy it and keep it around until you are asked for it.
50+
51+
![Raindrop Token](./docs/rd_create_test_token.png)
52+
53+
### 💯 Install and run the app
54+
55+
#### Binary
56+
57+
1. For Mac a binary is provided for your convenience. You can download it [here](https://github.com/luhmann/evernote-to-raindrop-exporter/releases/download/latest/etr).
58+
2. Put it somewhere on your computer. Open your terminal at that location and do `./etr`.
59+
60+
#### From Source
61+
62+
For all other platforms or if you want to compile yourself:
63+
64+
0. Make sure you have at least node >= 14
65+
1. Clone this repository
66+
2. `npm install`
67+
3. `npm start`
68+
69+
#### Choosing Options
70+
71+
You will be interactively asked for the developer tokens and can then make a choice about what you want to import to raindrop.io:
72+
73+
![Token Entry Dialog](./docs/token-entry-dialog.png)
74+
75+
It worked when your evernote notebooks could be successfully loaded.
76+
77+
#### 🚨 Whats up with all the warnings?
78+
79+
![warnings](./docs/warnings.png)
80+
81+
![warnings_2](./docs/warnings_2.png)
82+
83+
**Explanation:** It is likely that you do not only have links in the notebooks you selected. This is for example true for every note you just used to write some text down, or if you uploaded a PDF. These notes cannot be imported into Raindrop because it is not a notetaking app. Only notes that have links attached will be imported. This is most commonly true for notes that were created by using the Evernote Web Clipper.
84+
85+
### 🤕 Restore a backup
86+
87+
You can import the html-file you saved when you backed up the data at: https://app.raindrop.io/settings/import
88+
89+
## Limitations
90+
91+
- Migrates only notes that have urls attached (usually created with the great Evernote Web-Clipper on Desktop or Mobile). So it is currently not possible to import urls that contain PDFs or Images, even though Raindrop would theoretically support those.
92+
- Will not check during import if links already exist in raindrop (but raindrop will mark them as duplicates).
93+
- Will not check during import if links are broken. Raindrop will mark them as broken, but if the content is not available anymore you will not have the content available there, even though you still see it in Evernote.
94+
- Only tested on Mac. Binary only provided on Mac (because I have no Windows or Linux Systems to test on)

docs/en_developer_token.png

310 KB
Loading

docs/program_flow.gif

1.58 MB
Loading

docs/rd_create_test_token.png

37.6 KB
Loading

docs/token-entry-dialog.png

100 KB
Loading

docs/warnings.png

147 KB
Loading

docs/warnings_2.png

68 KB
Loading

src/lib/raindrops.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export const createRaindrops = (
162162
(chunk) =>
163163
batchCreateRaindrops(chunk).pipe(
164164
catchError((err) => {
165-
log.error("Failure while creating batch of raindrops", err);
165+
log.debug("Failure while creating batch of raindrops", err);
166166
return of([]);
167167
})
168168
),

0 commit comments

Comments
 (0)