4 ms·
Is it programmable? Can I write snippets of code within logseq to traverse the graph and aggregate some data? I can imagine combining tensorflow.js with such co
by koyanisqatsi 4y ago
Is it programmable? Can I write snippets of code within logseq to traverse the graph and aggregate some data? I can imagine combining tensorflow.js with such code to create a personal search engine.
- cube2222 4y agoThere is a plugin system, so I'd expect you to be able to go crazy with it.
- __jem 4y agoIt exposes limited scripting in Clojure if you don't to write a plugin in JavaScript. I wouldn't say it's fully programmable but somewhere in-between.
- solarkraft 4y agoYou can write simplified queries in its own DSL, more complex queries in Datalog and plugins in ClojureScript, JavaScript or Typescript. (The plugin API still feels a little quirky, though)
- bribri 4y agoYes, you can write plugins in typescript to create very powerful integrations like VSCode. I wrote a plugin for openai gpt3 https://github.com/briansunter/logseq-plugin-gpt3-openai https://github.com/briansunter/logseq-plugin-gpt3-openai
- cldwalker 4y agoYep. There's a plugin API, https://docs.logseq.com/#/page/Plugins https://docs.logseq.com/#/page/Plugins, used by 180+ plugins. Logseq can also be scripted from the commandline in node.js with https://github.com/logseq/nbb-logseq#projects-using-nbb-logseq https://github.com/logseq/nbb-logseq#projects-using-nbb-logs.... There are examples for creating a github action, a CLI or creating custom web apps