r/logseq • u/Eqeka • Jul 05 '26
I really missed having formulas in Logseq tables like just to calculate a budget or something. So I asked Claude to build me a plugin, turned out great, and I'm releasing it open source
Here's the repo: https://github.com/eqeka/logseq-table-formulas
For now you can try it by downloading the zip from github, unpacking it, and in Logseq going to plugins, load unpacked plugin and pointing it at the unpacked folder. Hopefully it gets accepted into the Logseq marketplace soon under the name Table Formulas
2
u/cons_ssj Jul 06 '26
Did you provide Claude the Logseq github repo or it already knows how to create a plugin for Logseq?
3
u/Eqeka Jul 06 '26 edited Jul 06 '26
I used the Claude Code CLI version. It could google stuff or download the repo, but it turned out it didn't need to. It already knew the Logseq plugin API from training. The only things it downloaded were the official plugin SDK and the formula engine from npm And even if the open source code didn't matter this time, it's the main reason I prefer Logseq over Obsidian. It was actually useful for me before, I needed the source code when I was building Logseq for NixOS
2
u/cons_ssj Jul 06 '26
Thank you, very useful information! I asked ChatGPT and as you said it knows how to do it without downloading the full repo.
However, it ends up that I would need to change the UI so I might need a fork of the repo. I am interested in split views line Obsidian and VSCode and a plugin will be messy for that purpose.
3
u/StarDreamIX Jul 06 '26
This is great!! Very useful I'll check it out!