Live data from Hacker News

Show HN: Code Notes – A Gatsby theme for publishing code-related notes

zander.wtf

11–20 of 32 posts

Re: Show HN: Code Notes – A Gatsby theme for publishing code-related notes

#11
This is a neat theme and site.

I have a a google doc called “unix commands” that I just add stuff onto. It started as a text file in my home directory 30 years ago and has grown to pretty much any snippet of code.

I control+F to find stuff and that works ok. I’m not sure the level of effort to reformat to this theme would pay off in benefits of easier search and reuse.

Re: Show HN: Code Notes – A Gatsby theme for publishing code-related notes

#12
post #7

Two things I look for in a note-taking app: - How quickly can I create/update/delete - How easily can I search and read I love how you have solved the second part. I have to ask, how do you handle the first part? Do you keep one editor always open to quickly edit the markdown files?

I'm super partial to Joplin. It's open source and you can keep a cloud based backup of your notes in OneDrive or other third-party cloud storage.

The notes are all markdown which is exceedingly good for code notes, with the code blocks and highlighting. And quick to pick up.

Combine with Typora for a pretty UI for your editor and you have multi-device synced notes without vendor lock-in for free.

The Android app is usable but could be a little better. Desktop is solid.

Re: Show HN: Code Notes – A Gatsby theme for publishing code-related notes

#13

who honestly keeps "notes" like this

It's something I haven't tried because I can already predict the outcome. I'd get into for a few weeks, I'd put a bunch of stuff in there, but I wouldn't be able to break the muscle memory of just using Google/DDG when I need to know something. Then I'd inevitably give up.

Respect to those who do it and it works for them though.

Re: Show HN: Code Notes – A Gatsby theme for publishing code-related notes

#14
post #13

who honestly keeps "notes" like this

It's something I haven't tried because I can already predict the outcome. I'd get into for a few weeks, I'd put a bunch of stuff in there, but I wouldn't be able to break the muscle memory of just using Google/DDG when I need to know something. Then I'd inevitably give up. Respect to those who do it and it works for them though.

Same; I installed SnippetsLab a while ago and put some stuff in it, it's neat, but I rarely find myself actually looking up stuff in there again. It's got stuff like the odd Bash line for advanced Git stuff (like looking up certain statistics), but that's rarely used.

That said, if you put it up on a website and add a short blurb, search engines can come index it, and others may be able to find and use it.

Sometimes my search ends up on a Github Gist, which will often have a bit of discussion in the comments as well.

Re: Show HN: Code Notes – A Gatsby theme for publishing code-related notes

#15

who honestly keeps "notes" like this

I do. Not code, but a mix of a custom cheatsheet, notes and blog..

It's not that elaborate, but I found it the best solution for cross platform and cross-location.

I can access it everywhere and edit it from everywhere, where I have a IDE available.

I like a 1 for all solution more then specific tools, like the specialized cheatsheet CLI tools - it gets messy after a while...

I use https://docsify.js.org/#/ at https://slashlog.org/#/

Re: Show HN: Code Notes – A Gatsby theme for publishing code-related notes

#16
post #3

Looks cool! I have been using Docusaurus[0] for this same exact use case for a while and although the primary use case is for documentation, the experience of writing notes is great too. You can write your notes in either MDX or Markdown. Search can be added using Algolia DocSearch[1] and deployment to GitHub Pages or Netlify or similar static site hosting platforms is a breeze. The only thing it's lacking is tags wh…

Docusaurus is so cool!

Probably a bit overkill for a simple blog, but it should be evaluated whenever someone is looking for a end-user friendly doc generator.

Re: Show HN: Code Notes – A Gatsby theme for publishing code-related notes

#17
post #7

Two things I look for in a note-taking app: - How quickly can I create/update/delete - How easily can I search and read I love how you have solved the second part. I have to ask, how do you handle the first part? Do you keep one editor always open to quickly edit the markdown files?

I use https://docsify.js.org/#/

It has a built in search, I dont know how good it is tough.

I edit it in my IDE. It's always in my "recent project tab" and I have the IDE open anytime I use or want to edit the notes anyway.

It doesn't need a special note-app, which makes it even easier to use it anywhere. docsify has a "edit on github"-addon, which would make it easy to even edit it in the browser.

Re: Show HN: Code Notes – A Gatsby theme for publishing code-related notes

#19
post #13

who honestly keeps "notes" like this

It's something I haven't tried because I can already predict the outcome. I'd get into for a few weeks, I'd put a bunch of stuff in there, but I wouldn't be able to break the muscle memory of just using Google/DDG when I need to know something. Then I'd inevitably give up. Respect to those who do it and it works for them though.

Ever came up with your own snippet when Google/DDG search failed to deliver?

Re: Show HN: Code Notes – A Gatsby theme for publishing code-related notes

#20
post #2

I've enjoyed all the recent HN posts about notetaking software! (Roam, org-roam, Obsidian, Zettlr, Code Notes...) It seems the main point of Code Notes is to serve a static site, but I'd love to see the author turn it into an editor by hooking up a ProseMirror [2] instance :) Out of curiosity, what solutions do others use for tags/categorization/full-text search of their notes? Code Notes seems to use FlexSearch.js […

We’re building a new note app on top of Quill. ProseMirror is great but it’s lacking a little in out of box usability. We’ll consider moving to another editor as we get more traction.

In our app, we have a dynamic flexsearch index for full text search, and support for filtering by tags in multiple ways while also doing full text search.

There are 3 techniques for categorizing. One, called contexts, is like a separate notebook. Tags and note data are totally separate from each other in each context. Within a context you have mentions (for people) and topics. Topics support heirarchy, so you can have Projects as well as projects/NoteBrook, as deeply nested as you want, and you can search for any level of nesting.

The search engine then supports full text search along with AND for tags at the same time.

If you register for an account, you also get instant sync to all your devices.

A new version is coming out this weekend, we’re still in alpha. The next version will have note favoriting, deleting, and editing, along with some better workflow for nested tags. We expect to launch the Beta in June with apps on every major platform (desktop and mobile).

If you have a chance to give us a try, please let us know how you like it! https://NoteBrook.app and the early access code is ALPHA2020. Email us at hello at NoteBrook.com

Post reply on HN