Giter Club home page Giter Club logo

not's Introduction

PyPI version

not

If anyone is interested in the halfway point between Geeknote & a random collection of .txt files in $HOME, meet me in the middle with 'not (note w/o the [e]vernote)', a low-friction, dumb as rocks, evernote based notekeeping thing.

rationale

i need to take notes on a daily basis, but i hate all note taking software

i just want to scratch down some crap in vi and save it somewhere safe and synced

Geeknote is cool (and largely inspired not), but it's super feature rich and requires extra brain workyness that I don't often have.

not and I'm done

install

for regular pip install:

pip install not

if you are cool, use pex!

pex not -c not -o ~/bin/not && pex not -c not-setup -o ~/bin/not-setup

then run the setup script:

not-setup

usage

not -- creates or updates a note using your favorite editor, stored in default notebook, named after today's date

not some_title same thing, but instead of todays date it's whatever custom title you wrote

piping via stdin also works for ultimate lazyness:

echo 'wow I am so lazy' | not

to add tags, simply add a line to your note that starts with "tags:" and then a comma separated list for example: tags: these,are,tags

don't remember the last couple notes you edited? just run

not ls

it will return a list of the last 10ish edited notes

  • all notes are plaintext
  • no notebook customization, just the default notebook
  • line breaks and html aren't handled that well, sorry
  • open to pull requests as long as the philosophy remains unchanged

not's People

Contributors

lorencarvalho avatar kennydo avatar sholsapp avatar

Stargazers

~P avatar Jamie Luck avatar Raymond C. Crandall avatar Samir Saidani avatar Mitesh avatar Grayson Chao avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

not's Issues

Markdown support?

This project is unreasonably awesome.

I write tons of my tons in markdown and I'm wondering if you're open for adding (or accepting a PR) for something like that. I'm thinking more along the lines of adding a file extension to the temp file so I get syntax highlighting, not along the lines of compiling to/from HTML so the Evernote interface displays it correctly (although, that would be awesome, it sounds hard).

Thoughts?

Tagging

Tagging would be nice so that it's easy to separate out work life from grocery life from project life, right? Or is this going down the path of too complicated and not dumb as rocks simple?

No such file or directory: '/Users/julian/.not_token'

Hi,

I kept getting this error below after running not-setup. However, after manually creating an empty file at '/Users/julian/.not_token' the error disappeared. Just thought i'd give you a heads up. Thank you!

➜ ~ not-setup
No token! run not-setup! [Errno 2] No such file or directory: '/Users/julian/.not_token'
Traceback (most recent call last):
File "/Users/julian/.anyenv/envs/pyenv/versions/2.7.9/bin/not-setup", line 9, in
load_entry_point('not==1.2', 'console_scripts', 'not-setup')()
File "/Users/julian/.anyenv/envs/pyenv/versions/2.7.9/lib/python2.7/site-packages/pkg_resources/init.py", line 552, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/Users/julian/.anyenv/envs/pyenv/versions/2.7.9/lib/python2.7/site-packages/pkg_resources/init.py", line 2672, in load_entry_point
return ep.load()
File "/Users/julian/.anyenv/envs/pyenv/versions/2.7.9/lib/python2.7/site-packages/pkg_resources/init.py", line 2345, in load
return self.resolve()
File "/Users/julian/.anyenv/envs/pyenv/versions/2.7.9/lib/python2.7/site-packages/pkg_resources/init.py", line 2351, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/Users/julian/.anyenv/envs/pyenv/versions/2.7.9/lib/python2.7/site-packages/notpy/oauth.py", line 6, in
import config
File "/Users/julian/.anyenv/envs/pyenv/versions/2.7.9/lib/python2.7/site-packages/notpy/config.py", line 18, in
TOKEN = token
NameError: name 'token' is not defined

failures result in lost messages

mn: ~ → not mobile_training
Traceback (most recent call last):
File "/usr/local/bin/not", line 8, in
load_entry_point('not==1.0', 'console_scripts', 'not')()
File "build/bdist.macosx-10.9-intel/egg/notpy/cmd.py", line 58, in cli
These are often useful for test harnesses, administrative tools, and
File "build/bdist.macosx-10.9-intel/egg/notpy/init.py", line 72, in save
File "build/bdist.macosx-10.9-intel/egg/evernote/api/client.py", line 138, in delegate_method
File "build/bdist.macosx-10.9-intel/egg/evernote/edam/notestore/NoteStore.py", line 4601, in createNote
File "build/bdist.macosx-10.9-intel/egg/evernote/edam/notestore/NoteStore.py", line 4625, in recv_createNote
evernote.edam.error.ttypes.EDAMUserException: EDAMUserException(errorCode=11, parameter="The entity name must immediately follow the '&' in the entity reference.")

Add flags to make notes public (or private)

It'd be cool if there was a --public flag so that the created note is automatically shared publicly, and the share-able URL is printed to stdout.

--public would make a note public if it wasn't already public, and it can be made private again by calling not --private.

I think we'd use shareNote and stopSharing.

makes `ls` results selectable

like:

osx ~/src/not git:master ❯❯❯ not ls
10 most recently edited notes:
 1 - 2016-04-26
 2 - fooasf
 3 - foo
...
Select a note!
>> 1

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.