Show HN: Note, my simple command-line note taking app
github.com
github.com
Evernote came close to it for me before they mess their UI. Native Notes on iOS and on Mac is pretty straightforward but misses search features and is.. ugly. Ending up with several .txt files a little like OP organized in folders is also nice as it should survived most of potential future changes in term of everything and allows you to whichever editor but seems inefficient.
We've had pens and paper since ancient times, and people are still inventing new ways of organizing their notebooks.
I think "the way" might never come.
With so many definitions of what a “note” is even supposed to be, it’s no surprise that we haven’t settled on a single way to create and edit them.
Oops, just checked, mine has a backlight, and the ReMarkable is even more Closed than my MobiScribe, fail.
> the ReMarkable is even more Closed than my MobiScribe, fail.
The ReMarkable is comparatively very hackable and open, see for example https://github.com/reHackable/awesome-reMarkable/. It doesn't have a backlight though, that's true.
Are you certain about this? I was told that remarkable is open source. But I have not verified this myself. But I see tools like https://github.com/torwag/remarkableflash which suggest it is possible to recompile what software remarkable has published and then flash it on to the system. Please double check either way.
Overall, ReMarkable 1 and 2 are pretty awesome. It's a cool tool to take ton of notes without having to worry about loosing anything. Just wish their search feature was OCR. This is truly missing.
Do you ever share notes you make with it or are they purely for your own reference?
I don't think this is 100% of the reason computers don't have a universal note taking system, but it is definitely a part of it.
I've been experimenting with FSnotes[0] lately and find it be be the closest an app has come to the simplicity of nvALT
i find the search feature works well, except i have had an occasion where it stopped looking further back in time for some reason. that was actually pretty frustrating to discover.
why is it ugly? i think it looks good from the minimalist perspective. the one thing that would make me happier is if i could run it vim or have a subset of vim keybindings
It was such an eye opener for me. Others had organized notes, but I had no idea how they did that.
I don't mind the new iOS app so much UI wise, though its performance has gone to the dogs (recent issue for example was me trying to write a note in an underground car park with no signal - and it just would not load the note composer at all!)
The Windows app at least has dark mode now, though it's stuck in a weird hybrid of "classic Windows UI" versus "modern UI"
Sadly, they really don't do a good job explaining the program, but it hearkens back to the early days of hypertext theory.
Only problem is that I don't have a Windows computer anymore so I can't use Notepad++ anymore and I haven't seen anything come close to it on Macos.
What about paper? Haha. Non standard notebook sizes. Post it, tear out, sewn-bound, spiral, 3x5, 4x6, single sided, double sided, pencil, fountain pen, roller ball, blue ink, black ink, colored pens, highlighter...
Back in the day a prof. Of mine blew my mind with the question—why do we need specialized software at all? Why not create generic app-components? Pen, compass, paper/document first? Just like real life?
My Sony DPT-RP1 gets somewhat close to that idea.
* Tuesday, 06/04/13
** 10:28 Company meeting
Endless discussions about projects. Not much progress
** 11:33 Work on org-journal
For the longest time, I wanted to have a cool diary app on my
computer. However, I simply lacked the right tool for that job. After
many hours of searching, I finally found PersonalDiary on EmacsWiki.
PersonalDiary is a very simple diary system based on the emacs
calendar. It works pretty well, but I don't really like that it only
uses unstructured text.Asking for a friend.
Some noticeable differences between my script and theirs are:
1. Mine is a zero dependency ~20 line bash script.
2. Mine dates your files like YYYY-MM.txt for easy access later on and then appends to the file for a specific month.
3. Mine is designed to be used from the command line with the least amount of effort possible while giving you the most flexibility you can realistically ask for. Mine has no sub commands. You can add 1 line notes by just typing `notes hey this is my cool note` or run `notes` without arguments to open this month's notes file in your $EDITOR. It also supports taking input from stdin so you can save the output of programs or your clipboard into your notes.
There's no built in things like searching because you can grep your plain text notes at your leisure, and since the files are dated that means you can go in there and delete your notes as needed too. There's also no git integration built into the tool because your notes directory is literally a directory of plain text files. You can choose to `git init` a git repo in there if you'd like. The note tool works the same with or without it being a git repo.
This tool was created after ~20 years worth of plain text note taking. There hasn't been a commit to the project in a year because the script is basically done and works. I use it every day. There's no need to add features into it like encryption or backups because that can be handled elsewhere such as putting the notes directory into Dropbox or having a backup script reference that directory to backup (personally I rsync it with a bunch of other directories to an external HD in a daily cron job).
But it's anything but simple though, it brings along 579 dependencies.
After years of activity in the main threads I am jumping in with an note taking application I wrote over the last few days.
Why another note taking application? Because the ones I tried are really great but lack the simplicity I need. I finally decided to write one to get rid of the zillions of paper scraps with cryptic things like "7654" or "go to JK to get RF". What I needed:
- create a note directly from the command line: `<Win Key>note q my first /oh a title/ note #france<Enter>`
- quickly edit a note via its serial number or title: `note e todo`
- use my favourite editor which is much better than the one I could write
- shorten my suffering when choosing a title for a one shot note - just press enter and a readable date will be used
- tags!
- search, delete
I have many more ideas (they are in the README) and hope that this 1.0 version will be useful to someone.
I would greatly appreciate any feedback - I am an amateur developer so the code is far from nice but I tried to keep it clean and with a minimal amount of excellent ideas that later become hieroglyphic studies to understand what I meant then.
Thanks!
By the way, instead of alias, you can use setuptools to add it to your PATH[0].
[0] https://python-packaging.readthedocs.io/en/latest/command-li...
jj=joe "~/journal/$(date --rfc-3339=seconds).txt"
It worked well.
#!/bin/bash
PAST_ALL_LINES="10000000" # skipping this many lines puts us to the bottom of the file
EDITOR=/usr/bin/joe
LOGBOOK=~/.securedocs/notes.txt
if [[ ! -f ${LOGBOOK} ]]; then
echo "${LOGBOOK} is not found. Check if it exists
first?"
exit 1
fi
if [[ ! -f ${EDITOR} ]]; then
echo "${EDITOR} is not found. Install it first?"
exit 1
fi
STRING=''
if [[ ! -z "$@" ]]; then
STRING="$@ "
fi
echo -e -n "\n`date`\n===============================\n\n$STRING"|${EDITOR} +100000000 ${LOGBOOK}* supports Markdeep syntax
* notes are NOT stored in any sort of binary format. Notes should be easy to parse.
* zips up a backup of all the notes and emails it to me on a regular basis.
* allows certain notes to be encrypted (yes, I know this goes against notes being parseable) and password protected.
* notes are synced across all my devices.
For sync, I personally just use OneDrive though any other file sync service would work just as well. I use TiddlyDesktop actually and save everything as a single HTML file. TiddlyDesktop has its own backup system separate from OneDrive since it always puts the previous version into a folder before saving over it (this does need cleaning out periodically). The backup feature is actually great for resolving conflicts since the backups have unique names.
TiddlyWiki even has encryption, though I've never done it. There is a plug-in for encrypting individual tiddlers as well.
These threads are great for collecting a bunch of different implementations and looking at the various design decisions people have made. There's really a surprising amount of variety out there.
I am actually contemplating making the notes self-contained, with the tags and title as metadata (in the file)