You are not logged in.
Hi there,
two weeks ago I started a project to manage notes on the commandline. Because I wrote it in python I decided to call it pynote.
Github: https://github.com/rumpelsepp/pynote
Bugtracker: https://github.com/rumpelsepp/pynote/issues
Docs: https://docs.sevenbyte.org/pynote
Pypi Package: https://pypi.python.org/pypi/pynote/
AUR Package: https://aur.archlinux.org/pkgbase/pynote/
This is my very first open source project so please avoid too hard criticism. If you have suggestions or questions use my redmine bugtracker or just post in this forum thread. :-)
Last edited by rumpelsepp (2016-05-20 14:00:25)
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
It is a really nice app: exactly what I have been looking for. Thank you very much!
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
It is a really nice app: exactly what I have been looking for. Thank you very much!
Very nice to read something this. Thank you! :)
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
This looks like an interesting program. While I have not tried it yet, I did
notice a typo on https://pypi.python.org/pypi/pynote/0.1b3
trash to ensure you do not loose any data
I would change that to
trash to ensure you do not lose any data
We wants it, we needs it. Must have the precious. Arch Linux.
Offline
This looks like an interesting program. While I have not tried it yet, I did
notice a typo on https://pypi.python.org/pypi/pynote/0.1b3trash to ensure you do not loose any data
I would change that to
trash to ensure you do not lose any data
oh... thanks! I will fix it.
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
This is great for taking some notes and keeping them all together in one place.
I do have a request though, when viewing a note
note show 1
If I wanted to save the note outside of pynote without the header, I would have to do something like this.
note show 1 | tail -n +9 > some_note
Is it possible for a print or quiet option without the header?
The header I'm talking about from container.py
string = ('+-------------------------------------------------+\n'
'| title: {0}\n'
'| created: {1}\n'
'| updated: {2}\n'
'| revision: {3}\n'
'| uuid: {4}\n'
'+-------------------------------------------------+\n'
'\n'
'{5}\n').format(self.title, created, updated, self.revision,
self.uuid, self.content)
return string
I could probably hack something up myself if need be. Thanks
We wants it, we needs it. Must have the precious. Arch Linux.
Offline
If I wanted to save the note outside of pynote without the header, I would have to do something like this.
note show 1 | tail -n +9 > some_note
Is it possible for a print or quiet option without the header?
Maybe like this?
note show 1 -n
note show 1 --no-header
Do we need an export/import function to plain text files?
Last edited by rumpelsepp (2013-12-21 17:24:48)
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
Maybe like this?
note show 1 -n note show 1 --no-header
That would work for me.
Do we need an export/import function to plain text files?
I think that would be a great idea. That way would help to keep a bunch of misc. text files together in one place,
or if you needed to save a note somewhere else.
We wants it, we needs it. Must have the precious. Arch Linux.
Offline
Maybe like this?
note show 1 -n note show 1 --no-header
That would work for me.
Ok, I will implement this. I think I will put it in the next beta release.
Do we need an export/import function to plain text files?
I think that would be a great idea. That way would help to keep a bunch of misc. text files together in one place,
or if you needed to save a note somewhere else.
I will adopt this in the future version 0.2. But I need some help and discussion here.
My thoughts about import/export:
Implement the --no-header option as well.
How do we export the metadata? I think we need at least the uuid to be able to sync changes back. My idea about syncing is:
Export a note to a plain text file.
Change the textfile and import it again.
The note is recognized by the uuid and a new revision is created if there are any changes.
The other way round is also possible.
Maybe export the note and a json file (same filename) with the metadata. With --no-header passed just neglect the json file. Any better ideas?
How should the command line interface look like?
Do we need other data formats for exporting? (YAML, JSON, CSV, ...)
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
Maybe like this?
note show 1 -n note show 1 --no-header
That would work for me.
I implemented this, see here: http://cgit.sevenbyte.org/pynote/commit … 539de2375f
It should be available in the most recent pynote-git package.
I noticed that the argparse code in pynote.__main__ is really ugly...
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
Thanks for the --no-header option, it works great.
I will adopt this in the future version 0.2. But I need some help and discussion here.
My thoughts about import/export:
Implement the --no-header option as well.
How do we export the metadata? I think we need at least the uuid to be able to sync changes back. My idea about syncing is:
Export a note to a plain text file.
Change the textfile and import it again.
The note is recognized by the uuid and a new revision is created if there are any changes.
The other way round is also possible.
Maybe export the note and a json file (same filename) with the metadata. With --no-header passed just neglect the json file. Any better ideas?
How should the command line interface look like?
Do we need other data formats for exporting? (YAML, JSON, CSV, ...)
I'm not sure what would be a better idea for that. The command line interface works good for me, I guess it
depends if you need to add more features or not.
Maybe it would be best if there was some kind of exports template. If someone needs a different type of export,
it would be easier to code a new front|back end for it. I personally don't need any other format for myself right now.
We wants it, we needs it. Must have the precious. Arch Linux.
Offline
I decided to release pynote 0.1 today is a christmas present. The Release Notes and (little) update instructions are here: http://redmine.sevenbyte.org/news/8
Merry Christmas!
Last edited by rumpelsepp (2013-12-24 14:03:05)
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
Hi, is there any plan to introduce an option to show all the notes, like 'note show all' ? Also is there a way to edit the title?
And thanks for the software!
Is man one of God's blunders? Or is God one of man's blunders?
Friedrich Nietzsche
Offline
Hi, is there any plan to introduce an option to show all the notes, like 'note show all' ?
What shall this option do in detail?
Also is there a way to edit the title?
The edit of the title has not been implemented yet. I will add a ticket for version 0.2. (-> http://redmine.sevenbyte.org/issues/292)
$ note edit 1 --title
And thanks for the software!
:-)
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
For 'note show all' i meant like show the detailed view of the notes, but for all the active notes instead of just 1.
Is man one of God's blunders? Or is God one of man's blunders?
Friedrich Nietzsche
Offline
For 'note show all' i meant like show the detailed view of the notes, but for all the active notes instead of just 1.
Ok. I have created a ticket as well. (-> http://redmine.sevenbyte.org/issues/293)
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
Thanks, will wait for the next version.
Is man one of God's blunders? Or is God one of man's blunders?
Friedrich Nietzsche
Offline
Thanks, will wait for the next version.
Jo.
Feel free to create any patches if you want. (see here: http://cgit.sevenbyte.org/pynote/tree/CONTRIBUTING) :-)
The next version will take a few weeks because I have exams in university next months...
Last edited by rumpelsepp (2013-12-28 16:37:16)
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
Today I finished the german localisation. If you are from a german speaking country you should see a translated help page in the most recent pynote-git package.
If somebody wants to translate pynote into another language just let me know.
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
Nice job on your first project.
I have been looking for a console based note management application and this is a great start. I am kinda looking for a Evernote replacement that is console based and using local storage instead of cloud sync.
Suggestion:
Add the ability to create notebooks or separated lists.
note list all
- This could list all the notes in the json data file
note list list1
- This could list all the notes in the list1 list/notebook
Beginners' Guide
A guide to Arch Linux installation and setup, for newbies.
Arch Wiki
Your first stop before asking questions!
Offline
Nice job on your first project.
I have been looking for a console based note management application and this is a great start. I am kinda looking for a Evernote replacement that is console based and using local storage instead of cloud sync.
Suggestion:
Add the ability to create notebooks or separated lists.
note list all
- This could list all the notes in the json data file
note list list1
- This could list all the notes in the list1 list/notebook
Thank you very much for your feedback!
I want to implement tags in future (every note object currently has an empty tag list, so we do not have to convert the json data in future). But I think your suggestion can be accomplished with tags, can't it?
$ note list -t TAG
$ note list --tags=TAG
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
Yeah tags would also do this job well.
I look forward to seeing future updates to this project.
Beginners' Guide
A guide to Arch Linux installation and setup, for newbies.
Arch Wiki
Your first stop before asking questions!
Offline
For 'note show all' i meant like show the detailed view of the notes, but for all the active notes instead of just 1.
I implemented this here: http://cgit.sevenbyte.org/pynote/commit … 40906a61f9
It is available in the updated pynote-git package.
note show --all
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline
nsmathew wrote:For 'note show all' i meant like show the detailed view of the notes, but for all the active notes instead of just 1.
I implemented this here: http://cgit.sevenbyte.org/pynote/commit … 40906a61f9
It is available in the updated pynote-git package.note show --all
Thanks. Just tried it, this works fine.
Is man one of God's blunders? Or is God one of man's blunders?
Friedrich Nietzsche
Offline
Hi, is there any plan to introduce an option to show all the notes, like 'note show all' ? Also is there a way to edit the title?
And thanks for the software!
Implemented with http://cgit.sevenbyte.org/pynote/commit … daef526c43
Available in the most recent pynote-git package as well.
$ note edit KEY --title
Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).
Offline