1. yo just a head’s up on development: there hasn’t been much

    i’m not sure what i want to do with this site basically, it’s just a lot of effort to implement all these protocols and i’m fundamentally not that interested :/

    hmm. idk

  2. i pushed out two patch releases, which basically just

    1. updated every dependency to its latest release, which was important since some things (the old django i had for example) had security issues
    2. fixed my usage of tippy.js to work again, since tippy.js 3 works differently to tippy.js 2

    neat??

    lemoncurry
  3. i forgot to push the “native microformats2 in the database” branch to my git server before wiping my old laptop :/ oops

    lemoncurry microformats2
  4. i haven’t touched the lemoncurry codebase since july

    this is starting to look abandoned

    urgh :(

  5. trying to deploy our websockets microservice using an ecs task definition

    amazon are evil

  6. lemoncurry 1.10.0: what's new and what's next?

    lots of stuff is new, since i haven't posted a changelog since 1.9.4! let's focus on the important things i guess?

    • all my html templates are jinja2 now instead of vanilla django - jinja2 is faster and also much more capable, since it supports pretty much arbitrary python expressions rather than a very strict specialised syntax
    • lemoncurry now natively serves avatars through the libravatar protocol, which is basically like an open distributed version of gravatar? sadly, the main libravatar server later announced that it's shutting down in october :( my implementation will still work at least, since it's distributed, but i expect fewer services will actually support libravatar after the main server's gone :( :(
    • micropub support is way better now - i have a micropub media endpoint, which lets you upload images and stuff for your post before you publish it, posts can be deleted over micropub, and additional properties work now too. neato
    • i use messagepack now for caching stuff in redis, since it's faster as well as more space-efficient than the other serialisation formats available
    • amp is no longer supported, because i decided amp sucks. you're welcome?
    • changed the layout of entries so they now have way less vertical overhead. i did this to encourage me to use notes more, since they're meant to be little status updates like toots and making them Big discouraged me from Doing That

    next, i think i might be planning to break backwards compatibility. yep :o

    specifically, i store entries internally using fairly typical relational database modeling: fields for single-valued stuff like name and content, many-to-many associations for stuff like cats and syndications, etc. etc.? and i'm running into a mismatch between that structure and what i need the site to handle

    specifically, while i can easily produce microformats2 html from that structure, micropub works by sending microformats2 items into the site, which means i need to convert back and forth between mf2 and my internal format. this ends up being a big hassle in some cases! what micropub really wants is for microformats2 to be the site's native format, since that eliminates the need for translation

    so basically: i'm planning to change lemoncurry's internal entry format from traditional entity-relationship modeling to native microformats2 json, just like the json i send to its micropub endpoint right now. then i can natively exchange microformats2 items with my site, without the translation mismatch

    that's a gigantic change, and i haven't even decided exactly how i wanna implement it. so i'm planning to make it a major version. that's right, lemoncurry 2.0 is on the roadmap!! :o

    lemoncurry facebook.com twitter.com vulpine.club
  7. deleting works now! you can’t try it out for yourself since you still aren’t me, but it works by sending a “command” object to the micropub endpoint? looks like this

    {"action": "delete", "url": "https://00dani.me/notes/35"}
    

    updating works much the same way, but you use fancier command objects, which is why i haven’t done that yet ;)

    micropub
  8. actually scratch that! i’m gonna implement micropub update and delete next!!

    delete first because it’s way simpler lmao

  9. got the new design looking pretty nice on my phone now c: woo! i think the next thing to figure out at this point is probably automatic syndication? i’ll look into doing it with mastodon first, and then maybe silos as well. maybe

    lemoncurry
  10. working on a new design for entries which takes up less vertical space :o it currently looks very bad on mobile but decent on desktop, gonna need to tweak it some more