Guide to develop and execute modular JavaScript in Obsidian

And for that, simple Quickadd or Templater can be used, with no node.js installed.
Both of these well-known plugins support running scripts at startup and either can prove effective.

Indeed, I totally forgot this option.

@Wpq One thing to check is the order in which the plugins are activated, if you need to call one of them to run your script. Templater or QuickAdd may launch first, so you may need to change the order (if possible).

Guys, I am new in the community, but i have an idea:
If we integrate scalidraw with a javascript code generation tool that generate code based on scalidraw templates and connects the inputs and outputs of connections similar to the n8n tool, we could make a plugin that transforms scalidraw and obsidian in a IDE.

The benefit of this is to allow the rapid prototyping. If the templates are connected with react or svelte components code for example, you could generate the code for the frontend from the site wireframe.

Connect the scallidraw to templates of a backend framework like nestjs and you create an api.
Connect to teraform teplates, and you have the cloud infrastructure.
Connect to some webgl integration lib in frontend, like PIXI and you have a game
Connect to python tensorflow templates and you have an AI model
Connect to blender+python blender scripts templates and you have a 3d model building tool, perfect for engineering
Conect to some animation framework like manim for mathematics and you can easily create animation videos

Connect this whole system to an speciallized LLM and you have the ability to create almost anithing through natural language, but with much more agility, precision and a documented firs approach (the documentation would alway be sincronized with the code because de documentation IS the code)

Maybe this already exists. If so, could you please send me a link? If not, lets build it?

1 Like

I did not re-read this thread but wouldn’t Codescript Toolkit tick all the boxes?

1 Like

@Yurcee Yeah, and this plugin is very comprehensive (its author commented in the thread :p).

Wonderful starter guide. Thank you! I was happy to see one way to use Javascript development.

I just started using Obsidian in April 2026 and I found KillyMXI has a Rolling calendar script, that uses the new Datacorejsx. So I borrowed his setup and made my own function.

No need to use any plugin, just simple file reference and it works. I programmed a ageOf.jsx script and can call it with a simple dc.require statement. I would be happy to share it with others if there is interest.