Commit graph

40 commits

Author SHA1 Message Date
fb6d85aec9 warranty change
Some checks failed
Deploy / build-deploy (push) Has been cancelled
2026-08-08 23:25:46 +02:00
2f5ccd272e fixed links
All checks were successful
Deploy / build-deploy (push) Successful in 8m16s
2026-08-08 20:04:36 +02:00
ae30ac69f7 privacy policy
All checks were successful
Deploy / build-deploy (push) Successful in 8m1s
2026-08-08 14:38:14 +02:00
867bed2b5f ci: redeploy to pick up the backfilled 13b048149b5511dd.h264.mp4
The H.264 sibling landed on the media mount after the previous deploy
ran, and fetch-media.sh only discovers siblings at build time.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 03:35:05 +02:00
a625176c7d media: H.264 fallback beside every AV1, and the post links the H.264
All checks were successful
Deploy / build-deploy (push) Successful in 7m30s
The AV1-only publish lasted four hours in the wild: the first viewer on
mobile Safari got "bad media error" from the raw file, because a post's
link is fetched raw — Lemmy apps and browsers play that exact URL, with
no <source> negotiation in front of it. The previous commit's note
("--raw ... if that audience matters") had it backwards: the audience
that cannot play AV1 is not a per-post judgement call, it is whoever
happens to open the thread on an iPhone.

So publish-media.sh now emits two encodings and points the post at the
compatible one:

  * Every video transcode also produces <hash>.h264.mp4 (x264 crf 23,
    same denoise, same frames), uploaded beside the AV1 under the AV1's
    hash — the poster's sibling-naming trick, reused, so fetch-media.sh
    finds it by name with nothing to look up.
  * The printed URL to paste into the post is the H.264 one. pict-rs
    can thumbnail it too, so instance thumbnails come back as a bonus.

fetch-media.sh adopting an own-origin .h264.mp4 URL swaps the AV1 back
in as the page's primary when it is on the mount, and records the H.264
as `fallback` in posts.json. The renderer turns a non-empty fallback
into a <source> pair: the AV1 first with an explicit codecs parameter —
both files are video/mp4, so the parameter is the only thing that lets
a non-AV1 browser skip to the file it can play — and the H.264 second.
Browsers with AV1 keep downloading the small file; Safari before 17
gets one that plays instead of an element that will not.

