Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BrunoBernardino/standardnotes-folder-export-cli
Standard Notes Folder Export CLI - Deno
https://github.com/BrunoBernardino/standardnotes-folder-export-cli
cli deno export standardnotes
Last synced: 3 months ago
JSON representation
Standard Notes Folder Export CLI - Deno
- Host: GitHub
- URL: https://github.com/BrunoBernardino/standardnotes-folder-export-cli
- Owner: BrunoBernardino
- Archived: true
- Created: 2022-06-04T11:07:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-04T12:41:20.000Z (over 2 years ago)
- Last Synced: 2024-09-16T15:07:40.502Z (5 months ago)
- Topics: cli, deno, export, standardnotes
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- awesome-standard-notes - Standard Notes Folder Export CLI - Simple CLI script to convert a decrypted Standard Notes Backup/Export into a structure of `<tag>/<note-title>.<file-extension>`. (Tools / Importers, Exporters, and Converters)
README
# Standard Notes Folder Export CLI - Deno
[![](https://github.com/BrunoBernardino/standardnotes-folder-export-cli/workflows/Run%20Tests/badge.svg)](https://github.com/BrunoBernardino/standardnotes-folder-export-cli/actions?workflow=Run+Tests)
[![](https://shield.deno.dev/x/standardnotes_folder_export)](https://deno.land/x/standardnotes_folder_export)This is a small and simple CLI script to convert a decrypted Standard Notes
Backup/Export into a structure of `/.`.Standard Note's Backup/Export tool exports a single `.txt` file in JSON format,
and all notes in a single directory, which isn't very portable. This script
requires that file to exist in the same directory. It should be called
`Standard Notes Backup and Import File.txt` (default name).No data ever leaves your device with this.
## Requirements
This was tested with `[email protected]`, though it's possible older versions might
work.There are no other dependencies. **Deno**!
## Usage (no install)
```sh
# For exporting notes as *.txt files into an "exports" directory
$ deno run --allow-read --allow-write https://deno.land/x/[email protected]/main.ts# For exporting notes as *.md files into an "exported" directory
$ deno run --allow-read --allow-write https://deno.land/x/[email protected]/main.ts --file-extension=md --output-directory=exported
```## Usage (install)
```sh
$ deno install --allow-net https://deno.land/x/[email protected]/main.ts# For exporting notes as *.txt files into an "exports" directory
$ standardnotes_folder_export# For exporting notes as *.md files into an "exported" directory
$ standardnotes_folder_export --file-extension=md --output-directory=exported
```## Development
```sh
# For exporting notes as *.txt files into an "exports" directory
$ make start# For exporting notes as *.md files into an "exported" directory
$ deno run --allow-read --allow-write main.ts --file-extension=md --output-directory=exported# format
$ make format# test
$ make test
```## Deployment
```sh
$ git tag -s 1.0.x
$ git push origin --tags
```