Code Monkey home page Code Monkey logo

standardnotes-folder-export-cli's Introduction

Standard Notes Folder Export CLI - Deno

This is a small and simple CLI script to convert a decrypted Standard Notes Backup/Export into a structure of <tag>/<note-title>.<file-extension>.

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)

# 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)

$ 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

# 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

$ git tag -s 1.0.x
$ git push origin --tags

standardnotes-folder-export-cli's People

Contributors

brunobernardino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.