Skip to content

Folichon 0.3.0

Latest

Choose a tag to compare

@MrDDream MrDDream released this 27 Oct 07:20

Share previews that look like your page, and backups that keep your images.

🔗 Share preview card

Links to your page shared on WhatsApp, LinkedIn, Discord or X now show a card drawn like the top of your page, instead of your photo cropped at random:

  • your short intro line, your name and your headline, with the words between asterisks in your accent colour;
  • your photo in its gradient ring;
  • your key figures in their colours.

The card is a 1200 × 630 PNG generated by your server (/share-card.png). It updates by itself when you save in the editor, and its address changes with each change, so apps don't keep showing an old version.

  • If SITE_URL is set, the site address is shown on the card when there is room.
  • A photo in WebP or AVIF, or hosted on another site, is replaced by your initials: the card renderer reads PNG and JPEG only.

📦 Export and import with your images

Export in the editor menu now downloads one ZIP archive: content.json, plus the images, PDF and fonts your content uses. Unsaved changes are included.

Import a ZIP to move everything to another Folichon at once:

  • each file is checked against its real content, like any upload;
  • if one file is refused, nothing is written;
  • the content loads in the editor, and nothing changes until you click Save.

A plain JSON file (content only) can still be imported.

🛠️ Other changes

  • New dependency: @resvg/resvg-js, which turns the card into a PNG without a browser. Builds are included for Alpine on amd64 and arm64.
  • Fixed versions of the site fonts for the card are in src/share-card/ (SIL Open Font License).
  • The website and README describe the new features.
  • More tests.

🐳 Upgrade

Change the image tag and restart. Your data folder is kept as is.

image: ghcr.io/mrddream/folichon:0.3.0
docker compose pull && docker compose up -d

Images for linux/amd64 and linux/arm64: ghcr.io/mrddream/folichon:0.3.0, 0.3 and latest.

Full changelog: v0.2.0...v0.3.0