#ktistec 14 hashtags

JayViiTodd Sundsted
Release v3.3.4 of Ktistec

Release v3.3.4 of Ktistec is available.

This release adds Mastodon-compatible client support for publishing posts. Just like the previous release, however, all Mastodon API support is behind a build flag (-Dwith_mastodon_api). It's still experimental, so opt in only if you're happy to work with rough edges.

Beyond that, I focused on cleanup and refactoring throughout the codebase. Here's the full changelog:

Added

  • Cursor-based pagination on actor timeline and everything pages.
  • Mastodon-compatible API: /api/v1/statuses endpoint for status posting.
  • Mastodon-compatible API: /api/v1/timelines/public endpoint.

Fixed

  • Autosave focus handling. Fixes problems introduced in v3.3.3.
  • Prevent blur from creating a draft post when publishing a post.

Changed

  • Integrate X-Ray Mode colors into the theming system.
  • Improve CI: add npm audit, test, and caching.
  • Use npm ci in Dockerfile for reproducible builds.
  • Remove very old compiler bug work-around.

🏋️ Mastodon API support is coming along—more in the next release!

#ktistec #crystallang #activitypub #fediverse

JayVii
JayVii

Since all my websites and web-tools use the phenomenal #SimpleCSS framework, I thought it would also make sense to create a theme for #ktistec using those exact colours. Of course, this is also available from my ktistec-tweaks, next to the old purpleish-theme, which I had before.

Also new is the separation of the card-style post theming, which is also shown in the screenshot below, in its own CSS file.

Image description: Screenshot of my Fediverse profile, which is cut straight in the middle. The left side shows the dark mode with orange-yellow highlights, the right side shows bright mode with blue highlights.
JayVii

Yesterday, I implemented #CSS rules in my "purpleish theme" within my #ktistec tweaks that change the display of posts in card style, similar to other social media. Also adds some very subtle shadow, which gives it a very slight 3D effect. This looks a lot more modern now, I think: https://src.jayvii.de/pub/ktistec-tweaks/commit/136cc0629bd23df71cc4969e23e6c252f847a9c6.html

Image description: Screenshot of a heavily styled ktistec instance, displaying a thread with three replies to some post. All posts appear within a dark grey card object with round corners. The reply cars are slightly indented and have a light gray border on the left side.
JayVii

Trying to mass-delete older posts and shares on my #ktistec instance without prior backup turned out to be a bad idea

The docker container running on my tiny 1 vCPU, 1GB RAM VPS suddently started crashing and restarting every few seconds.

Turns out, ktistec is doing some(?) tasks in the background now, hogging the CPU and loads of RAM, which eventually leads to crashing the container. Creating a swapfile stabilized the situation until the cleanup(?) tasks are done. We will see whenever it finishes.

Remember: never start fiddling without doing prior backups...

JayVii

I am actually really happy about how my mobile-tweaks for #ktistec turned out. There was a lot of #CSS hacking involved, but I am pretty happy with the results :)

Here's a little video of how it looks:

Bildschirmaufzeichnung vom 2024-08-08, 18-28-20.webm 187.76 KB
JayVii

And I am back online! Looks like the move went fine. All posts and data is still here, federations appears to work as well. Neat! #ktistec

JayVii

Alright, I booked a new #VPS at another host. Waiting for the initial setup, then I start transferring the first few sites, starting with #ktistec (let's see how easy a server migration is for an activitypub server :D). I'll be gone from here for a while (at least until DNS updates...)

JayVii

Also added a docker-compose file for (even) easier deployment of #ktistec, as well as some notes on #backup management. The #CSS has also been improved in the meantime. I added deployment-notes for those too!

https://src.jayvii.de/pub/ktistec-tweaks

JayVii

Started working on some tiny #ktistec end-user hacks: https://src.jayvii.de/pub/ktistec-tweaks

For now only a user #CSS theme i dupped "purple-ish": https://src.jayvii.de/pub/ktistec-tweaks/file/css/purpleish.css.html

Maybe more to come in the future. Or not, we'll see :)