Mount your Standard Notes account as a filesystem and edit your notes as plain text files.
This allows you to edit your notes in your favorite text editor, use standard *nix programs and Bash scripts to manipulate them, or back them up with rsync.
This is an unofficial Standard Notes client.
$ snfs ~/notes
Please enter your Standard Notes username: tanner@example.com
Please enter your password (hidden):
$ tree ~/notes
/home/tanner/notes
├── Accounts.txt
├── Books.txt
├── Checklists.txt
├── Invention Ideas.txt
├── News Notes.txt
├── Shopping.txt
├── standardnotes-fs.txt
├── Todo.txt
└── Wifi.txt
0 directories, 31 files
$ cat ~/notes/Todo.txt
V Get groceries
V Laundry
X Replace kitchen light
O Write standardnotes-fs readme
O Release standardnotes-fs
$ vim ~/notes/Shopping.txt
$ rsync -Wa ~/notes/ ~/notes_backup/
Unmount the directory:
$ fusermount -u ~/notes
Logout to switch accounts (optional):
$ snfs --logout
usage: snfs [-h] [--username USERNAME] [--password PASSWORD] [-v]
[--foreground] [--sync-sec SYNC_SEC] [--sync-url SYNC_URL]
[--no-config-file] [--config CONFIG] [--logout]
[mountpoint]
positional arguments:
mountpoint local mountpoint folder
optional arguments:
-h, --help show this help message and exit
--username USERNAME Standard Notes username to log in with
--password PASSWORD Standard Notes password to log in with
NOTE: It is NOT recommended to use this option!
The password may be stored in history, so
use the password prompt instead.
-v, --verbosity output verbosity -v or -vv (implies --foreground)
--foreground run standardnotes-fs in the foreground
--sync-sec SYNC_SEC how many seconds between each sync. Default: 30
--sync-url SYNC_URL URL of Standard File sync server. Defaults to:
https://sync.standardnotes.org
--no-config-file don't load or create a config file
--config CONFIG specify a config file location. Defaults to:
/home/tanner/.config/standardnotes-fs/standardnotes-fs.conf
--logout delete login credentials saved in config and quit
Install dependencies:
$ sudo apt-get install fuse python3 python3-pip
Install standardnotes-fs and login:
$ sudo pip install standardnotes-fs
$ snfs ~/notes
Please enter your Standard Notes username: tanner@example.com
Please enter your password (hidden):
Install standardnotes-fs and login:
$ pip install --user standardnotes-fs
$ python -m snfs ~/notes
Please enter your Standard Notes username: tanner@example.com
Please enter your password (hidden):
Note: if you don't want to use the python -m
prefix, you'll need to add python's local bin directory to your $PATH
.
Install dependencies: https://osxfuse.github.io/
$ brew install python3
Install standardnotes-fs and login:
$ pip install standardnotes-fs
$ snfs ~/notes
Please enter your Standard Notes username: tanner@example.com
Please enter your password (hidden):
Account > Download Data Archive
in the official Standard Notes client.--no-config-file
.This program is free and open-source software licensed under the GNU GPLv3. Please see the LICENSE
file for details.
That means you have the right to study, change, and distribute the software and source code to anyone and for any purpose as long as you grant the same rights when distributing it. You deserve these rights. Please take advantage of them because I like pull requests and would love to see this code put to use.
Thanks to all the devs behind Standard Notes, Udia, Python, libfuse and FUSE.
Version | Tag | Published |
---|---|---|
0.0.2 | 5yrs ago | |
0.0.1 | 5yrs ago |