alpha
Login
or
Join now
kacaii.dev
/
blog
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
💻 My corner on the internet
kacaii.dev/
lustre
evergarden
wisp-place
gleam
atproto
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
assets: its not actually webp
author
kacaii.dev
date
1 week ago
(Jul 17, 2026, 10:41 PM -0300)
commit
588673f7
588673f724cb7a46620baae3e5d09b9c14d561f4
parent
560ddb0f
560ddb0fb458de9b56813f30bb2238ffabf54cd4
change-id
rmpwkqyz
rmpwkqyzupvvuxnkrlnloslusrowxtxm
2/2
deploy.yml
success
32s
test.yml
success
16s
+12
-12
6 changed files
Expand all
Collapse all
Unified
Split
.gitignore
.tangled
workflows
deploy.yml
dev
blog_dev.gleam
gleam.toml
justfile
src
blog
page
home.gleam
+2
-2
.gitignore
View file
Reviewed
···
3
3
/build
4
4
erl_crash.dump
5
5
6
6
-
assets/showcase/*.webp
7
7
-
assets/favicon.webp
6
6
+
assets/showcase/*
7
7
+
assets/favicon.*
8
8
dist/*.html
9
9
10
10
#Added automatically by Lustre Dev Tools
+2
-2
.tangled/workflows/deploy.yml
View file
Reviewed
···
30
30
- name: fetch and resize favicon
31
31
command: |
32
32
gleam dev -- fetch_favicon
33
33
-
magick ./assets/favicon.webp -resize 100x100 ./assets/favicon.webp
33
33
+
magick ./assets/favicon.jpeg -resize 100x100 ./assets/favicon.jpeg
34
34
35
35
- name: fetch bluesky pictures form the showcases
36
36
command: |
···
39
39
40
40
- name: resize showcase pictures
41
41
command: |
42
42
-
for image in ./assets/showcase/*.webp; do
42
42
+
for image in ./assets/showcase/*.jpeg; do
43
43
magick $image -resize 100x100 $image
44
44
done
45
45
+2
-2
dev/blog_dev.gleam
View file
Reviewed
···
26
26
let assert Ok(did) = did.parse(showcase.did)
27
27
28
28
use bits <- promise.try_await(fetch_bluesky_profile_picture(did))
29
29
-
let path = "./assets/showcase/" <> string.lowercase(showcase.name) <> ".webp"
29
29
+
let path = "./assets/showcase/" <> string.lowercase(showcase.name) <> ".jpeg"
30
30
31
31
let assert Ok(_) = simplifile.write_bits(to: path, bits:)
32
32
io.println(" " <> showcase.name <> " icon written successfully")
···
41
41
|> did.parse
42
42
43
43
use bits <- promise.try_await(fetch_bluesky_profile_picture(did))
44
44
-
let assert Ok(_) = simplifile.write_bits(to: "./assets/favicon.webp", bits:)
44
44
+
let assert Ok(_) = simplifile.write_bits(to: "./assets/favicon.jpeg", bits:)
45
45
46
46
io.println(" Favicon updated")
47
47
promise.resolve(Ok(Nil))
+2
-2
gleam.toml
View file
Reviewed
···
29
29
meta = [
30
30
{ name = "description", content = "My personal corner on the internet" },
31
31
{ property = "og:description", content = "My personal corner on the internet" },
32
32
-
{ property = "og:image", content = "https://kacaii.dev/favicon.webp" },
32
32
+
{ property = "og:image", content = "https://kacaii.dev/favicon.jpeg" },
33
33
{ property = "og:title", content = "kacaii.dev" },
34
34
{ property = "og:type", content = "blog" },
35
35
{ property = "og:url", content = "https://kacaii.dev" },
···
57
57
[[tools.lustre.html.links]]
58
58
rel = "icon"
59
59
type = "image/x-icon"
60
60
-
href = "/favicon.webp"
60
60
+
href = "/favicon.jpeg"
61
61
62
62
[[tools.lustre.html.links]]
63
63
rel = "stylesheet"
+2
-2
justfile
View file
Reviewed
···
15
15
16
16
fetch-favicon:
17
17
gleam dev -- fetch_favicon
18
18
-
magick ./assets/favicon.webp -resize 64x64 ./assets/favicon.webp
18
18
+
magick ./assets/favicon.jpeg -resize 64x64 ./assets/favicon.jpeg
19
19
20
20
fetch-showcase-icons: && compress-showcase-icons
21
21
gleam dev -- fetch_showcase_icons
22
22
23
23
compress-showcase-icons:
24
24
#!/usr/bin/env bash
25
25
-
for image in ./assets/showcase/*.webp; do
25
25
+
for image in ./assets/showcase/*.jpeg; do
26
26
magick $image -resize 64x64 $image
27
27
done
+2
-2
src/blog/page/home.gleam
View file
Reviewed
···
123
123
let image = case model {
124
124
Pending ->
125
125
html.img([
126
126
-
attribute.src("/favicon.webp"),
126
126
+
attribute.src("/favicon.jpeg"),
127
127
attribute.class("aspect-square size-20 rounded-sm border opacity-50"),
128
128
attribute.class("animate-pulse"),
129
129
])
···
240
240
241
241
fn view_showcases() -> element.Element(Message) {
242
242
let card = fn(showcase: Showcase) {
243
243
-
let icon_path = "/showcase/" <> string.lowercase(showcase.name) <> ".webp"
243
243
+
let icon_path = "/showcase/" <> string.lowercase(showcase.name) <> ".jpeg"
244
244
245
245
let attributes = [
246
246
attribute.href(showcase.href),