I’m really interested in using Space Lua, as my Javascript skills are stuck in the ES5 era and I would love to just add some code to implement nifty things.
One thing I would like to implement, is a small script that fetches some issues from a GitLab instance, using an API token. It’s a simple API call, with which I hope to show the tickets I have to work on, on my Silverbullet dashboard.
Is there a way to do that yet? Or is this a planned feature?
I guess there are some security implications, but at the same time this would be a real powerful feature, both on the client and on the server side.
Anyway, cheers for Silverbullet. I really enjoy using it!
To clarify: Even if there was a Plug that handles GitLab, I can still think of a number of things that I could do with an HTTP client in space-lua. To me, it’ll further enable me to customize my instance to my exact needs.
Having a low-barrier for that is really exciting to me, because there are going to be tools for which there is no plugin, and there are going to be situations where I just want something quick and dirty to work.
I pulled the edge container, verified that it has the latest sha sha256:9c855fd68badcfa439d907e6c54106f74de4c3fb727653760305f1cb45fa7c5b, but I’m afraid I may not be holding it right:
I did some searching and it seems Deno has a --unsafely-ignore-certificate-errors flag you can use when running. This would disable these checks globally. If you run SilverBullet with deno directly you can try adding that flag, for the Docker version I’d have to expose this somehow using an environment variable.