brassica
Trilium Notes
brassica | Trilium Notes | |
---|---|---|
7 | 278 | |
21 | 25,378 | |
- | - | |
8.2 | 9.6 | |
30 days ago | 18 days ago | |
Haskell | JavaScript | |
GNU General Public License v3.0 or later | GNU Affero General Public License v3.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
brassica
-
Calling Haskell from Swift
I’ve done something like this before to call Haskell from C++ (in [0]), so that I can build my GUI using Qt. It worked pretty well, except that I ran into various difficult-to-resolve linking problems on both Windows and Linux. After a year or two of trying to maintain it, I gave up and switched to a protocol where both sides pass JSON over stdin/stdout. This particular piece of software doesn’t require a huge amount of communication or shared data, so it works well enough.
The really nice thing about the original interop code, though, is that GHC’s new WASM backend uses essentially the same foreign function interface to export functions to JavaScript. So with only some minor modifications, I was able to get the same program working on a webpage [1], which I think is pretty cool.
[0] https://github.com/bradrn/brassica
[1] At the risk of DDOS’ing my poor little home server: https://bradrn.com/brassica/
-
Haskell WebAssembly in the Browser
GHC’s WASM backend is already really useful! I also used it to port one of my own programs to the browser [0], albeit not using the DOM as this person did. Documentation is still sparse, but it’s a very similar process to creating a shared foreign library.
[0] https://github.com/bradrn/brassica
-
GUI development with Rust and GTK 4
No experience with Rust, but for a couple of personal projects I’ve written the logic in Haskell and the GUI in C++ (e.g. https://github.com/bradrn/brassica/blob/master/ARCHITECTURE....). It works pretty well, at least for smaller projects — the basic idea is that the Haskell code gets compiled into a library (static on Windows, dynamic on Linux) which the C++ side can link to. I’d imagine doing the same with Rust would be even easier, since it’s less of a pain to marshal stuff across the language barrier.
-
Ask HN: What are your “scratch own itch” projects?
The biggest one for me is undoubtedly my custom keyboard layout Conkey [0], which I use constantly (including for typing this very comment). I hate the way the base US layout tends to get distorted in other keyboard layouts with good support for non-ASCII characters, so Conkey had the explicit goal of retaining that basic unshifted layout. I’ve also ended up porting Conkey to Mac and Linux — and given that I’m slowly switching from Windows to Linux, at least the Linux ports have ‘scratched my own itch’ too, which is nice.
Also, I made a utility to archive the full text of every website I view and store it in a SQLite database for searching. It’s proven pretty useful when I want to find something I saw a while ago and then forgot. (I haven’t attempted to open-source it, though — it consists of three entirely separate components, two of which were a pain to set up. I must try to get it into a more usable state one of these days.)
What else… my sound change applier [1], perhaps? Not that I use it very much, because I only need it on those occasions when I want to do some conlanging, which I haven’t had much time for recently. Actually, sound change appliers strike me as being very much a ‘scratch own itch’ type of project in general… sometimes it feels like every conlanger has written their own, and no two can agree on a nice design. Everyone just has their own unique preferred way of doing things.
[0] https://github.com/bradrn/Conkey
[1] https://github.com/bradrn/brassica
-
‘Missing C libraries’ when compiling haskell-gi-base on Windows
Recently I’ve been trying to do some GTK+ programming again, as a change from my more recent attempts to use Qt with Haskell. Alas, when I try to build the example application from the documentation, I get an error:
- Brassica architecture (plus some general advice on calling statically linked Haskell from C)
- Rustdoc Résumé
Trilium Notes
- Patterns of personal knowledge base (2023)
-
Why I Like Obsidian
Tried Obsidian for a while, loved a lot about it, but....mmm.
Obsidian out of the box is a bit limited; plugins are great and add tons of features, but then you start hitting issues with plugin maintainers abandoning plugins you rely on, or needing to make a decision between three different plugins that all do the same thing slightly different. Depending on your use case and expectations that may not be a big deal, but I really missed not having what I personally saw as core features not being officially supported.
(Also, FWIW, the sync service is a bit pricy for what it is. I get that it's how they're trying to monetise it, but...I would have preferred another pricing model, even if the total cost was just as high.)
I've personally switched to Trilium Notes which I'm finding nicer. One element I particularly like is that it has first class suport for notes being able to exist at multiple places in a tree simultaneously. I know it's a very personal thing, but for me personally being able to file notes in multiple locations "clicks" in a way that tags didn't.
Trilium Notes: https://github.com/zadam/trilium
A nice writeup on ways to use Trilium (although much of it applies to Obsidian too): https://github.com/zadam/trilium/wiki/Patterns-of-personal-k...
-
Outline: Self hostable, realtime, Markdown compatible knowledge base
Then you come across Trilium and drop the mic
[0] https://github.com/zadam/trilium
-
Show HN: Heynote – A Dedicated Scratchpad for Developers
I move between machines a lot and prefer an online tool; I'm self-hosting Trilium Notes https://github.com/zadam/trilium ; this looks a bit cleaner but without syncing (or server-side storage) it misses a bunch of potential use cases.
- Looking for a highlighting-notes-organized-storage app of some sort
- Ideal Note-Taking Platform?
-
Alternative to Joplin that is web-based based?
Try outline or trillium
- Seltsames Problem mit Erreichbarkeit eines selbst gehosteten Servers
- Ask HN: How do you synchronise your notes?
- I can't find anything to fit my needs, pls help I'm pretty demoralized
What are some alternatives?
kn - kn — nvgt/fldrs/qckly
Joplin - Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
PoC_CVEs - PoC_CVEs
obsidian-releases - Community plugins list, theme list, and releases of Obsidian.
FeedTheMonkey - Desktop client for the TinyTinyRSS feed reader.
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
floem - A native Rust UI library with fine-grained reactivity
CherryTree - cherrytree
files_reader
Zettlr - Your One-Stop Publication Workbench
gvsbuild - GTK stack for Windows
Wiki.js - Wiki.js | A modern and powerful wiki app built on Node.js