Giter Site home page Giter Site logo

sncat's Introduction

sncat

SimpleNotes cat: pull down notes from SimpleNotes for backup, further actions


Gets email, password, destdir from ~/.sncatrc with one per line: email = [email protected]

Fetches files from SimpleNote using supplied credentials. Saves them in destdir.

If you delete a note and create a new one with the same name, behavior is indeterminate on the following sync. Sorry. On subsequent sync's it should be downloaded.

Begun 21 April 2012. Achieved desired minimum function 22 April 2012. Further development isn't terribly likely.

Done

  • save credentials / config elsewhere
  • save all files
  • don't save first line (use as filename)
  • don't save deleted notes
  • check for minimum required options (email, password, destdir?)
  • keep notes data; only update changed notes
  • delete deleted notes: beware notes with same names but different keys!
  • re-download missing files that aren't marked for deletion

TODO

  • handle collision between filenames deleted and created
    • wouldn't be an issue if keys were filenames; but less human friendly
  • allow specification of alternate .sncatrc or override values via command line arguments
  • support unicode in titles -> filenames
  • verbose(debug)/silent modes?

Someday

  • two-way syncing

Credits

License

You can use it in whatever without attribution. If you do, it's not my fault.

sncat's People

Stargazers

Tanner avatar William Blackerby avatar Todd Foster avatar

Watchers

James Cloos avatar Todd Foster 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.