e2e gains the matching conditional gate: a page offering an av01
<source> must offer an .h264.mp4 one, so an AV1 video can never again
ship without its fallback.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 03:14:51 +02:00
c21aa636aa privacy: public analytics, and the edit history replaces the changelog promise
All checks were successful
Deploy / build-deploy (push) Successful in 7m39s
The posts-feed note promise became a link: every version of this page and
its diffs are at /legal/privacy/history (redirect to this file's history).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 02:50:52 +02:00
8cd4d55d00 analytics: GoAccess reports from the Caddy logs, public and private tiers
Server-side only, per the privacy policy: no client-side analytics. Rotated
logs ingest exactly once into per-tier DBs; the public tier is anonymized
at ingest and never receives censored paths. Log retention raised to a year.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 02:50:52 +02:00
c1b0c29af6 media: publish to our own origin instead of mirroring a file host
All checks were successful
Deploy / build-deploy (push) Successful in 7m34s
A 167 MB screen recording uploaded to catbox.moe hit fetch-media.sh's 64 MB
MAX_BYTES, so curl refused it, the entry kept its third-party URL, and e2e
failed "/posts media origin" on a file we had on disk the whole time. Raising
the cap would have papered over it: the mirror step still depends on someone
else's server being up, fast, and still holding the file.

Invert it. tools/publish-media.sh uploads a recording to the media mount under
its content hash BEFORE the post exists and prints the URL to post, and
fetch-media.sh adopts an own-origin URL by rewriting it to /media/<hash> with no
request at all — no size cap, no third party in the build.

Also here, because publishing exposed them:

  * Rotation. Phones record 1920x1080 and attach a display matrix rather than
    rotating pixels, so an untouched file reports landscape while playing
    portrait and width/height reserve exactly the wrong box. publish-media.sh
    bakes rotation into the frames; fetch-media.sh swaps the dimensions on a
    quarter-turn matrix for anything mirrored straight from a phone.
  * Posters. pict-rs will not thumbnail AV1, so a self-hosted video usually
    arrives with no poster. publish-media.sh uploads <hash>.poster.webp beside
    the video and fetch-media.sh falls back to it — a real thumbnail still wins.
  * The workflow comment claiming a file on the mount is never downloaded again
    was wrong: the name is the hash of the bytes, so third-party media is
    re-fetched every build and only the write is skipped.

Transcoding to AV1 is what makes self-hosting cheap: that clip was 78 s of a
dark room at 17 Mbps, and denoise + AV1 gives the same picture in 15 MB. Note
<video> carries a single src with no fallback, so AV1 excludes Safari < 17;
--raw skips the transcode when that matters.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-08 01:16:17 +02:00
fca089c20d SEO
Some checks failed
Deploy / build-deploy (push) Failing after 7m0s
2026-08-06 23:42:25 +02:00
f2d20bb409 ci: test deploy after migration to Hetzner
All checks were successful
Deploy / build-deploy (push) Successful in 8m17s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 19:23:19 +02:00
b49042a626 new logo
All checks were successful
Deploy / build-deploy (push) Successful in 5m32s
2026-08-05 23:52:40 +02:00
fe489673be imprint: add EORI number
All checks were successful
Deploy / build-deploy (push) Successful in 6m0s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 22:51:20 +02:00
ad7a2eb76a changes
All checks were successful
Deploy / build-deploy (push) Successful in 5m55s
2026-08-05 22:32:34 +02:00
054a26475c changes
Some checks failed
Deploy / build-deploy (push) Has been cancelled
2026-08-05 22:32:03 +02:00
8c80740514 fixed risremembered claim
All checks were successful
Deploy / build-deploy (push) Successful in 4m37s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 07:45:40 +02:00
cc02023625 about page
All checks were successful
Deploy / build-deploy (push) Successful in 4m46s
2026-08-05 07:05:00 +02:00
728e48fc4f posts fix
Some checks failed
Deploy / build-deploy (push) Failing after 3m26s
2026-08-05 06:17:00 +02:00
40e094f7eb ci fix
All checks were successful
Deploy / build-deploy (push) Successful in 5m31s
2026-08-05 05:50:01 +02:00
8603182caf ci fix
Some checks failed
Deploy / build-deploy (push) Failing after 3m27s
2026-08-05 05:41:22 +02:00
7f73104db9 ci fix
All checks were successful
Deploy / build-deploy (push) Successful in 9m45s
2026-08-05 05:17:25 +02:00
1b59b548fa caddy
Some checks failed
Deploy / build-deploy (push) Failing after 5m4s
2026-08-05 04:32:52 +02:00
934c94cb5c rewrite
Some checks failed
Deploy / build-deploy (push) Failing after 4m56s
2026-08-05 04:18:37 +02:00
fb2f6079cc webgpu demo
All checks were successful
Deploy / build-deploy (push) Successful in 1m38s
2026-07-19 01:13:30 +02:00
bdea14fc20 CI: install nodejs so JS-based actions run in the arch container
All checks were successful
Deploy / build-deploy (push) Successful in 3m29s
actions/checkout and actions/cache are executed with node inside the
archlinux:latest job container, which has no node by default. Install it
in the first (shell) step, before Checkout, mirroring the Crafter.Build CI.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-18 23:34:00 +02:00
d3dd4b1f7a Add Forgejo Actions workflow to build and deploy on push
Some checks failed
Deploy / build-deploy (push) Failing after 1m0s
- .forgejo/workflows/deploy.yaml: build the wasm bundle on the arch-latest
  Docker runner and rsync it into the bind-mounted web root (/deploy) on
  push to master
- deploy/Caddyfile.example: reference site block with the cross-origin
  isolation headers the WASM runtime requires

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-18 23:27:41 +02:00
13a12c2a2c Migrate to crafter-build project.cpp and restructure views
- Replace project.json + run.sh with a C++ project.cpp build descriptor
  (crafter-build), targeting wasm32-wasip1 with the Crafter.Graphics dep
- Add Catcrafts-Views implementation; drop Catcrafts-Component
- Add catcrafts-head.js (sets <title>/<link> tags at runtime)
- Update Blog/Root/main modules, README, and favicon

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-18 23:27:41 +02:00
d87c408712 link change 2025-11-14 23:57:22 +01:00
e3bc669118 update 2025-11-14 23:56:39 +01:00
5f3954ed66 update 2025-11-12 23:33:48 +01:00
f796b3d561 removed AI readme 2025-11-12 22:53:37 +01:00
dd847ce1f9 new blog structure 2025-11-12 22:40:33 +01:00
f465e9e367 dark mode 2025-11-12 22:11:56 +01:00
d5ccdf60c1 style 2025-11-12 22:05:40 +01:00
937b9fb48f SPA 2025-11-12 21:56:18 +01:00
c51dd48a73 update 2025-11-12 21:25:25 +01:00
02c07ceaa2 update 2025-11-12 21:24:23 +01:00
84dc769e88 commit 2025-11-12 21:05:13 +01:00
b527ac15a7 commit 2025-11-12 21:04:34 +01:00
03fdb5d497 commit 2025-11-12 21:02:01 +01:00
cef5a32041 inital commit 2025-11-12 20:58:07 +01:00