Open zicklag opened 3 years ago
Well, after some struggling with import-transforming CDNs, I finally got buttercup core to work in Deno, and produce a standalone executable suitable for a buttercup CLI.
https://github.com/zicklag/buttercup-cli
Right now I just use it so that I can export my passwords from buttercup in a pinch, even if I don't have the desktop app or Node.js.
The deno import situation is far from optimal, so it'd still be nice to have more official support, but at least there's a way to do it!
I'm sorry I haven't responded sooner to this.. I haven't considered Deno support because I don't use it. I'd be more than happy if someone wanted to maintain Deno support of the core library, but I don't personally have the time.
The error in your initial message looks like it's trying to download individual files, which seems wrong :sweat_smile: - Especially seeing as there's no extension for the AttachmentManager
file (it should be .ts
if it's download the source files).
I'm sorry I haven't responded sooner to this...I'd be more than happy if someone wanted to maintain Deno support of the core library, but I don't personally have the time.
Absolutely no problem, I totally understand!
For now I'm happy enough with my little utility and i don't have a ton of time so I'm not going to bother with anything else yet.
Thanks for buttercup, it's great! :)
Have you ever considered supporting Deno for buttercup core? It might be quite easy to support. Maybe just requiring some tweaks to certain module imports.
A quick test of importing buttercup core from GitHub yields:
So not working already, but maybe close. You're already using typescript which is great!
If we ever wanted to bring back a buttercup CLI, Deno could be useful. Deno's nice because it's just a single executable to install and doesn't require NPM. It's just simple.
Anyway, it's not a big deal to me actually, I was just curious and thought I'd bring it up.
Feel free to close if it's not something worth thinking about right now. :)