TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using sqlite3 as a notekeeping document graph

303 pointsby harporoederalmost 4 years ago

11 comments

cartoonworldalmost 4 years ago
This ranks anywhere from &quot;nerdy humble brag&quot; to &quot;absurdly impractical&quot; on usage, but what an innovative way to get extremely familiar using sqlite3. I like it.<p>Sick of people reading your journal? Do your worst, <i>MOM</i>.
评论 #27721011 未加载
quaintdevalmost 4 years ago
I run a self hosted notes application[1] on raspberry pi at home. I have been thinking about moving from .md files to sql. Both seem to have their own pros&#x2F;cons. With SQLLite, I get easy search, tagging while with .md files I get easy editing and viewing by mapping networked drive.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;quaintdev&#x2F;pinotes" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;quaintdev&#x2F;pinotes</a>
评论 #27722058 未加载
评论 #27725894 未加载
评论 #27722928 未加载
criddellalmost 4 years ago
HN loves notes applications and I always click through and am almost always disappointed. Am I unusual here in that my notes are not all text? If you look in my notebooks (digital or physical) there are sketches and images on almost every page.
评论 #27724922 未加载
评论 #27728901 未加载
评论 #27724957 未加载
评论 #27724068 未加载
Pamaralmost 4 years ago
Here is the direct link to the Bibliothecula project (it might be just me but it was not so easy to find): <a href="https:&#x2F;&#x2F;github.com&#x2F;epilys&#x2F;bibliothecula#tooling" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;epilys&#x2F;bibliothecula#tooling</a>
laurent123456almost 4 years ago
FTS is great but it&#x27;s a solution that&#x27;s designed to work mostly with the English language. For other languages, with accents and so on, you would probably want to normalise the FTS data first by removing the accents.<p>For Chinese, Arabic and so on you&#x27;ll need to a custom tokenizer which may or may not be available on your target platform.
评论 #27725623 未加载
rzzztalmost 4 years ago
Slightly off-topic: where&#x2F;when does it make sense to &quot;spend&quot; the 5-6 bits in a version 4 (random) UUID to indicate which version and variant it is?
评论 #27720994 未加载
fsiefkenalmost 4 years ago
Wow, thanks for documenting the idea, this could be a nice alternative to my tiddlywiki markdown setup. I could do all kinds of queries on my knowledge base. Still I could use grep as well for document counts and lists. It&#x27;s neat that it&#x27;s all in one compressed sqlite file - but I can tar ball my markdown directory as well. The only benefit I see is that I can use sql to query my documents and it seems like a step up from org-mode tables by using database tables.<p>It would be nice if there was cgi script that could serve a sorted and paged index with links to the html, md or gmi to a web or&#x2F;and gemini browser.
评论 #27722595 未加载
toddmoreyalmost 4 years ago
Bear Notes, the popular note taking app for Mac, stores data in sqlite for many of the same reasons the author mentions here.<p>Bear organizes with &quot;live folders&quot; based on tags added to the document, powered by sqlite.
Johnyma22almost 4 years ago
btw you can use Etherpad for this too, bonus points is that it has real-time collabo and a bunch of other powerful tools! :)
gandalfgeekalmost 4 years ago
This is massive overkill for notes. Simple grep or org mode will do. You don’t need an indexing and querying engine at this scale.
评论 #27727998 未加载
axiom92almost 4 years ago
IMO <a href="https:&#x2F;&#x2F;roamresearch.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;roamresearch.com&#x2F;</a> offers a more practical way of maintaining notes using graphs.
评论 #27723604 未加载
评论 #27727224 未加载