|
1 |
| -# Pensieve |
2 |
| - |
3 |
| -## Next |
4 |
| -- [] Sketchpad? |
5 |
| - - Right click => Create note from selection |
6 |
| - |
7 |
| -## Sync |
8 |
| -- make queue |
9 |
| -- add all notes sorted by modified date |
10 |
| -- those notes should be fetched |
11 |
| - - max 1 per second? |
12 |
| - - slow down will proportional to last modified date |
13 |
| - - find function name que hace así: __/‾‾ |
14 |
| -- when listing notes |
15 |
| - - detect all notes with changed `modified` date |
16 |
| - - add them to queue |
17 |
| -- when reading notes |
18 |
| - - remove them from queue |
19 |
| - |
20 |
| -### how |
21 |
| -- https://github.com/amatiasq/better-gists/blob/6c5a79cc3908592ed6a53461d48205177d6504f3/src/4-storage/middleware/MixedStore.ts#L17-L38 |
22 |
| - - needs to go to Store |
23 |
| - - or emit an event captured by Store |
24 |
| - - put them first |
25 |
| - |
26 |
| -## Nice to have |
27 |
| -- Rename group |
28 |
| -- Push note to top |
29 |
| -- Light theme |
30 |
| -- Link {{other notes}} |
31 |
| -- Share as gist |
32 |
| -- Design settings page |
| 1 | +# [Pensieve](https://pensieve.amatiasq.com) |
| 2 | + |
| 3 | +Notes saved in your private Github repository. |
| 4 | + |
| 5 | +## Features |
| 6 | + |
| 7 | +- [Configurable](https://pensieve.amatiasq.com/settings) for settings and shortcuts (`CMD+,`) |
| 8 | +- Installable from Chrome. This is required for some shortcuts to work. |
| 9 | +- Works offline for notes opened in the past |
| 10 | + |
| 11 | +### Organisation |
| 12 | + |
| 13 | +- First line of the file is the filename |
| 14 | +- Folders are created by adding slash (`/`) to the filename |
| 15 | +- Change syntax highlighting by adding extension to the filename |
| 16 | +- Sorted by creation date |
| 17 | +- Star notes you want always at the top |
| 18 | + |
| 19 | +### Writing |
| 20 | + |
| 21 | +- Markdown enabled by default |
| 22 | +- Autosave after 5 seconds of inactivity |
| 23 | +- History of changes visible in Github as commits |
| 24 | +- Same text editor as VS Code (Monaco editor) which includes |
| 25 | + - Automatic identation |
| 26 | + - Syntax highlighting |
| 27 | + - Multiple cursors |
| 28 | + - Typescript validation |
| 29 | +- Convert regex matches into links. Default settings converts [user/repo] into a Github link |
| 30 | +- Custom highlighting with regex. Default settings show ~~strikethrough~~ and @user in different colors |
| 31 | + |
| 32 | +## Caveats |
| 33 | + |
| 34 | +- When switching devices notes list is not updated, refresh the page to see |
| 35 | +- Opening a note takes a few seconds in mobile for unknown reason |
| 36 | + |
| 37 | +## Changelog |
| 38 | + |
| 39 | +### 1.1 Custom highlighting |
| 40 | + |
| 41 | +Pensieve 1.1 release has been successful with new features like |
| 42 | + |
| 43 | +- [custom/links] |
| 44 | +- custom highlighting as ~~strikethrough~~ or @username |
| 45 | +- all based on RegExp and documented by example in Settings [CMD+,] |
| 46 | + |
| 47 | +After a year of usage Pensieve has generated |
| 48 | + |
| 49 | +- 6500 commis |
| 50 | +- 16mb of data of which |
| 51 | + - one third is actual notes content |
| 52 | + - another third is metadata |
| 53 | + - and the remaining third is git files |
| 54 | + |
| 55 | +```sh |
| 56 | +~/pensieve-data main > du -sh . .* * |
| 57 | + 16M . |
| 58 | +5.2M .git |
| 59 | +4.8M meta |
| 60 | +5.5M note |
| 61 | +4.0K settings.json |
| 62 | +4.0K shortcuts.json |
| 63 | +``` |
0 commit comments