Tiddlywiki Connection with Database

There is a SQLite Node.js backend plugin in the works, which should also allow multi user access.

It does not change the internal data structure in the browser. It adds a new “syncadaptor” to the plugin.

@pmario
I have a scenario such that, tm-http-request shows CORS issue, but when I try the endpoint with postman it’s working ? Does Tiddlywiki have any method to fix the CORS?

Not necessarily. It depends on the GraphDB. Depending on the API that is available there it should be possible to directly access data from within TW.

There is the tm-http-request message, that will allow us to send requests directly to external DBs which provide an API, that returns JSON data.

On the other hand allowing direct access to a private database may be problematic from a privacy perspective.

So also here it depends on your privacy requirements.

Currently API endpoint doesn’t have much features yet. And mostly I’m encountering CORS issue

CORS settings have to be adjusted on the server side. So you probably have to go with a Node.js “middleware”, since you know that works.

How does the GraphDB api look like?

The API currently supports only GET , and they created some custom apis to retrieve some documents.

I even tried with bypass proxy , still it was showing the CORS from tiddlyside.
Currently implemented nodejs middleware to bypass the CORS issue and it will act as a proxy.