2022-11-11

ūüĒó
  • Started up development on¬† Pic Store ¬†again. I switched out the task queue to¬† Effectum ¬†and I got it to the point where the server starts, creates the database, and a simple authenticated request succeeds. A lot of the core code for the project is already implemented, so there will be some testing to see if stuff actually works and then I can start working on a simple web interface, and tools to make it convenient to use.
  • I'm thinking of a Vite plugin that will automatically upload the images if needed and generate a full¬† <picture> ¬†tag. Also some CLI/GUI utilities that can make it convenient to upload and reference images from other contexts, such as when writing a document.
  • If it's possible, I would love to be able to drag an image straight into Logseq, and have that handle the upload and URL pasting. Will have to see if the plugin system allows intercepting events like that.
  • I've also been rethinking¬† Ergo a bit. While I previously had done a lot of work on the Javascript task model and got it pretty much working, the development experience still paled compared to any real development environment. I achieved a fair amount there, but I think I'm going to rip out a lot of that support, and focus instead on the "hosted state machine" model that I had originally envisioned.
  • Since I already have a working JS engine in the project, the state machines will continue to support bits of JS to assist in evaluating conditions and such. Tasks with heavier scripting will be runnable as actions that spawn external processes, and can then return values that can trigger further actions in the state machines.
  • From there, I can create other types of tasks that are basically wrappers around certain types of state machines, and hopefully come up with something that's both intuitive to use and actually useful.