forge
Explore
Log in

Don't you dare go Hollow

✨ port to topcoat with spark redesign, forge ci and systemd deploy

Browse files at this commit

c9d1340cd541825d5a59dc046f4dd2e0b3e1dc1bAhmet Kaan GümüşParent: dab391e
All checks have passed
Show checks
  • feat
    • ✨ port to topcoat with spark redesign, forge ci and systemd deploy
Show full message
feat: ✨ port to topcoat with spark redesign, forge ci and systemd deploy

35 changed files +1236 -1269

.forge/ci.tomladded+36 -0
@@ -0,0 +1,36 @@
1+# CI for personality. Format: forge's docs/ci.md.
2+#
3+# The workflow has no branch condition, so the job also runs for pull requests.
4+# A tag push matching "v*" publishes a release with the binary and SHA256SUMS, only when the job succeeded.
5+
6+name = "build"
7+
8+[on]
9+push = ["main"]
10+pull_request = true
11+manual = true
12+tags = ["v*"]
13+
14+[jobs.build]
15+image = "docker.io/library/rust:1"
16+# CARGO_HOME in the workspace puts the downloaded crates in the cache, so a run downloads only new ones.
17+env = { CARGO_HOME = "/workspace/.cargo-home" }
18+# The groups are the job's steps on the run page, and `exec 2>&1` keeps a marker in order with cargo's
19+# stderr, which the runner reads from a separate pipe.
20+run = """
21+exec 2>&1
22+echo "::group::Release build"
23+cargo build --release
24+echo "::endgroup::"
25+echo "::group::Package"
26+ARCH=$(uname -m)
27+cp target/release/personality personality-$ARCH-linux
28+sha256sum personality-$ARCH-linux > SHA256SUMS
29+echo "::endgroup::"
30+"""
31+artifacts = ["personality-*-linux", "SHA256SUMS"]
32+cache = ["target", ".cargo-home"]
33+timeout_minutes = 60
34+
35+[release]
36+assets = ["build:personality-*-linux", "build:SHA256SUMS"]
.github/workflows/deploy.yamldeleted+0 -183
@@ -1,183 +0,0 @@
1-name: Deploy
2-
3-on:
4- push:
5- branches:
6- - main
7-
8-# The deploy swaps the served directory; two of them racing would leave the
9-# server with pieces of different builds.
10-concurrency:
11- group: deploy
12- cancel-in-progress: false
13-
14-env:
15- # The dx CLI is compiled once per version and cached on that version; bump
16- # here to move the site to a newer toolchain, nowhere on the server.
17- DX: 0.7.10
18- # The site lives in this subdirectory of the SSH user's home. The home
19- # itself is resolved on the server ($HOME), so switching the deploy user
20- # moves the site with it and there is no path secret to go stale. The web
21- # server's root must point at $HOME/personality.
22- SITE_DIR: personality
23- # Where the deployed site is checked after the swap. Set the repository
24- # variable SITE_URL to override.
25- SITE_URL: ${{ vars.SITE_URL || 'https://tahinli.com' }}
26-
27-jobs:
28- deploy:
29- name: Deploy
30- # Pinned, not `latest`: the output is wasm and platform-independent, but a
31- # runner image moving under the cache silently discards it.
32- runs-on: ubuntu-24.04
33- steps:
34- - name: Checkout repository
35- uses: actions/checkout@v4
36-
37- - name: Set up Rust
38- run: rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown
39-
40- - name: Cache cargo
41- uses: Swatinem/rust-cache@v2
42- with:
43- cache-all-crates: true
44- # Bump when the target, the profile or any rustflags change: the key
45- # does not otherwise see those, and a run restoring the old key
46- # reports it up-to-date at save time, discarding the recompiled
47- # dependencies.
48- prefix-key: v1-rust-wasm
49-
50- # Compiling the CLI from source costs many minutes and it changes only
51- # when the pinned version does, so it is cached on that version alone.
52- - name: Cache the dx CLI
53- id: dx-cache
54- uses: actions/cache@v4
55- with:
56- path: ~/.cargo/bin/dx
57- key: dx-cli-${{ env.DX }}-${{ runner.os }}
58-
59- - name: Install cargo-binstall
60- if: steps.dx-cache.outputs.cache-hit != 'true'
61- uses: cargo-bins/cargo-binstall@main
62-
63- - name: Install the dx CLI
64- # binstall fetches the prebuilt release binary and only compiles from
65- # source when there is none for this version.
66- if: steps.dx-cache.outputs.cache-hit != 'true'
67- run: cargo binstall dioxus-cli@${{ env.DX }} --no-confirm --locked
68-
69- - name: Build the site
70- run: |
71- set -euo pipefail
72- # The public dir survives in the restored cache and keeps every
73- # earlier build's hashed assets; only this build's may ship.
74- rm -rf "target/dx/$SITE_DIR"
75- # wasm-opt needs the debuginfo stripped first (wasm-release profile
76- # in Cargo.toml), otherwise it aborts and dx ships the fat wasm.
77- dx build --release --platform web
78- public="target/dx/$SITE_DIR/release/web/public"
79- test -f "$public/index.html"
80- rm -rf stage
81- cp -r "$public" stage
82- ls -lR stage
83-
84- - name: Install SSH keys
85- run: |
86- mkdir -p ~/.ssh
87- echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
88- ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
89-
90- - name: Upload the release
91- run: |
92- set -euo pipefail
93- ssh_target="${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}"
94-
95- # The server's login shell may not be bash, and ssh would hand this
96- # script to it; `bash -s` takes it on stdin instead, so the login
97- # shell only ever parses one plain command.
98- ssh "$ssh_target" "bash -se -- '$SITE_DIR'" <<'REMOTE'
99- set -euo pipefail
100- case "$1" in
101- ''|/*|*..*)
102- echo "Refusing a broad site subdirectory: '$1'" >&2
103- exit 1
104- ;;
105- esac
106- site=$HOME/$1
107- rm -rf -- "$site.new"
108- mkdir -p -- "$site.new"
109- REMOTE
110- # stdin carries the tarball, so the script cannot; the extraction
111- # still goes through bash -c because a fish login shell would not
112- # expand $HOME.
113- tar -C stage -czf - . | ssh "$ssh_target" "bash -c 'exec tar -xzf - -C \"\$HOME/\$1.new\"' -- '$SITE_DIR'"
114-
115- - name: Swap
116- id: swap
117- run: |
118- set -euo pipefail
119- ssh_target="${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}"
120- ssh "$ssh_target" "bash -se -- '$SITE_DIR'" <<'REMOTE'
121- set -euo pipefail
122- site=$HOME/$1
123- rm -rf -- "$site.previous"
124- if [ -e "$site" ]; then
125- mv -- "$site" "$site.previous"
126- fi
127- mv -- "$site.new" "$site"
128- REMOTE
129-
130- # The independent after-the-fact check: the live page must reference
131- # the script this deploy staged, and that script must answer with
132- # byte-identical content. Hashed asset names cannot be served stale by
133- # a cache, so a mismatch means the swap did not land.
134- - name: Verify the served site is this deploy's
135- run: |
136- set -euo pipefail
137- js=$(grep -oE 'personality-dxh[a-f0-9]+\.js' stage/index.html | head -n1)
138- test -n "$js"
139- test -f "stage/assets/$js"
140- staged=$(sha256sum "stage/assets/$js" | cut -d' ' -f1)
141- for _ in $(seq 1 30); do
142- if curl -fsS -H 'Cache-Control: no-cache' "$SITE_URL/" | grep -q "$js"; then
143- served=$(curl -fsS "$SITE_URL/assets/$js" | sha256sum | cut -d' ' -f1)
144- echo "staged sha256:$staged, served sha256:$served"
145- test "$staged" = "$served"
146- echo "$SITE_DIR is up"
147- exit 0
148- fi
149- sleep 1
150- done
151- echo "$SITE_URL does not serve $js" >&2
152- exit 1
153-
154- - name: Roll back
155- if: failure() && steps.swap.conclusion == 'success'
156- run: |
157- set -euo pipefail
158- ssh_target="${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}"
159- ssh "$ssh_target" "bash -se -- '$SITE_DIR'" <<'REMOTE'
160- set -euo pipefail
161- site=$HOME/$1
162- if [ ! -e "$site.previous" ]; then
163- echo 'nothing to roll back to' >&2
164- exit 0
165- fi
166- rm -rf -- "$site.rolledback"
167- mv -- "$site" "$site.rolledback"
168- mv -- "$site.previous" "$site"
169- rm -rf -- "$site.rolledback"
170- echo 'rolled back to the previous release'
171- REMOTE
172-
173- - name: Drop the previous release
174- run: |
175- set -euo pipefail
176- ssh "${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}" "bash -se -- '$SITE_DIR'" <<'REMOTE'
177- set -euo pipefail
178- rm -rf -- "$HOME/$1.previous"
179- REMOTE
180-
181- - name: Cleaning
182- if: always()
183- run: rm -rf ~/.ssh
.gitignoremodified+0 -10
@@ -1,12 +1,2 @@
1-# Generated by Cargo
2-# will have compiled files and executables
3 /target/1 /target/
4-/dist/
5-/static/
6-/.dioxus/
7-.vscode/
8-
9-# These are backup files generated by rustfmt
10-**/*.rs.bk
11-
12 Cargo.lock2 Cargo.lock
Cargo.tomlmodified+13 -19
@@ -2,27 +2,21 @@
2 name = "personality"2 name = "personality"
3 version = "0.1.0"3 version = "0.1.0"
4 authors = ["Ahmet Kaan GÜMÜŞ <tahinli@tahinli.com>"]4 authors = ["Ahmet Kaan GÜMÜŞ <tahinli@tahinli.com>"]
5-edition = "2021"5+edition = "2024"
6-6+publish = false
7-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8 7
9 [dependencies]8 [dependencies]
9+http = "1.5.0"
10+tokio = { version = "1.54.1", features = ["macros", "rt-multi-thread"] }
11+topcoat = { version = "0.12.1", default-features = false, features = ["router", "view", "serve", "discover", "compression"] }
10 12
11-dioxus = { version = "0.7.10", features = ["web", "router"] }13+[lints.rust]
12-14+unsafe_code = "forbid"
13-
14-[profile]
15-
16-[profile.wasm-dev]
17-inherits = "dev"
18-opt-level = 1
19-
20-[profile.server-dev]
21-inherits = "dev"
22 15
23-[profile.android-dev]16+[profile.dev]
24-inherits = "dev"17+debug = "line-tables-only"
25 18
26-[profile.wasm-release]19+[profile.release]
27-inherits = "release"20+debug = "line-tables-only"
28-strip = "debuginfo"21+lto = true
22+codegen-units = 1
Dioxus.tomldeleted+0 -43
@@ -1,43 +0,0 @@
1-[application]
2-
3-# App (Project) Name
4-name = "Ahmet Kaan Gümüş"
5-
6-# Dioxus App Default Platform
7-# desktop, web
8-default_platform = "web"
9-
10-# `build` & `serve` dist path
11-out_dir = "dist"
12-
13-# resource (assets) file folder
14-asset_dir = "assets"
15-
16-[web.app]
17-
18-# HTML title tag content
19-title = "Ahmet Kaan Gümüş"
20-
21-[web.watcher]
22-
23-# when watcher trigger, regenerate the `index.html`
24-reload_html = true
25-
26-# which files or dirs will be watcher monitoring
27-watch_path = ["src", "assets"]
28-
29-# include `assets` in web platform
30-[web.resource]
31-
32-# CSS style file
33-
34-style = []
35-
36-# Javascript code file
37-script = []
38-
39-[web.resource.dev]
40-
41-# Javascript code file
42-# serve: [dev-server] only
43-script = []
README.mdmodified+1 -1
@@ -2,4 +2,4 @@
2 2
3 My personal website3 My personal website
4 4
5-[![.github/workflows/deploy.yaml](https://github.com/Tahinli/personality/actions/workflows/deploy.yaml/badge.svg)](https://github.com/Tahinli/personality/actions/workflows/deploy.yaml)5+[![build](https://git.tahinli.com/Tahinli/personality/badge.svg?branch=main)](https://git.tahinli.com/Tahinli/personality/ci)
assets/fonts/archivo-latin-ext-wdth.woff2added+0 -0

Binary file changed

assets/fonts/archivo-latin-wdth.woff2added+0 -0

Binary file changed

assets/fonts/inter-latin-ext-wght.woff2added+0 -0

Binary file changed

assets/fonts/inter-latin-wght.woff2added+0 -0

Binary file changed

assets/fonts/jetbrains-mono-latin-ext-wght.woff2added+0 -0

Binary file changed

assets/fonts/jetbrains-mono-latin-wght.woff2added+0 -0

Binary file changed

assets/header.svgdeleted+0 -20
@@ -1,20 +0,0 @@
1-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1007 197"><style>
2-@keyframes a0_t { 0% { transform: translate(225px,339.9px) scale(0,1) translate(-89.5px,-24px); } 35% { transform: translate(225px,339.9px) scale(0,1) translate(-89.5px,-24px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 45% { transform: translate(225px,339.9px) scale(1,1) translate(-89.5px,-24px); } 50% { transform: translate(225px,339.9px) scale(1,1) translate(-89.5px,-24px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { transform: translate(225px,339.9px) scale(0,1) translate(-89.5px,-24px); } 100% { transform: translate(225px,339.9px) scale(0,1) translate(-89.5px,-24px); } }
3-@keyframes a1_t { 0% { transform: translate(225px,348.9px) scale(0,1) translate(-41.5px,-11px); } 20% { transform: translate(225px,348.9px) scale(0,1) translate(-41.5px,-11px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { transform: translate(225px,348.9px) scale(1,1) translate(-41.5px,-11px); } 35% { transform: translate(225px,348.9px) scale(1,1) translate(-41.5px,-11px); } 45% { transform: translate(225px,348.9px) scale(0,1) translate(-41.5px,-11px); } 100% { transform: translate(225px,348.9px) scale(0,1) translate(-41.5px,-11px); } }
4-@keyframes a3_t { 0% { transform: translate(225px,198.9px) rotate(-90deg); } 10% { transform: translate(225px,198.9px) rotate(-90deg); } 20% { transform: translate(225px,198.9px) rotate(-90deg); animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { transform: translate(225px,198.9px) rotate(0deg); } 35% { transform: translate(225px,198.9px) rotate(0deg); } 45% { transform: translate(225px,198.9px) rotate(0deg); } 50% { transform: translate(225px,198.9px) rotate(0deg); animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { transform: translate(225px,198.9px) rotate(-90deg); } 65% { transform: translate(225px,198.9px) rotate(-90deg); } 75% { transform: translate(225px,198.9px) rotate(-90deg); } 100% { transform: translate(225px,198.9px) rotate(-90deg); } }
5-@keyframes a2_t { 0% { transform: translate(-200px,-167px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { transform: translate(-150px,-80px); } 20% { transform: translate(-150px,-80px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { transform: translate(-200px,-123px); } 35% { transform: translate(-200px,-123px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 45% { transform: translate(-150px,-100px); } 50% { transform: translate(-150px,-100px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { transform: translate(-150px,-80px); } 65% { transform: translate(-150px,-80px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { transform: translate(-217px,-200px); } 100% { transform: translate(-217px,-200px); } }
6-@keyframes a2_o { 0% { opacity: 0; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { opacity: 1; } 65% { opacity: 1; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { opacity: 0; } 100% { opacity: 0; } }
7-@keyframes a2_sw { 0% { stroke-width: 30px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { stroke-width: 8px; } 65% { stroke-width: 8px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { stroke-width: 30px; } 100% { stroke-width: 30px; } }
8-@keyframes a2_w { 0% { width: 400px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { width: 300px; } 20% { width: 300px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { width: 400px; } 35% { width: 400px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 45% { width: 300px; } 50% { width: 300px; } 60% { width: 300px; } 65% { width: 300px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { width: 434px; } 100% { width: 434px; } }
9-@keyframes a2_h { 0% { height: 334px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { height: 160px; } 20% { height: 160px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { height: 246px; } 35% { height: 246px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 45% { height: 200px; } 50% { height: 200px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { height: 160px; } 65% { height: 160px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { height: 400px; } 100% { height: 400px; } }
10-@keyframes a4_t { 0% { transform: translate(143.5px,48.9px); } 10% { transform: translate(180.5px,98.9px); } 100% { transform: translate(180.5px,98.9px); } }
11-@keyframes a4_w { 0% { width: 168.5px; } 10% { width: 94.5px; } 100% { width: 94.5px; } }
12-@keyframes a4_h { 0% { height: 302px; } 10% { height: 202px; } 100% { height: 202px; } }
13-@keyframes a5_t { 0% { transform: translate(217px,324.9px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { transform: translate(190px,324.9px); } 20% { transform: translate(190px,324.9px); } 30% { transform: translate(190px,324.9px); } 100% { transform: translate(190px,324.9px); } }
14-@keyframes a5_o { 0% { opacity: 0; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { opacity: 1; } 20% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
15-@keyframes a5_w { 0% { width: 16px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { width: 70px; } 20% { width: 70px; } 30% { width: 70px; } 100% { width: 70px; } }
16-@keyframes a6_t { 0% { transform: translate(217px,324.9px); } 50% { transform: translate(217px,324.9px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { transform: translate(190px,324.9px); } 65% { transform: translate(190px,324.9px); } 75% { transform: translate(190px,324.9px); } 100% { transform: translate(190px,324.9px); } }
17-@keyframes a6_o { 0% { opacity: 0; } 50% { opacity: 0; animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { opacity: 1; } 65% { opacity: 1; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { opacity: 0; } 100% { opacity: 0; } }
18-@keyframes a6_w { 0% { width: 16px; } 50% { width: 16px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { width: 70px; } 65% { width: 70px; } 75% { width: 70px; } 100% { width: 70px; } }
19-@keyframes a7_t { 0% { transform: translate(225px,198.9px) scale(1.5,1.5) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); } 20% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 25% { transform: translate(225px,198.9px) scale(.8,.8) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); } 35% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 45% { transform: translate(225px,198.9px) scale(.8,.8) translate(-42.3px,-93px); } 50% { transform: translate(225px,198.9px) scale(.8,.8) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 55% { transform: translate(225px,198.9px) scale(.7,.7) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 60% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); } 65% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 75% { transform: translate(225px,198.9px) scale(1.5,1.5) translate(-42.3px,-93px); } 100% { transform: translate(225px,198.9px) scale(1.5,1.5) translate(-42.3px,-93px); } }
20-</style><defs><symbol id="Symbol-2" preserveAspectRatio="none" width="111.5" height="186" viewBox="0 0 111.5 186" overflow="visible"><g transform="translate(8.5,4.5)"><rect x="4" width="85" height="8" fill="#d9d9d9"/><rect x="4" y="26" width="85" height="8" fill="#d9d9d9"/><rect x="25" y="56" width="43" height="8" fill="#d9d9d9"/><rect width="85" height="8" fill="#d9d9d9" transform="translate(46.5,175) rotate(180) scale(-1,1) translate(-42.5,-4)"/><rect width="85" height="8" fill="#d9d9d9" transform="translate(46.5,149) rotate(180) scale(-1,1) translate(-42.5,-4)"/><rect width="43" height="8" fill="#d9d9d9" transform="translate(46.5,119) rotate(180) scale(-1,1) translate(-21.5,-4)"/><path d="M0 4c0 53 94.5 115 94.5 169" stroke="#3cc4dc" stroke-width="17" stroke-linecap="square" fill="none"/><path d="M94.5 4c0 53-94.5 115-94.5 169" stroke="#fb422d" stroke-width="17" stroke-linecap="square" fill="none"/></g></symbol><symbol id="Symbol-5" preserveAspectRatio="none" width="84.5" height="186" viewBox="0 0 84.5 186" overflow="visible"><g transform="translate(42.3,93) scale(5.352,6.9) translate(-16,60)"><g transform="translate(-34.9,-125.8)"><g transform="translate(24,5)"><path d="M33 46.5c0 3.1-0.8 5.5-2.2 7.4c-1.4 1.9-3.3 3.6-5.4 5.4c-2.2 1.7-4.5 3.6-6.3 6.2c-1.8 2.5-3.1 5.5-3.1 9.5h4.7c0-3.1 .9-5.4 2.2-7.3c1.4-1.9 3.3-3.5 5.5-5.3c2.1-1.8 4.4-3.7 6.2-6.2c1.8-2.6 3.1-5.6 3.1-9.7Z" fill="#e96020"/><path d="M20.4 70.7c-0.6 0-1 .5-1 1.1c0 .7 .4 1.2 1 1.2h12.9c.7 0 1.2-0.5 1.2-1.2c0-0.6-0.5-1.1-1.2-1.1Z" fill="#2d323b"/><path d="M21.8 66.6c-0.7 0-1 .6-1 1.2c0 .6 .3 1 .9 1h10.3c.6 0 1.1-0.5 1.1-1.1c0-0.6-0.5-1.1-1.1-1.1Z" fill="#2d323b"/><path d="M21.8 53c-0.7 0-1.2 .5-1.1 1.1c0 .6 .4 1.1 1.1 1.1h10.2c.6 0 .9-0.6 .9-1.2c0-0.6-0.3-1-0.9-1Z" fill="#2d323b"/><path d="M20.4 48.8c-0.6 0-1.2 .5-1.2 1.1c0 .7 .6 1.2 1.2 1.2h12.9c.7 0 1-0.5 1-1.1c0-0.7-0.3-1.2-1-1.2Z" fill="#2d323b"/><path d="M16 46.5c0 4.1 1.3 7.1 3.1 9.7c1.8 2.5 4.1 4.4 6.3 6.2c2.1 1.8 4 3.6 5.4 5.5c1.4 1.9 2.2 4 2.2 7.1h4.7c0-4-1.3-7.1-3.1-9.6c-1.8-2.5-4.1-4.4-6.2-6.2c-2.2-1.8-4.1-3.4-5.5-5.3c-1.3-1.9-2.2-4.3-2.2-7.4Z" fill="#00a8d6"/></g></g></g></symbol></defs><rect width="1007" height="197" stroke="#0f1116" fill="#0f1116" stroke-width="0"/><path fill="#fff" d="M83.3 106.1v-65.7h17c4.2 0 7.9 .8 11 2.4c3.1 1.6 5.5 3.9 7.2 6.9c1.7 2.9 2.6 6.4 2.6 10.4v26.2c0 4-0.9 7.5-2.6 10.5c-1.7 3-4.1 5.3-7.2 6.9c-3.1 1.6-6.8 2.4-11 2.4Zm8.1-7.2h8.9c4 0 7.1-1.1 9.3-3.3c2.3-2.3 3.4-5.3 3.4-9.3v-26.2c0-3.9-1.1-7-3.4-9.2c-2.2-2.2-5.3-3.3-9.3-3.3h-8.9Zm45.3 7.2v-7.4h17.5v-34.7h-15.7v-7.4h23.8v42.1h16.7v7.4Zm20.7-58.4c-2 0-3.6-0.5-4.7-1.5c-1.2-1.1-1.7-2.4-1.7-4.2c0-1.8 .5-3.2 1.7-4.3c1.1-1 2.7-1.5 4.7-1.5c1.9 0 3.5 .5 4.6 1.5c1.2 1.1 1.7 2.5 1.7 4.3c0 1.8-0.5 3.1-1.7 4.2c-1.1 1-2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 1.4-0.9 2.5-2 3.3c-1.2 .8-2.7 1.2-4.4 1.2Zm-3.8-9.9h7.6v-0.9c0-1.3-0.3-2.3-1-3c-0.6-0.7-1.6-1.1-2.8-1.1c-1.2 0-2.2 .4-2.8 1.1c-0.7 .7-1 1.7-1 3Zm16.1 9.6v-16.5h2.7v3.1c.1-1.1 .6-1.9 1.3-2.5c.8-0.6 1.8-0.9 3.1-0.9c1.7 0 3.1 .5 4.1 1.6c1 1.1 1.5 2.6 1.5 4.5v1.1h-2.7v-0.9c0-1.3-0.3-2.2-0.9-2.9c-0.7-0.7-1.6-1.1-2.8-1.1c-2.4 0-3.6 1.4-3.6 4v10.5Zm23.7 .3c-1.3 0-2.4-0.3-3.4-0.8c-1-0.5-1.7-1.2-2.3-2.2c-0.5-0.9-0.8-2-0.8-3.3v-4.5c0-1.3 .3-2.4 .8-3.3c.6-1 1.3-1.7 2.3-2.2c1-0.5 2.1-0.8 3.4-0.8c1.3 0 2.4 .3 3.4 .8c1 .5 1.7 1.2 2.3 2.2c.5 .9 .7 2 .7 3.3v2.9h-10.2v1.6c0 1.3 .3 2.3 1 3c.6 .7 1.6 1 2.8 1c1 0 1.9-0.2 2.5-0.5c.7-0.4 1-1 1.2-1.7h2.7c-0.2 1.4-0.9 2.5-2 3.3c-1.2 .8-2.7 1.2-4.4 1.2Zm-3.8-9.9h7.6v-0.9c0-1.3-0.3-2.3-1-3c-0.6-0.7-1.6-1.1-2.8-1.1c-1.2 0-2.2 .4-2.8 1.1c-0.7 .7-1 1.7-1 3Z"/><g transform="translate(764,-14.5) scale(.431111,.440249) translate(-13.9,56.6)"><path fill="#e0e0e0" stroke="#e0e0e0" stroke-linejoin="round" d="M-50.7 4h278.2c10 0 9 0 9 0l41 40c0 0 1 0-9 0h-358c-9.9 0-9 0-9 0l38.8-40c0 0-0.9 0 9 0Z" stroke-width="10" transform="translate(225,339.9) scale(0,1) translate(-89.5,-24)" style="animation: 10s linear infinite both a0_t;"/><rect width="83" height="22" stroke="#fb422d" fill="#e0e0e0" rx="2" stroke-width="0" transform="translate(225,348.9) scale(0,1) translate(-41.5,-11)" style="animation: 10s linear infinite both a1_t;"/><g style="animation: 10s linear infinite both a3_t;"><rect width="400" height="334" stroke="#e0e0e0" fill="none" stroke-width="30" stroke-miterlimit="1" rx="10" opacity="0" transform="translate(225,198.9) rotate(-90) translate(-200,-167)" style="animation: 10s linear infinite both a2_t, 10s linear infinite both a2_o, 10s linear infinite both a2_sw, 10s linear infinite both a2_w, 10s linear infinite both a2_h;"/></g><use width="168.5" height="302" xlink:href="#Symbol-2" opacity="0" transform="translate(227.8,199.9) translate(-84.2,-151)" style="animation: 10s linear infinite both a4_t, 10s linear infinite both a4_w, 10s linear infinite both a4_h;"/><rect width="16" height="8" stroke="#fb422d" fill="#e0e0e0" stroke-width="0" rx="2" opacity="0" transform="translate(225,328.9) translate(-8,-4)" style="animation: 10s linear infinite both a5_t, 10s linear infinite both a5_o, 10s linear infinite both a5_w;"/><rect width="16" height="8" stroke="#fb422d" fill="#e0e0e0" stroke-width="0" rx="2" opacity="0" transform="translate(225,328.9) translate(-8,-4)" style="animation: 10s linear infinite both a6_t, 10s linear infinite both a6_o, 10s linear infinite both a6_w;"/><g transform="translate(225,198.9) scale(1.5,1.5) translate(-42.3,-93)" style="animation: 10s linear infinite both a7_t;"><g transform="translate(42.3,93) scale(5.352,6.9) translate(-16,60)"><g transform="translate(-34.9,-125.8)"><g transform="translate(24,5)"><path d="M33 46.5c0 3.1-0.8 5.5-2.2 7.4c-1.4 1.9-3.3 3.6-5.4 5.4c-2.2 1.7-4.5 3.6-6.3 6.2c-1.8 2.5-3.1 5.5-3.1 9.5h4.7c0-3.1 .9-5.4 2.2-7.3c1.4-1.9 3.3-3.5 5.5-5.3c2.1-1.8 4.4-3.7 6.2-6.2c1.8-2.6 3.1-5.6 3.1-9.7Z" fill="#e96020"/><path d="M20.4 70.7c-0.6 0-1 .5-1 1.1c0 .7 .4 1.2 1 1.2h12.9c.7 0 1.2-0.5 1.2-1.2c0-0.6-0.5-1.1-1.2-1.1Z" fill="#2d323b"/><path d="M21.8 66.6c-0.7 0-1 .6-1 1.2c0 .6 .3 1 .9 1h10.3c.6 0 1.1-0.5 1.1-1.1c0-0.6-0.5-1.1-1.1-1.1Z" fill="#2d323b"/><path d="M21.8 53c-0.7 0-1.2 .5-1.1 1.1c0 .6 .4 1.1 1.1 1.1h10.2c.6 0 .9-0.6 .9-1.2c0-0.6-0.3-1-0.9-1Z" fill="#2d323b"/><path d="M20.4 48.8c-0.6 0-1.2 .5-1.2 1.1c0 .7 .6 1.2 1.2 1.2h12.9c.7 0 1-0.5 1-1.1c0-0.7-0.3-1.2-1-1.2Z" fill="#2d323b"/><path d="M16 46.5c0 4.1 1.3 7.1 3.1 9.7c1.8 2.5 4.1 4.4 6.3 6.2c2.1 1.8 4 3.6 5.4 5.5c1.4 1.9 2.2 4 2.2 7.1h4.7c0-4-1.3-7.1-3.1-9.6c-1.8-2.5-4.1-4.4-6.2-6.2c-2.2-1.8-4.1-3.4-5.5-5.3c-1.3-1.9-2.2-4.3-2.2-7.4Z" fill="#00a8d6"/></g></g></g></g></g></svg>
\ No newline at end of file\ No newline at end of file
assets/main.cssmodified+366 -211
@@ -1,304 +1,459 @@
1-* {1+@font-face {
2- box-sizing: border-box;2+ font-family: "Archivo";
3- margin: 0;3+ src: url("/fonts/archivo-latin-wdth.woff2") format("woff2");
4- font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;4+ font-weight: 100 900;
5+ font-stretch: 62% 125%;
6+ font-display: swap;
7+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
8+}
9+
10+@font-face {
11+ font-family: "Archivo";
12+ src: url("/fonts/archivo-latin-ext-wdth.woff2") format("woff2");
13+ font-weight: 100 900;
14+ font-stretch: 62% 125%;
15+ font-display: swap;
16+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
5 }17 }
6 18
7-.post {19+@font-face {
8- margin: 1%;20+ font-family: "Inter";
21+ src: url("/fonts/inter-latin-wght.woff2") format("woff2");
22+ font-weight: 100 900;
23+ font-display: swap;
24+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
25+}
26+
27+@font-face {
28+ font-family: "Inter";
29+ src: url("/fonts/inter-latin-ext-wght.woff2") format("woff2");
30+ font-weight: 100 900;
31+ font-display: swap;
32+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
33+}
9 34
10- h1 {35+@font-face {
11- color: azure;36+ font-family: "JetBrains Mono";
12- }37+ src: url("/fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
38+ font-weight: 100 800;
39+ font-display: swap;
40+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
41+}
42+
43+@font-face {
44+ font-family: "JetBrains Mono";
45+ src: url("/fonts/jetbrains-mono-latin-ext-wght.woff2") format("woff2");
46+ font-weight: 100 800;
47+ font-display: swap;
48+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
49+}
50+
51+:root {
52+ --bg: #F5F5F4;
53+ --text: #18181B;
54+ --body: #3F3F46;
55+ --muted: #63636B;
56+ --line: #E4E4E7;
57+ --strong: #D4D4D8;
58+ --accent: #C2410C;
59+ --spark: #FF6A13;
60+ --gutter: 40px;
61+ --font-sans: "Inter", system-ui, sans-serif;
62+ --font-display: "Archivo", sans-serif;
63+ --font-mono: "JetBrains Mono", monospace;
64+}
13 65
14- h3 {66+* {
15- margin-top: 1%;67+ box-sizing: border-box;
16- color: aliceblue;68+}
17- }
18 69
19- h5 {70+body {
20- margin-bottom: 1%;71+ margin: 0;
21- color: antiquewhite;72+ background: var(--bg);
22- }73+ color: var(--text);
74+ font-family: var(--font-sans);
75+}
23 76
24- div {77+a {
25- margin-top: 1%;78+ color: inherit;
26- display: block;79+ text-decoration: none;
27- color: antiquewhite;80+}
28 81
29- @media screen {82+a:hover {
30- width: 50%;83+ color: var(--accent);
31- }84+}
32 85
33- @media screen and (max-width:820px) {86+h1, h2, p {
34- width: 100%;87+ margin: 0;
35- }88+}
36- }
37 89
38- p {90+.wrap {
39- margin: 1%;91+ max-width: 1120px;
40- }92+ margin: 0 auto;
93+ padding: 0 var(--gutter);
41 }94 }
42 95
43-.project {96+.stack {
44- margin: 1%;97+ display: flex;
98+ flex-direction: column;
99+ gap: 28px;
100+}
45 101
46- h1 {102+.arrow {
47- color: azure;103+ color: var(--muted);
48- }104+}
49 105
50- h3 {106+.index,
51- margin-top: 1%;107+.more,
52- color: aliceblue;108+.eyebrow,
53- }109+.back,
110+.meta,
111+.post-date,
112+.project-index,
113+.project-row-summary,
114+.footer-inner,
115+.nav {
116+ font-family: var(--font-mono);
117+ font-size: 13px;
118+}
54 119
55- h5 {120+.site-header {
56- margin-bottom: 1%;121+ border-bottom: 1px solid var(--line);
57- color: antiquewhite;122+ padding: 0 var(--gutter);
58- }123+}
59 124
60- div {125+.header-inner {
61- margin-top: 1%;126+ min-height: 64px;
62- display: block;127+ display: flex;
128+ align-items: center;
129+ justify-content: space-between;
130+ gap: 16px;
131+ flex-wrap: wrap;
132+}
63 133
64- @media screen {134+.wordmark {
65- width: 50%;135+ font-family: var(--font-display);
66- }136+ font-stretch: 112%;
137+ font-weight: 700;
138+ font-size: 18px;
139+ letter-spacing: -0.02em;
140+}
67 141
68- @media screen and (max-width:820px) {142+.nav {
69- width: 100%;143+ display: flex;
70- }144+ gap: 28px;
71- }145+ flex-wrap: wrap;
146+ color: var(--muted);
72 }147 }
73 148
74-#source_link_in_project_page {149+.nav a[aria-current="page"] {
75- text-decoration: none;150+ color: var(--text);
76- color: burlywood;
77 }151 }
78 152
79-#codeberg_link_in_project_page {153+.hero {
80- text-decoration: none;154+ padding: 128px 0;
81- color: rgb(33, 133, 208, 1.0);155+ border-bottom: 1px solid var(--line);
82 }156 }
83 157
84-#github_link_in_project_page {158+.eyebrow {
85- text-decoration: none;159+ display: flex;
86- color: coral;160+ align-items: center;
161+ gap: 10px;
162+ color: var(--accent);
87 }163 }
88 164
89-.links_list {165+.spark {
90- font-size: large;166+ width: 8px;
91- color: white;167+ height: 8px;
92- margin: 1%;168+ border-radius: 50%;
169+ background: var(--spark);
170+ box-shadow: 0 0 10px var(--spark);
93 }171 }
94 172
95-.links {173+.hero h1,
96- margin: 1%;174+.page-title {
175+ font-family: var(--font-display);
176+ font-stretch: 125%;
177+ font-weight: 700;
178+ letter-spacing: -0.04em;
179+ line-height: 0.95;
180+}
97 181
98- h1 {182+.hero h1 {
99- color: azure;183+ font-size: clamp(48px, 9vw, 104px);
100- }184+ line-height: 0.92;
185+}
101 186
102- h3 {187+.page-title {
103- margin-top: 1%;188+ font-size: clamp(48px, 9vw, 80px);
104- color: aliceblue;189+}
105- }
106 190
107- h5 {191+.lead {
108- margin-bottom: 1%;192+ font-size: 19px;
109- color: antiquewhite;193+ line-height: 1.6;
110- }194+ color: var(--body);
195+ max-width: 540px;
196+}
111 197
112- div {198+.buttons {
113- margin-top: 1%;199+ display: flex;
114- display: block;200+ gap: 12px;
201+ flex-wrap: wrap;
202+ margin-top: 8px;
203+}
115 204
116- @media screen {205+.button {
117- width: 50%;206+ border: 1px solid var(--strong);
118- }207+ border-radius: 6px;
208+ padding: 12px 20px;
209+ font-size: 15px;
210+ font-weight: 500;
211+}
119 212
120- @media screen and (max-width:820px) {213+.button.primary {
121- width: 100%;214+ background: var(--text);
122- }215+ border-color: var(--text);
123- }216+ color: var(--bg);
217+ font-weight: 600;
218+ padding: 13px 20px;
124 }219 }
125 220
126-.links_link {221+.button.primary:hover {
127- text-decoration: underline;222+ background: var(--accent);
128- font-size: x-large;223+ border-color: var(--accent);
129- color: azure;224+ color: var(--bg);
130- margin: 1%;
131 }225 }
132 226
227+.section {
228+ padding: 88px 0;
229+ border-top: 1px solid var(--line);
230+}
133 231
134-.projects_list {232+.section-head {
135- font-size: large;233+ display: flex;
136- color: white;234+ align-items: baseline;
137- margin: 1%;235+ gap: 16px;
138 }236 }
139 237
140-.project_link {238+.index {
141- text-decoration: underline;239+ color: var(--accent);
142- font-size: x-large;
143- color: azure;
144- margin: 1%;
145 }240 }
146 241
147-.project {242+.section-head h2 {
148- margin: 1%;243+ font-family: var(--font-display);
244+ font-stretch: 112%;
245+ font-size: clamp(28px, 4vw, 36px);
246+ font-weight: 600;
247+ letter-spacing: -0.02em;
248+}
149 249
150- h1 {250+.rule {
151- color: azure;251+ flex: 1;
152- }252+ height: 1px;
253+ background: var(--line);
254+}
153 255
154- h3 {256+.more {
155- margin-top: 1%;257+ color: var(--muted);
156- color: aliceblue;258+}
157- }
158 259
159- h5 {260+.post-list {
160- margin-bottom: 1%;261+ display: flex;
161- color: antiquewhite;262+ flex-direction: column;
162- }263+}
163 264
164- div {265+.post-row {
165- margin-top: 1%;266+ display: grid;
166- display: block;267+ grid-template-columns: 100px minmax(0, 1fr) 24px;
268+ gap: 16px;
269+ align-items: center;
270+ padding: 20px 0;
271+ border-bottom: 1px solid var(--line);
272+}
167 273
168- @media screen {274+.post-date {
169- width: 50%;275+ color: var(--muted);
170- }276+}
171 277
172- @media screen and (max-width:820px) {278+.post-title {
173- width: 100%;279+ font-size: 20px;
174- }280+ font-weight: 500;
175- }
176 }281 }
177 282
178-#github_link_in_post_page {283+.post-kind {
179- text-decoration: none;284+ color: var(--muted);
180- color: coral;285+ font-weight: 400;
181 }286 }
182 287
183-.posts_list {288+.project-grid {
184- font-size: large;289+ display: grid;
185- color: white;290+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
186- margin: 1%;291+ border-top: 1px solid var(--line);
292+ border-left: 1px solid var(--line);
187 }293 }
188 294
189-.posts_list h1 {295+.project-cell {
190- margin-top: 1%;296+ display: flex;
191- margin-bottom: 1%;297+ flex-direction: column;
298+ justify-content: space-between;
299+ gap: 16px;
300+ min-height: 140px;
301+ padding: 22px;
302+ border-right: 1px solid var(--line);
303+ border-bottom: 1px solid var(--line);
192 }304 }
193 305
194-.post_link {306+.project-cell:hover .project-name {
195- text-decoration: underline;307+ color: var(--accent);
196- font-size: x-large;
197- color: azure;
198- margin: 1%;
199 }308 }
200 309
201-body {310+.project-index {
202- background-color: rgba(0, 0, 0, 0.98);311+ color: var(--muted);
203- color: silver;312+ font-size: 12px;
204 }313 }
205 314
206-.main_nav_btn {315+.project-text {
207- text-decoration: overline silver;316+ display: flex;
208- color: burlywood;317+ flex-direction: column;
209- text-shadow: 1px 1px orange;318+ gap: 4px;
210- padding: 5%;319+}
211 320
212- @media screen {321+.project-name {
213- font-size: xx-large;322+ font-size: 18px;
214- }323+ font-weight: 600;
324+}
215 325
216- @media screen and (max-width:820px) {326+.project-summary {
217- font-size: x-large;327+ font-size: 14px;
218- }328+ color: var(--muted);
219 }329 }
220 330
221-.main_nav_btn:hover {331+.quote {
222- background-color: rgba(255, 240, 240, 0.2);332+ padding: 96px 0;
333+ border-top: 1px solid var(--line);
223 }334 }
224 335
225-.main_nav {336+.quote-mark {
226- display: inline-flex;337+ font-family: var(--font-display);
227- padding-top: 1%;338+ font-size: 96px;
228- padding-bottom: 1%;339+ font-weight: 800;
229- background-blend-mode: multiply;340+ line-height: 0.6;
341+ height: 48px;
342+ color: var(--spark);
230 }343 }
231 344
232-.main {345+.quote-text {
233- margin: 1%;346+ font-family: var(--font-display);
347+ font-size: clamp(28px, 4vw, 40px);
348+ font-weight: 500;
349+ letter-spacing: -0.02em;
350+ line-height: 1.2;
351+ max-width: 860px;
234 }352 }
235 353
354+.page {
355+ padding: 96px 0;
356+}
236 357
237-#main_about {358+.project-table {
238- display: block;359+ overflow-x: auto;
239- white-space: pre-line;360+ border-top: 1px solid var(--text);
361+}
240 362
241- @media screen {363+.project-row {
242- width: 50%;364+ display: grid;
243- }365+ grid-template-columns: 56px minmax(200px, 1fr) minmax(220px, 1.4fr) 24px;
366+ gap: 16px;
367+ align-items: baseline;
368+ min-width: 600px;
369+ padding: 22px 0;
370+ border-bottom: 1px solid var(--line);
371+}
244 372
245- @media screen and (max-width:820px) {373+.project-row-name {
246- width: 100%;374+ font-family: var(--font-display);
247- }375+ font-stretch: 112%;
376+ font-size: 24px;
377+ font-weight: 600;
378+ letter-spacing: -0.02em;
248 }379 }
249 380
250-header {381+.project-row-summary {
251- background-size: cover;382+ color: var(--body);
252- border-bottom: 1px solid rgba(0, 0, 0, 0.5);383+ font-size: 16px;
253- margin-bottom: 1% black;384+ font-family: var(--font-sans);
254- background-color: rgba(0, 0, 0, 0.6);
255 }385 }
256 386
257-#name {387+.article {
258- color: white;388+ display: flex;
389+ flex-direction: column;
390+ gap: 40px;
391+ max-width: 680px;
392+ margin-inline: auto;
393+ padding-inline: var(--gutter);
394+ box-sizing: content-box;
259 }395 }
260 396
261-#title {397+.back {
262- color: aqua;398+ color: var(--accent);
263- margin-top: 1%;
264- margin-bottom: 1%;
265 }399 }
266 400
267-#codeberg {401+.meta {
268- margin: 5%;402+ color: var(--muted);
269- color: rgb(33, 133, 208, 1.0);
270- font-size: large;
271- font-weight: bold;
272 }403 }
273 404
405+.blocks {
406+ display: flex;
407+ flex-direction: column;
408+ gap: 28px;
409+ font-size: 19px;
410+ line-height: 1.8;
411+ color: var(--body);
412+}
274 413
275-#github {414+.blocks h2 {
276- margin: 5%;415+ font-family: var(--font-display);
277- color: brown;416+ font-stretch: 112%;
278- font-size: large;417+ font-size: 28px;
279- font-weight: bold;418+ font-weight: 600;
419+ color: var(--text);
280 }420 }
281 421
282-#linkedin {422+.site-footer {
283- margin: 5%;423+ padding: 32px var(--gutter);
284- color: cornflowerblue;424+ border-top: 1px solid var(--line);
285- font-size: large;
286- font-weight: bold;
287 }425 }
288 426
289-#social_links {427+.footer-inner {
290- display: inline-block;428+ display: flex;
291- margin: 1%;429+ justify-content: space-between;
430+ gap: 16px;
431+ flex-wrap: wrap;
432+ color: var(--muted);
292 }433 }
293 434
294-.footer_div {435+.footer-links {
295- margin-top: 5%;436+ display: flex;
437+ gap: 24px;
296 }438 }
297 439
298-footer {440+@media (max-width: 640px) {
299- color: burlywood;441+ :root {
300- bottom: 0;442+ --gutter: 20px;
301- width: 100%;443+ }
302- position: fixed;444+
303- background-color: rgb(0, 0, 0, 0.9);445+ .hero {
446+ padding: 80px 0;
447+ }
448+
449+ .section,
450+ .quote,
451+ .page {
452+ padding-top: 56px;
453+ padding-bottom: 56px;
454+ }
455+
456+ .post-row {
457+ grid-template-columns: 84px minmax(0, 1fr) 20px;
458+ }
304 }459 }
deploy/ferron.confadded+7 -0
@@ -0,0 +1,7 @@
1+# Ferron reverse proxy for personality. Same format as the im example (ferron.conf, not KDL).
2+# A bare host block gets automatic TLS.
3+tahinli.com {
4+ proxy {
5+ upstream http://127.0.0.1:2020
6+ }
7+}
deploy/personality.serviceadded+51 -0
@@ -0,0 +1,51 @@
1+[Unit]
2+Description=personality: personal website
3+After=network-online.target
4+Wants=network-online.target
5+StartLimitIntervalSec=60
6+StartLimitBurst=5
7+
8+[Service]
9+Type=simple
10+DynamicUser=yes
11+Environment=HOST=127.0.0.1
12+Environment=PORT=2020
13+ExecStart=/usr/local/bin/personality
14+Restart=on-failure
15+RestartSec=2
16+LimitNOFILE=65536
17+MemoryMax=256M
18+CapabilityBoundingSet=
19+AmbientCapabilities=
20+UMask=0077
21+
22+# Hardening. The site is stateless: nothing is writable.
23+NoNewPrivileges=yes
24+ProtectSystem=strict
25+ProtectHome=yes
26+PrivateTmp=yes
27+PrivateDevices=yes
28+PrivateUsers=yes
29+ProtectKernelTunables=yes
30+ProtectKernelModules=yes
31+ProtectKernelLogs=yes
32+ProtectControlGroups=yes
33+ProtectClock=yes
34+ProtectHostname=yes
35+RestrictSUIDSGID=yes
36+RestrictRealtime=yes
37+RestrictNamespaces=yes
38+RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
39+LockPersonality=yes
40+MemoryDenyWriteExecute=yes
41+SystemCallArchitectures=native
42+SystemCallFilter=@system-service
43+SystemCallFilter=~@privileged
44+ProtectProc=invisible
45+ProcSubset=pid
46+RemoveIPC=yes
47+PrivateMounts=yes
48+KeyringMode=private
49+
50+[Install]
51+WantedBy=multi-user.target
deploy/user/personality.serviceadded+34 -0
@@ -0,0 +1,34 @@
1+[Unit]
2+Description=personality: personal website, as a user service
3+# No network-online.target: it is a system unit that a user manager cannot see, and personality binds 127.0.0.1.
4+StartLimitIntervalSec=60
5+StartLimitBurst=5
6+
7+[Service]
8+Type=simple
9+# Runs as the account that owns this unit (for example `apps`), under its user manager. No User= or Group=.
10+# The binary is installed by kur into ~/bin/personality.
11+Environment=HOST=127.0.0.1
12+Environment=PORT=2020
13+ExecStart=%h/bin/personality
14+Restart=on-failure
15+RestartSec=2
16+LimitNOFILE=65536
17+MemoryMax=256M
18+UMask=0077
19+
20+# Hardening. Only the options a user manager applies without special privileges. The namespace-based options
21+# of the system unit (ProtectSystem, PrivateTmp, ProtectHome, PrivateDevices, and the rest) are left out:
22+# a user manager can apply them only where unprivileged user namespaces are available.
23+NoNewPrivileges=yes
24+LockPersonality=yes
25+RestrictRealtime=yes
26+RestrictSUIDSGID=yes
27+MemoryDenyWriteExecute=yes
28+SystemCallArchitectures=native
29+SystemCallFilter=@system-service
30+SystemCallFilter=~@privileged
31+RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
32+
33+[Install]
34+WantedBy=default.target
src/app.rsadded+158 -0
@@ -0,0 +1,158 @@
1+mod assets;
2+mod blocks;
3+mod posts;
4+mod projects;
5+
6+use topcoat::{
7+ Result,
8+ context::{Cx, context},
9+ router::{Router, RouterBuilderDiscoverExt, Slot, href, layout, module_router, page},
10+ view::{View, component, view},
11+};
12+
13+use crate::content::{Block, posts::Post, projects::Project};
14+
15+pub struct Title(pub fn(&Cx) -> String);
16+
17+pub fn router() -> Router {
18+ module_router!().discover().build()
19+}
20+
21+#[component]
22+async fn site_header(cx: &Cx) -> Result<impl View> {
23+ let posts = href!(posts::index);
24+ let projects = href!(projects::index);
25+ let posts_current = posts.is_current(cx);
26+ let projects_current = projects.is_current(cx);
27+
28+ Ok(view! {
29+ <header class="site-header">
30+ <div class="wrap header-inner">
31+ <a class="wordmark" href=(href!(home))>"tahinli"</a>
32+ <nav class="nav" aria-label="Main">
33+ <a href=(posts) aria-current=(posts_current.then_some("page"))>"posts"</a>
34+ <a href=(projects) aria-current=(projects_current.then_some("page"))>"projects"</a>
35+ <a href="https://git.tahinli.com">"forge ↗"</a>
36+ </nav>
37+ </div>
38+ </header>
39+ })
40+}
41+
42+#[component]
43+async fn site_footer(cx: &Cx) -> Result<impl View> {
44+ Ok(view! {
45+ <footer class="site-footer">
46+ <div class="wrap footer-inner">
47+ <span>"Don't you dare go Hollow"</span>
48+ <span class="footer-links">
49+ <a href="https://git.tahinli.com">"forge"</a>
50+ <a href="https://github.com/Tahinli">"github"</a>
51+ <a href="https://linkedin.com/in/ahmetkaangumus">"linkedin"</a>
52+ </span>
53+ </div>
54+ </footer>
55+ })
56+}
57+
58+fn awaken_first_line() -> &'static str {
59+ Post::Awaken
60+ .body()
61+ .iter()
62+ .find_map(|block| match block {
63+ Block::Lines(lines) => lines.first().copied(),
64+ _ => None,
65+ })
66+ .unwrap_or_default()
67+}
68+
69+#[layout(with(Title(|_| "Ahmet Kaan Gümüş".to_owned())))]
70+async fn root_layout(cx: &Cx, slot: Slot<'_>) -> Result<impl View> {
71+ let Title(render) = context::<Title>(cx);
72+ let title = render(cx);
73+
74+ Ok(view! {
75+ <!DOCTYPE html>
76+ <html lang="en">
77+ <head>
78+ <meta charset="utf-8">
79+ <meta name="viewport" content="width=device-width, initial-scale=1">
80+ <title>(title)</title>
81+ <link rel="stylesheet" href="/main.css">
82+ <link rel="icon" href="/favicon.ico" type="image/x-icon">
83+ </head>
84+ <body>
85+ site_header()
86+ <main>(slot)</main>
87+ site_footer()
88+ </body>
89+ </html>
90+ })
91+}
92+
93+#[page]
94+async fn home(cx: &Cx) -> Result<impl View> {
95+ let latest = Post::ALL[0];
96+ let latest_label = format!("Latest {} →", latest.kind().label());
97+ let quote = Post::Awaken;
98+
99+ Ok(view! {
100+ <section class="hero">
101+ <div class="wrap stack">
102+ <span class="eyebrow"><span class="spark"></span>"software engineer · rust"</span>
103+ <h1>"Ahmet Kaan" <br> "Gümüş"</h1>
104+ <p class="lead">"I write Rust, poems and open letters. Software that stands the test of time."</p>
105+ <div class="buttons">
106+ <a class="button primary" href=(posts::detail_url(cx, latest))>(latest_label)</a>
107+ <a class="button" href=(href!(projects::index))>"Projects"</a>
108+ </div>
109+ </div>
110+ </section>
111+
112+ <section class="section">
113+ <div class="wrap stack">
114+ <div class="section-head">
115+ <span class="index">"01"</span>
116+ <h2>"Posts"</h2>
117+ <span class="rule"></span>
118+ <a class="more" href=(href!(posts::index))>"all →"</a>
119+ </div>
120+ <div class="post-list">
121+ for post in Post::ALL {
122+ posts::post_row(post: post)
123+ }
124+ </div>
125+ </div>
126+ </section>
127+
128+ <section class="section">
129+ <div class="wrap stack">
130+ <div class="section-head">
131+ <span class="index">"02"</span>
132+ <h2>"Projects"</h2>
133+ <span class="rule"></span>
134+ <a class="more" href=(href!(projects::index))>"all →"</a>
135+ </div>
136+ <div class="project-grid">
137+ for (i, project) in Project::ALL.into_iter().take(8).enumerate() {
138+ <a class="project-cell" href=(projects::detail_url(cx, project))>
139+ <span class="project-index">(format!("{:02}", i + 1))</span>
140+ <span class="project-text">
141+ <span class="project-name">(project.name())</span>
142+ <span class="project-summary">(project.summary())</span>
143+ </span>
144+ </a>
145+ }
146+ </div>
147+ </div>
148+ </section>
149+
150+ <section class="quote">
151+ <div class="wrap stack">
152+ <span class="quote-mark" aria-hidden="true">"“"</span>
153+ <p class="quote-text">(awaken_first_line())</p>
154+ <a class="more" href=(posts::detail_url(cx, quote))>"— " (quote.title())</a>
155+ </div>
156+ </section>
157+ })
158+}
src/app/assets.rsadded+38 -0
@@ -0,0 +1,38 @@
1+use http::header::{CACHE_CONTROL, CONTENT_TYPE};
2+use topcoat::{
3+ Result,
4+ context::Cx,
5+ router::{Body, content::Css, error::not_found, path_param, route},
6+};
7+
8+path_param!(file);
9+
10+#[route(GET "/main.css")]
11+pub async fn stylesheet(cx: &Cx) -> Result<Css<&'static str>> {
12+ Ok(Css(include_str!("../../assets/main.css")))
13+}
14+
15+#[route(GET "/favicon.ico")]
16+pub async fn favicon(cx: &Cx) -> Result<http::Response<Body>> {
17+ Ok(http::Response::builder()
18+ .header(CONTENT_TYPE, "image/x-icon")
19+ .body(Body::from(&include_bytes!("../../assets/favicon.ico")[..]))?)
20+}
21+
22+#[route(GET "/fonts/{file}")]
23+pub async fn font(cx: &Cx) -> Result<http::Response<Body>> {
24+ let bytes: &'static [u8] = match file(cx) {
25+ "archivo-latin-wdth.woff2" => include_bytes!("../../assets/fonts/archivo-latin-wdth.woff2"),
26+ "archivo-latin-ext-wdth.woff2" => include_bytes!("../../assets/fonts/archivo-latin-ext-wdth.woff2"),
27+ "inter-latin-wght.woff2" => include_bytes!("../../assets/fonts/inter-latin-wght.woff2"),
28+ "inter-latin-ext-wght.woff2" => include_bytes!("../../assets/fonts/inter-latin-ext-wght.woff2"),
29+ "jetbrains-mono-latin-wght.woff2" => include_bytes!("../../assets/fonts/jetbrains-mono-latin-wght.woff2"),
30+ "jetbrains-mono-latin-ext-wght.woff2" => include_bytes!("../../assets/fonts/jetbrains-mono-latin-ext-wght.woff2"),
31+ _ => return Err(not_found().into()),
32+ };
33+
34+ Ok(http::Response::builder()
35+ .header(CONTENT_TYPE, "font/woff2")
36+ .header(CACHE_CONTROL, "public, max-age=31536000, immutable")
37+ .body(Body::from(bytes))?)
38+}
src/app/blocks.rsadded+29 -0
@@ -0,0 +1,29 @@
1+use topcoat::{
2+ Result,
3+ context::Cx,
4+ view::{View, component, view},
5+};
6+
7+use crate::content::Block;
8+
9+#[component]
10+pub async fn blocks(cx: &Cx, items: &[Block]) -> Result<impl View> {
11+ Ok(view! {
12+ <div class="blocks">
13+ for block in items {
14+ match block {
15+ Block::Heading(text) => <h2>(text)</h2>,
16+ Block::Paragraph(text) => <p>(text)</p>,
17+ Block::Lines(lines) => <p>
18+ for (i, line) in lines.iter().enumerate() {
19+ if i > 0 {
20+ <br>
21+ }
22+ (line)
23+ }
24+ </p>,
25+ }
26+ }
27+ </div>
28+ })
29+}
src/app/posts.rsadded+44 -0
@@ -0,0 +1,44 @@
1+pub mod slug;
2+
3+use topcoat::{
4+ Result,
5+ context::Cx,
6+ router::{href, page},
7+ view::{View, component, view},
8+};
9+
10+use crate::{app::Title, content::posts::Post};
11+
12+pub fn detail_url(cx: &Cx, post: Post) -> String {
13+ href!(slug::detail, slug: post.slug()).resolve(cx)
14+}
15+
16+#[component]
17+pub async fn post_row(cx: &Cx, post: Post) -> Result<impl View> {
18+ Ok(view! {
19+ <a class="post-row" href=(detail_url(cx, post))>
20+ <span class="post-date">(post.date().unwrap_or("undated"))</span>
21+ <span class="post-title">
22+ (post.title())
23+ <span class="post-kind">" · " (post.kind().label())</span>
24+ </span>
25+ <span class="arrow">"→"</span>
26+ </a>
27+ })
28+}
29+
30+#[page(with(Title(|_| "Posts · tahinli".to_owned())))]
31+pub async fn index(cx: &Cx) -> Result<impl View> {
32+ Ok(view! {
33+ <section class="page">
34+ <div class="wrap stack">
35+ <h1 class="page-title">"Posts"</h1>
36+ <div class="post-list">
37+ for post in Post::ALL {
38+ post_row(post: post)
39+ }
40+ </div>
41+ </div>
42+ </section>
43+ })
44+}
src/app/posts/slug.rsadded+38 -0
@@ -0,0 +1,38 @@
1+use topcoat::{
2+ Result,
3+ context::Cx,
4+ router::{error::RouterErrorExt, href, module_param, page},
5+ view::{View, view},
6+};
7+
8+use crate::{
9+ app::{Title, blocks::blocks},
10+ content::posts::Post,
11+};
12+
13+module_param!(pub slug);
14+
15+fn title(cx: &Cx) -> String {
16+ match Post::from_slug(slug(cx)) {
17+ Some(post) => format!("{} · tahinli", post.title()),
18+ None => String::from("tahinli"),
19+ }
20+}
21+
22+#[page(with(Title(title)))]
23+pub async fn detail(cx: &Cx) -> Result<impl View> {
24+ let post = Post::from_slug(slug(cx)).ok_or_not_found()?;
25+ let meta = match post.date() {
26+ Some(date) => format!("{} · {} · Ahmet Kaan Gümüş", post.kind().label(), date),
27+ None => format!("{} · Ahmet Kaan Gümüş", post.kind().label()),
28+ };
29+
30+ Ok(view! {
31+ <article class="page article">
32+ <a class="back" href=(href!(super::index))>"← posts"</a>
33+ <h1 class="page-title">(post.title())</h1>
34+ <span class="meta">(meta)</span>
35+ blocks(items: post.body())
36+ </article>
37+ })
38+}
src/app/projects.rsadded+35 -0
@@ -0,0 +1,35 @@
1+pub mod slug;
2+
3+use topcoat::{
4+ Result,
5+ context::Cx,
6+ router::{href, page},
7+ view::{View, view},
8+};
9+
10+use crate::{app::Title, content::projects::Project};
11+
12+pub fn detail_url(cx: &Cx, project: Project) -> String {
13+ href!(slug::detail, slug: project.slug()).resolve(cx)
14+}
15+
16+#[page(with(Title(|_| "Projects · tahinli".to_owned())))]
17+pub async fn index(cx: &Cx) -> Result<impl View> {
18+ Ok(view! {
19+ <section class="page">
20+ <div class="wrap stack">
21+ <h1 class="page-title">"Projects"</h1>
22+ <div class="project-table">
23+ for (i, project) in Project::ALL.into_iter().enumerate() {
24+ <a class="project-row" href=(detail_url(cx, project))>
25+ <span class="project-index">(format!("{:02}", i + 1))</span>
26+ <span class="project-row-name">(project.name())</span>
27+ <span class="project-row-summary">(project.summary())</span>
28+ <span class="arrow">"→"</span>
29+ </a>
30+ }
31+ </div>
32+ </div>
33+ </section>
34+ })
35+}
src/app/projects/slug.rsadded+35 -0
@@ -0,0 +1,35 @@
1+use topcoat::{
2+ Result,
3+ context::Cx,
4+ router::{error::RouterErrorExt, href, module_param, page},
5+ view::{View, view},
6+};
7+
8+use crate::{
9+ app::{Title, blocks::blocks},
10+ content::projects::Project,
11+};
12+
13+module_param!(pub slug);
14+
15+fn title(cx: &Cx) -> String {
16+ match Project::from_slug(slug(cx)) {
17+ Some(project) => format!("{} · tahinli", project.name()),
18+ None => String::from("tahinli"),
19+ }
20+}
21+
22+#[page(with(Title(title)))]
23+pub async fn detail(cx: &Cx) -> Result<impl View> {
24+ let project = Project::from_slug(slug(cx)).ok_or_not_found()?;
25+
26+ Ok(view! {
27+ <article class="page article">
28+ <a class="back" href=(href!(super::index))>"← projects"</a>
29+ <h1 class="page-title">(project.name())</h1>
30+ <p class="lead">(project.summary())</p>
31+ <a class="more" href=(project.source())>"source ↗"</a>
32+ blocks(items: project.body())
33+ </article>
34+ })
35+}
src/content.rsadded+8 -0
@@ -0,0 +1,8 @@
1+pub mod posts;
2+pub mod projects;
3+
4+pub enum Block {
5+ Heading(&'static str),
6+ Paragraph(&'static str),
7+ Lines(&'static [&'static str]),
8+}
src/content/posts.rsadded+128 -0
@@ -0,0 +1,128 @@
1+use super::Block;
2+
3+#[derive(Clone, Copy, PartialEq, Eq, Debug)]
4+pub enum PostKind {
5+ Letter,
6+ Poem,
7+}
8+
9+impl PostKind {
10+ pub fn label(self) -> &'static str {
11+ match self {
12+ PostKind::Letter => "letter",
13+ PostKind::Poem => "poem",
14+ }
15+ }
16+}
17+
18+#[derive(Clone, Copy, PartialEq, Eq, Debug)]
19+pub enum Post {
20+ Letter20250824,
21+ Letter20250216,
22+ Awaken,
23+}
24+
25+impl Post {
26+ pub const ALL: [Post; 3] = [Post::Letter20250824, Post::Letter20250216, Post::Awaken];
27+
28+ pub fn from_slug(slug: &str) -> Option<Self> {
29+ Self::ALL.into_iter().find(|post| post.slug() == slug)
30+ }
31+
32+ pub fn slug(self) -> &'static str {
33+ match self {
34+ Post::Letter20250824 => "open-letter-2025-08-24",
35+ Post::Letter20250216 => "open-letter-2025-02-16",
36+ Post::Awaken => "awaken",
37+ }
38+ }
39+
40+ pub fn title(self) -> &'static str {
41+ match self {
42+ Post::Letter20250824 | Post::Letter20250216 => "Open letter",
43+ Post::Awaken => "Awaken",
44+ }
45+ }
46+
47+ pub fn kind(self) -> PostKind {
48+ match self {
49+ Post::Letter20250824 | Post::Letter20250216 => PostKind::Letter,
50+ Post::Awaken => PostKind::Poem,
51+ }
52+ }
53+
54+ pub fn date(self) -> Option<&'static str> {
55+ match self {
56+ Post::Letter20250824 => Some("2025-08-24"),
57+ Post::Letter20250216 => Some("2025-02-16"),
58+ Post::Awaken => None,
59+ }
60+ }
61+
62+ pub fn body(self) -> &'static [Block] {
63+ match self {
64+ Post::Letter20250824 => &[
65+ Block::Paragraph("Hi,"),
66+ Block::Paragraph("It has been a couple of months since I quit GitHub. In this period I understood a couple of things:"),
67+ Block::Paragraph("Only (or mostly) big open-source projects are capable of reaching others and maintaining themselves without using GitHub."),
68+ Block::Paragraph("If you are a solo developer or a small team, you have already lost your chance to reach others when you self-host."),
69+ Block::Paragraph("Data security, backup and recovery processes are more serious things than they seemed."),
70+ Block::Paragraph("CI/CD processes are not free."),
71+ Block::Paragraph("Even non-technical people are familiar with GitHub, and it's an indicator for HR departments when applying for a job."),
72+ Block::Paragraph("I'm still in the same position as in my 16 February 2025 letter. GitHub is still closed source and owned by Microsoft. I want to own my own code but still need to reach the community, get better CI/CD and have reliable backup opportunities. So from now on,"),
73+ Block::Paragraph("I will mirror my repos to different platforms, including GitHub."),
74+ Block::Paragraph("Best wishes,"),
75+ Block::Paragraph("Ahmet Kaan Gümüş"),
76+ ],
77+ Post::Letter20250216 => &[
78+ Block::Paragraph("Hi,"),
79+ Block::Paragraph("Since I'm an open-source developer and a person who relies on open source software, I realized there is a massive contradiction between my perspective and my life. It's GitHub, which is run by Microsoft. It took me a lot of time to understand what I'm doing after using it for many years and pushing thousands of commits for tens of projects."),
80+ Block::Paragraph("I don't want this situation to continue. From now on,"),
81+ Block::Paragraph("I have archived all of my repositories and plan to log in only for opening issues and pull requests for other projects."),
82+ Block::Paragraph("My new projects will not be hosted there."),
83+ Block::Paragraph("If an existing project needs an update, or I want to add new things, it will not be there."),
84+ Block::Paragraph("You can follow my projects and source codes from https://tahinli.com."),
85+ Block::Paragraph("Best wishes,"),
86+ Block::Paragraph("Ahmet Kaan Gümüş"),
87+ ],
88+ Post::Awaken => &[
89+ Block::Lines(&[
90+ "Does every word flies, if it's not written.",
91+ "A life goes by a word that is written.",
92+ "Word doesn't know what is written.",
93+ "Only feels why it's written.",
94+ ]),
95+ Block::Lines(&[
96+ "Things come and go with a light.",
97+ "A cry is woken by the light.",
98+ "Does ever the light's gone for a blind.",
99+ "Maybe awaken is blinded by the light.",
100+ ]),
101+ Block::Lines(&[
102+ "Time goes with a paper and blood.",
103+ "The blood will end by the paper and a heart.",
104+ "The paper came with the blood and a knife.",
105+ "Hearts will die with the time and the blood.",
106+ ]),
107+ Block::Lines(&[
108+ "Sirens are here to wake.",
109+ "The awaken is ready to take a break.",
110+ "Screams goes where, when a silence comes to take.",
111+ "Take the gap to get a moment to wake.",
112+ ]),
113+ Block::Lines(&[
114+ "The awaken can't feel a thing what is real.",
115+ "Does ever be a thing that is not surreal.",
116+ "Real isn't the moment to be there to deal.",
117+ "Deal is ever be a thing in real.",
118+ ]),
119+ Block::Lines(&[
120+ "Blooded writes these down with a blind mind.",
121+ "A mind came by the light to get a heart of a knife.",
122+ "The knife cuts the light in a written time.",
123+ "The written is the siren for the awaken to die.",
124+ ]),
125+ ],
126+ }
127+ }
128+}
src/content/projects.rsadded+210 -0
@@ -0,0 +1,210 @@
1+use super::Block;
2+
3+#[derive(Clone, Copy, PartialEq, Eq, Debug)]
4+pub enum Project {
5+ Os,
6+ Radioxide,
7+ TcpFileTransfer,
8+ MemoryFillerKiller,
9+ PackageManager,
10+ Personality,
11+ UdpHolePuncher,
12+ Blockchain,
13+ OptimizationAlgorithms,
14+ Forum,
15+ VoiceChat,
16+ Webrtc,
17+ VoiceChatRoom,
18+}
19+
20+impl Project {
21+ pub const ALL: [Project; 13] = [
22+ Project::Os,
23+ Project::Radioxide,
24+ Project::TcpFileTransfer,
25+ Project::MemoryFillerKiller,
26+ Project::PackageManager,
27+ Project::Personality,
28+ Project::UdpHolePuncher,
29+ Project::Blockchain,
30+ Project::OptimizationAlgorithms,
31+ Project::Forum,
32+ Project::VoiceChat,
33+ Project::Webrtc,
34+ Project::VoiceChatRoom,
35+ ];
36+
37+ pub fn from_slug(slug: &str) -> Option<Self> {
38+ Self::ALL.into_iter().find(|project| project.slug() == slug)
39+ }
40+
41+ pub fn slug(self) -> &'static str {
42+ match self {
43+ Project::Os => "os",
44+ Project::Radioxide => "radioxide",
45+ Project::TcpFileTransfer => "tcp-file-transfer",
46+ Project::MemoryFillerKiller => "memory-filler-killer",
47+ Project::PackageManager => "package-manager",
48+ Project::Personality => "personality",
49+ Project::UdpHolePuncher => "udp-hole-puncher",
50+ Project::Blockchain => "blockchain",
51+ Project::OptimizationAlgorithms => "optimization-algorithms",
52+ Project::Forum => "forum",
53+ Project::VoiceChat => "voice-chat",
54+ Project::Webrtc => "webrtc",
55+ Project::VoiceChatRoom => "voice-chat-room",
56+ }
57+ }
58+
59+ pub fn name(self) -> &'static str {
60+ match self {
61+ Project::Os => "OS",
62+ Project::Radioxide => "Radioxide",
63+ Project::TcpFileTransfer => "TCP File Transfer",
64+ Project::MemoryFillerKiller => "Memory Filler Killer",
65+ Project::PackageManager => "Package Manager",
66+ Project::Personality => "Personality",
67+ Project::UdpHolePuncher => "UDP Hole Puncher",
68+ Project::Blockchain => "Blockchain",
69+ Project::OptimizationAlgorithms => "Optimization Algorithms",
70+ Project::Forum => "Forum",
71+ Project::VoiceChat => "Voice Chat",
72+ Project::Webrtc => "WebRTC",
73+ Project::VoiceChatRoom => "Voice Chat Room",
74+ }
75+ }
76+
77+ pub fn summary(self) -> &'static str {
78+ match self {
79+ Project::Os => "Operating system.",
80+ Project::Radioxide => "Online radio.",
81+ Project::TcpFileTransfer => "New file transfer protocol based on TCP.",
82+ Project::MemoryFillerKiller => "Memory fullness and filler checker.",
83+ Project::PackageManager => "Package manager.",
84+ Project::Personality => "Personal website.",
85+ Project::UdpHolePuncher => "UDP hole puncher.",
86+ Project::Blockchain => "Blockchain.",
87+ Project::OptimizationAlgorithms => "Optimization algorithms.",
88+ Project::Forum => "Forum back end.",
89+ Project::VoiceChat => "Voice chat.",
90+ Project::Webrtc => "WebRTC voice chat.",
91+ Project::VoiceChatRoom => "Voice chat room.",
92+ }
93+ }
94+
95+ pub fn source(self) -> &'static str {
96+ match self {
97+ Project::Os => "https://github.com/Tahinli/os",
98+ Project::Radioxide => "https://github.com/tahinli/radioxide",
99+ Project::TcpFileTransfer => "https://github.com/Tahinli/rust-tcp-file-transfer",
100+ Project::MemoryFillerKiller => "https://github.com/Tahinli/rust-memory-filler-killer",
101+ Project::PackageManager => "https://github.com/Tahinli/rust-package-manager",
102+ Project::Personality => "https://github.com/Tahinli/personality",
103+ Project::UdpHolePuncher => "https://github.com/Tahinli/rust-udp-hole-puncher",
104+ Project::Blockchain => "https://github.com/Tahinli/rust-blockchain",
105+ Project::OptimizationAlgorithms => "https://github.com/Tahinli/optimization_algorithms",
106+ Project::Forum => "https://github.com/Tahinli/rust_forum",
107+ Project::VoiceChat => "https://github.com/Tahinli/rust_voice_chat",
108+ Project::Webrtc => "https://github.com/Tahinli/rust_webrtc",
109+ Project::VoiceChatRoom => "https://github.com/Tahinli/rust_voice_chat_room",
110+ }
111+ }
112+
113+ pub fn body(self) -> &'static [Block] {
114+ match self {
115+ Project::Os => &[
116+ Block::Paragraph("In this project I wanted to implement a basic operating system."),
117+ Block::Heading("Why I did this?"),
118+ Block::Paragraph("I've wanted to learn how to create a basic bootable operating system that does very little."),
119+ Block::Heading("What I learned?"),
120+ Block::Paragraph("Basic interactions with hardware. Printing text to the screen. Simple boot mechanism. Defining new architectures that don't exist for Rust, since our operating system belongs to us and more. I've followed this tutorial: https://os.phil-opp.com. Thanks a lot for this tutorial, I'm sending my best regards."),
121+ ],
122+ Project::Radioxide => &[
123+ Block::Paragraph("In this project any streamer can do their radio stream. Streamer is able to stream audio input and also sound files. Multiple clients are able to listen to the streamer. Relay server connects streamer to worldwide listeners. Strategy is simple. Since normal users don't have a chance to share their IP publicly, relay server collects data from streamer app. The front end is able to connect with relay server and this allows people to listen everywhere the internet reaches."),
124+ Block::Heading("Why I did this?"),
125+ Block::Paragraph("I wanted to learn how to stream sound data."),
126+ Block::Heading("What I learned?"),
127+ Block::Paragraph("WebSocket, TLS, stream optimization, sound mixing, how sound works, Elm architecture."),
128+ ],
129+ Project::TcpFileTransfer => &[
130+ Block::Paragraph("In this project I wanted to create a program for transferring files over a network. I implemented this to use personally, especially in local networks. It has a basic client-server structure; both client and server can receive or send data."),
131+ Block::Heading("Why I did this?"),
132+ Block::Paragraph("I wanted a portable easy way to transfer files between different operating systems. I personally experienced many problems while I was working for Erciyes University because of cross platform support and lack of portability of other programs. That's why I wanted to solve it."),
133+ Block::Heading("What I learned?"),
134+ Block::Paragraph("Interacting with network in Rust."),
135+ Block::Heading("Note"),
136+ Block::Paragraph("Additionally, it's my first project in Rust. That's why, even after learning much better ways to implement this program, I don't change the code. I keep this program as a memento and a milestone for my improvement."),
137+ ],
138+ Project::MemoryFillerKiller => &[
139+ Block::Paragraph("In this project a program checks for available memory. If available memory gets lower than the given value, program tries to find the memory filler. When the memory filler is found by the program, it will be killed to keep operating system alive."),
140+ Block::Heading("Why I did this?"),
141+ Block::Paragraph("Linux normally has this kind of feature. If it lacks memory to keep the OS alive, the program that uses most of the memory is killed by the kernel. Problem is it's not working well. I don't know why but I got in a situation like a program consumes all of my memory by some kind of leak but kernel couldn't do anything and my system crashed. I wanted to solve this problem, now I use my program as a service for my own system to prevent myself from being in the same situation."),
142+ Block::Heading("What I learned?"),
143+ Block::Paragraph("Interacting with operating system and processes for reading data and sending signals."),
144+ ],
145+ Project::PackageManager => &[
146+ Block::Paragraph("In this project users can upload their own packages to the server, then update and delete them. Other users can download and install uploaded packages to their systems. They are able to update and delete packages. Also client side supports updating all packages that are already installed on the system."),
147+ Block::Heading("Why I did this?"),
148+ Block::Paragraph("I wanted to learn how to build a package manager since I use them every day."),
149+ Block::Heading("What I learned?"),
150+ Block::Paragraph("Seems like I didn't learn new things but strengthened what I knew."),
151+ ],
152+ Project::Personality => &[
153+ Block::Paragraph("In this project I wanted to build a portfolio website for myself and currently you're viewing what is built. There are a couple of pages and sections. It's a static page based on WASM."),
154+ Block::Heading("Why I did this?"),
155+ Block::Paragraph("I wanted to learn HTML and CSS a bit; also, having a website as a document of yourself sounds nice."),
156+ Block::Heading("What I learned?"),
157+ Block::Paragraph("Little bit HTML and CSS. I wish I could create better views but doing this kind of thing is always hard for me."),
158+ ],
159+ Project::UdpHolePuncher => &[
160+ Block::Paragraph("In this project I wanted to bypass NAT (Network Address Translation) limitations. Because of lack of IPv4 addresses and security reasons we have public and private addresses. In this situation, we can't easily create a peer-to-peer connection unfortunately. Thanks to UDP hole punching strategy, we may bypass NAT restrictions. I can't say it works every time because NAT strategies are getting complex by different layers and even creating a hole in your router is not enough for peer connection."),
161+ Block::Heading("Why I did this?"),
162+ Block::Paragraph("I wanted to create a peer-to-peer connection without sending actual data to some relay server. UDP hole punching still relies on at least a connectable address (let's say a relay) but just for creating a hole, not for sending all data."),
163+ Block::Heading("What I learned?"),
164+ Block::Paragraph("I learned more details and different types of NATs. Working with UDP is also another plus."),
165+ ],
166+ Project::Blockchain => &[
167+ Block::Paragraph("In this project I wanted to implement a blockchain structure from scratch. Basically project starts with defining block, blockchain, genesis block and so on. After that I created network strategy to transfer these blocks to miners. When miners mine blocks, server tries to collect data from them and decides what the next blocks will be by a consensus mechanism."),
168+ Block::Heading("Why I did this?"),
169+ Block::Paragraph("Basically I wanted to learn how things work in blockchain side."),
170+ Block::Heading("What I learned?"),
171+ Block::Paragraph("I realized the pitfalls of blockchain technology more clearly first hand."),
172+ ],
173+ Project::OptimizationAlgorithms => &[
174+ Block::Paragraph("In this project I implemented a couple of optimization algorithms in Rust. In general they are very useful in many places, including hyper parameter optimization, food search, reducing cost for production and more. I have to mention Artificial Bee Colony algorithm created by Prof. Dr. Derviş Karaboğa, which shows great performance and robustness especially in artificial intelligence area."),
175+ Block::Heading("Why I did this?"),
176+ Block::Paragraph("At first it was an optional assessment for a university course but then it became a passion to learn. Especially when I had a chance to publish my work on official university page, I really put a lot of effort into making the Rust version as correct as possible. You can find it here: Erciyes University (https://abc.erciyes.edu.tr)"),
177+ Block::Heading("What I learned?"),
178+ Block::Paragraph("How things work in the optimization area. Specifically why we need them instead of calculating a perfect mathematical equation for every possible problem to achieve correct results. These optimization techniques gave me a broader view of life as well."),
179+ ],
180+ Project::Forum => &[
181+ Block::Paragraph("In this project I wanted to implement a forum back end. It has authentication and authorization with JWT. It has a fully asynchronous architecture with Postgres."),
182+ Block::Heading("Why I did this?"),
183+ Block::Paragraph("It was going to be used for a university club but we decided to go with a battle-tested one."),
184+ Block::Heading("What I learned?"),
185+ Block::Paragraph("Writing middleware and implementing JWT."),
186+ ],
187+ Project::VoiceChat => &[
188+ Block::Paragraph("In this project I wanted to implement voice chat with QUIC protocol."),
189+ Block::Heading("Why I did this?"),
190+ Block::Paragraph("I wanted to use QUIC protocol."),
191+ Block::Heading("What I learned?"),
192+ Block::Paragraph("Streaming data with QUIC protocol."),
193+ ],
194+ Project::Webrtc => &[
195+ Block::Paragraph("In this project I wanted to implement voice chat with WebRTC."),
196+ Block::Heading("Why I did this?"),
197+ Block::Paragraph("I wanted to use WebRTC."),
198+ Block::Heading("What I learned?"),
199+ Block::Paragraph("Streaming with WebRTC with the low-level browser WASM API."),
200+ ],
201+ Project::VoiceChatRoom => &[
202+ Block::Paragraph("In this project I wanted to implement a voice chat room for real-time audio communication with low latency audio processing."),
203+ Block::Heading("Why I did this?"),
204+ Block::Paragraph("I wanted to create a voice chat application with a relay server and without many dependencies. Since I already did a simple client/server-only one with no audio processing in some of the previous projects, I wanted to improve things."),
205+ Block::Heading("What I learned?"),
206+ Block::Paragraph("I understood how audio works better in general. Especially in low latency and streaming area. Since audio buffers are always hungry for samples and networks, streams, thread locks, thread waking from sleep, context switching always create latency, I learned a lot of things for real-time applications. I tried for a month to create a reliable audio mixer because there is no room for latency, even an await for async task. I finally came up with a simple approach to solve things. Probably I can improve more but since I understand the process and further improvements never end, I'm going to keep it as it is."),
207+ ],
208+ }
209+ }
210+}
src/home.rsdeleted+0 -35
@@ -1,35 +0,0 @@
1-use dioxus::prelude::*;
2-
3-use crate::{Footer, Header, Route};
4-
5-#[component]
6-pub fn Home() -> Element {
7- rsx! {
8- Header {}
9- div { id: "content",
10- Outlet::<Route> {}
11- }
12- div {
13- class: "main",
14- h1 {
15- id: "name",
16- "Ahmet Kaan Gümüş"}
17- h4 {
18- id: "title",
19- "Software Engineer"}
20-
21- div {
22- id: "main_about",
23- "
24- Hi,
25-
26- I’m Ahmet Kaan. I’m Turkish and was born in 2001. I graduated with a degree in Computer Engineering from Erciyes University. I’m keen on understanding computers as deeply as possible and I love the open‑source philosophy and the KISS principle.
27-
28-My passion is to create software that can stand the test of time. Developers should write versatile, bug‑free programs. It’s impossible to ignore the impact of software. Today’s world is led by it and will continue to be. As developers, we must consider as many possibilities as we can in order to build robust and secure applications.
29-
30-I hope to create free and open‑source software that is widely used, allowing people to benefit from it without having to worry about privacy or the reliability of the program. "
31- }
32- }
33- Footer {}
34- }
35-}
src/lib.rsdeleted+0 -67
@@ -1,67 +0,0 @@
1-pub mod home;
2-pub mod links;
3-pub mod posts;
4-pub mod projects;
5-
6-use dioxus::prelude::*;
7-use home::Home;
8-use links::Links;
9-use posts::{
10- open_letters::OpenLetter, open_letters::OpenLetters, writings::Writing, writings::Writings,
11- Posts,
12-};
13-use projects::{Project, Projects};
14-
15-#[derive(Clone, Routable, Debug, PartialEq)]
16-pub enum Route {
17- #[route("/")]
18- Home {},
19- #[route("/projects")]
20- Projects {},
21- #[route("/projects/:id")]
22- Project { id: i32 },
23- #[route("/posts")]
24- Posts {},
25- #[route("/posts/writings")]
26- Writings {},
27- #[route("/posts/writings/:id")]
28- Writing { id: i32 },
29- #[route("/posts/open_letters")]
30- OpenLetters {},
31- #[route("/posts/open_letters/:id")]
32- OpenLetter { id: i32 },
33- #[route("/links")]
34- Links {},
35-}
36-
37-#[component]
38-pub fn Header() -> Element {
39- rsx! {
40- header {
41- nav {
42- class: "main_nav",
43- Link {to: Route::Home{}, class:"main_nav_btn", "Home"}
44- Link {to: Route::Projects{}, class:"main_nav_btn", "Projects"}
45- Link {to: Route::Posts {}, class:"main_nav_btn", "Posts"}
46- Link {to: Route::Links {}, class:"main_nav_btn", "Links"}
47- }
48- }
49- div { id: "content",
50- Outlet::<Route> {}
51- }
52- }
53-}
54-
55-#[component]
56-pub fn Footer() -> Element {
57- rsx! {
58- div {class:"footer_div",
59- footer{
60- h4 {
61- "Developed by Tahinli with Rust + WASM"
62- }
63- }
64- }
65-
66- }
67-}
src/links.rsdeleted+0 -17
@@ -1,17 +0,0 @@
1-use dioxus::prelude::*;
2-
3-use crate::{Footer, Header};
4-
5-#[component]
6-pub fn Links() -> Element {
7- rsx! {
8- Header {}
9- div {
10- class: "links_list",
11- h1 {"Links"}
12- div {class: "links_link", Link {to: "https://linkedin.com/in/ahmetkaangumus", class: "links_link", "LinkedIn"} }
13- div {class: "links_link", Link {to: "https://github.com/Tahinli", class: "links_link", "GitHub"} }
14- }
15- Footer {}
16- }
17-}
src/main.rsmodified+5 -15
@@ -1,17 +1,7 @@
1-use dioxus::prelude::*;1+mod app;
2-use personality::Route;2+mod content;
3 3
4-fn main() {4+#[tokio::main]
5- launch(app);5+async fn main() {
6-}6+ topcoat::start(app::router()).await.unwrap();
7-
8-fn app() -> Element {
9- rsx! {
10- document::Meta { name: "darkreader-lock" }
11- link {
12- rel: "stylesheet",
13- style { {include_str!("../assets/main.css")} },
14- }
15- Router::<Route> {}
16- }
17 }7 }
src/posts.rsdeleted+0 -19
@@ -1,19 +0,0 @@
1-pub mod open_letters;
2-pub mod writings;
3-
4-use crate::{Footer, Header, Route};
5-use dioxus::prelude::*;
6-
7-#[component]
8-pub fn Posts() -> Element {
9- rsx! {
10- Header {}
11- div {
12- class: "posts_list",
13- h1 {"Posts"}
14- div { class: "post_link", Link {to: Route::Writings { }, class: "post_link", "Writings"} }
15- div { class: "post_link", Link {to: Route::OpenLetters { }, class: "post_link", "Open Letters"} }
16- }
17- Footer {}
18- }
19-}
src/posts/open_letters.rsdeleted+0 -113
@@ -1,113 +0,0 @@
1-use dioxus::prelude::*;
2-use crate::{Footer, Header, Route};
3-
4-
5-#[component]
6-pub fn OpenLetters() -> Element {
7- rsx! {
8- Header {}
9- div {
10- class: "posts_list",
11- h1 {"Open Letters"}
12- div { class: "post_link", Link {to: Route::OpenLetter { id: 1 },/* */class: "post_link", "16 February 2025"} }
13- div { class: "post_link", Link {to: Route::OpenLetter { id: 2 }, class: "post_link", "24 August 2025"} }
14- }
15- Footer {}
16- }
17-}
18-
19-#[component]
20-pub fn OpenLetter(id: i32) -> Element {
21- let x = match id {
22- 1 => {
23- rsx! {
24- div {
25- class:"post",
26- h1 {"16 February 2025"}
27- br { }
28- div {
29- "Hi,"
30- br { }
31- "Since I'm an open-source developer and a person who relies on open source software, I realize there is a massive contradiction to my perspective and my life. It's GitHub, which is run by Microsoft. It took me a lot of time to understand what I'm doing after using it for many years and pushing thousands of commits for tens of projects."
32- br { }
33- "I don't want this situation to continue. From now on,"
34-
35- br { }
36- br { }
37- p { "I have archived all of my repositories and plan to log in only for opening issues and pull requests for other projects." }
38-
39- br { }
40- p { "My new projects will not be hosted in there." }
41-
42- br { }
43- p { "If an existing project needs an update, or I want to add new things, it will not be in there." }
44-
45- br { }
46- "You can follow my projects and source codes from https://tahinli.com."
47-
48- br { }
49- br { }
50- "Best wishes,"
51-
52- br { }
53- br { }
54- "Ahmet Kaan Gümüş"
55- }
56- }
57- }
58- },
59- 2 => {
60- rsx! {
61- div {
62- class:"post",
63- h1 {"24 August 2025"}
64- br {}
65- div {
66- "Hi,"
67- br { }
68- "It has been couple of months since I quit from GitHub. In this period I understand couple of things,"
69-
70- br { }
71- br { }
72- p { "Only(or mostly) big open-source projects are capable of reaching others and maintaining themselves without using GitHub." }
73-
74- br { }
75- p{ "If you are a solo developer or a small team, you already lose your chance to reach others when you self-host." }
76-
77- br { }
78- p { "Data security, backup and recovery processes are more serious things than they seemed."}
79-
80- br { }
81- p { "CI/CD processes are not free." }
82-
83- br { }
84- p { "Even non technical people are familiar with GitHub, and it's an indicator for HR departments while applying a job." }
85-
86- br { }
87- br { }
88- "I'm still in the same position as in my 16 February 2025 letter. GitHub is still closed source and owned by Microsoft. I want to own my own code but still need to reach community, get better CI/CD and have reliable backup opportunities. So from now on,"
89- br { }
90- br { }
91- p { "I will mirror my repos into different platforms, included GitHub." }
92-
93- br { }
94- "Best wishes,"
95- br { }
96- br { }
97- "Ahmet Kaan Gümüş"
98- }
99- }
100- }
101- }
102- _ => {
103- rsx! {
104- h1 {"You're not supposed to be here"}
105- }
106- }
107- };
108- rsx! {
109- Header {}
110- {x}
111- Footer {}
112- }
113-}
src/posts/writings.rsdeleted+0 -101
@@ -1,101 +0,0 @@
1-use crate::{Footer, Header, Route};
2-use dioxus::prelude::*;
3-
4-#[component]
5-pub fn Writings() -> Element {
6- rsx! {
7- Header {}
8- div {
9- class: "posts_list",
10- h1 {"Writings"}
11- div { class: "post_link", Link {to: Route::Writing { id: 1 },class: "post_link", "Awaken"} }
12- }
13- Footer {}
14- }
15-}
16-
17-#[component]
18-pub fn Writing(id: i32) -> Element {
19- let x = match id {
20- 1 => {
21- rsx! {
22- div {
23- class:"post",
24- h1 {"Awaken"}
25- br { }
26- div {
27-"Does every word flies, if it's not written."
28-br { }
29-"A life goes by a word that is written."
30-br { }
31-"Word doesn't know what is written."
32-br { }
33-"Only feels why it's written."
34-br { }
35-br { }
36-"Things come and go with a light."
37-br { }
38-"A cry is woken by the light."
39-br { }
40-"Does ever the light's gone for a blind."
41-br { }
42-"Maybe awaken is blinded by the light."
43-br { }
44-br { }
45-
46-"Time goes with a paper and blood."
47-br { }
48-"The blood will end by the paper and a heart."
49-br { }
50-"The paper came with the blood and a knife."
51-br { }
52-"Hearts will die with the time and the blood."
53-br { }
54-br { }
55-
56-"Sirens are here to wake."
57-br { }
58-"The awaken is ready to take a break."
59-br { }
60-"Screams goes where, when a silence comes to take."
61-br { }
62-"Take the gap to get a moment to wake."
63-br { }
64-br { }
65-
66-"The awaken can't feel a thing what is real."
67-br { }
68-"Does ever be a thing that is not surreal."
69-br { }
70-"Real isn't the moment to be there to deal."
71-br { }
72-"Deal is ever be a thing in real."
73-br { }
74-br { }
75-
76-"Blooded writes these down with a blind mind."
77-br { }
78-"A mind came by the light to get a heart of a knife."
79-br { }
80-"The knife cuts the light in a written time."
81-br { }
82-"The written is the siren for the awaken to die."
83-br { }
84-br { }
85-"Ahmet Kaan Gümüş"
86- }
87- }
88- }
89- }
90- _ => {
91- rsx! {
92- h1 {"You're not supposed to be here"}
93- }
94- }
95- };
96- rsx! {
97- Header {}
98- {x}
99- Footer {}
100- }
101-}
src/projects.rsdeleted+0 -415
@@ -1,415 +0,0 @@
1-use dioxus::prelude::*;
2-
3-use crate::{Footer, Header, Route};
4-
5-#[component]
6-pub fn Projects() -> Element {
7- rsx! {
8- Header {}
9- div {
10- class: "projects_list",
11- h1 {"Projects"}
12- div { class: "project_link", Link {to: Route::Project { id: 1 }, class: "project_link", "Radioxide"} }
13- div { class: "project_link", Link {to: Route::Project { id: 2 }, class: "project_link", "TCP File Transfer"} }
14- div { class: "project_link", Link {to: Route::Project { id: 3 }, class: "project_link", "Memory Filler Killer"} }
15- div { class: "project_link", Link {to: Route::Project { id: 4 }, class: "project_link", "Package Manager"} }
16- div { class: "project_link", Link {to: Route::Project { id: 5 }, class: "project_link", "Personality"} }
17- div { class: "project_link", Link {to: Route::Project { id: 6 }, class: "project_link", "UDP Hole Puncher"} }
18- div { class: "project_link", Link {to: Route::Project { id: 7 }, class: "project_link", "Blockchain"} }
19- div { class: "project_link", Link {to: Route::Project { id: 8 }, class: "project_link", "Optimization Algorithms"} }
20- div { class: "project_link", Link {to: Route::Project { id: 9 }, class: "project_link", "Forum"} }
21- div { class: "project_link", Link {to: Route::Project { id: 10 }, class: "project_link", "Voice Chat"} }
22- div { class: "project_link", Link {to: Route::Project { id: 11 }, class: "project_link", "WebRTC"} }
23- div { class: "project_link", Link {to: Route::Project { id: 12 }, class: "project_link", "Voice Chat Room"} }
24- div { class: "project_link", Link {to: Route::Project { id: 13 }, class: "project_link", "OS"} }
25- }
26- Footer {}
27- }
28-}
29-
30-#[component]
31-pub fn Project(id: i32) -> Element {
32- let x = match id {
33- 1 => {
34- rsx! {
35- div {
36- class:"project",
37- h1 {"Radioxide"}
38- h5 {"Online radio written in Rust."}
39- Link {id: "github_link_in_project_page", to: "https://github.com/tahinli/radioxide", "GitHub"}
40- div {
41- "
42- In this project any streamer can do their radio stream.
43- Streamer is able to stream audio input and also sound files.
44- Multiple clients are able to listen streamer.
45- Relay server connects streamer to worldwide listeners.
46- Strategy is simple. Since normal users don't have a chance to share their IP publicly,
47- relay server collects data from streamer app. Front end part's able to connect with relay server and
48- this allows people listen everywhere where the internet reaches.
49- "
50- }
51- h3 {"Why I did this ?"}
52- div {
53- "I wanted to learn how to stream sound data."
54- }
55-
56- h3 {"What I learned ?"}
57- div {
58- "WebSocket, TLS, Stream Optimization, Sound Mix, How Sound Works, ELM Architecture"
59- }
60- }
61- }
62- }
63-
64- 2 => {
65- rsx! {
66- div {
67- class:"project",
68- h1 {"TCP File Transfer"}
69- h5 {"New file transfer protocol based on TCP, written in Rust"}
70- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/rust-tcp-file-transfer", "GitHub"}
71- div {
72- "
73- In this project I wanted to create a program for transferring files with network.
74- I implemented this to use personally, especially in local networks.
75- Basic client server structure both client and server can receive or send data.
76- "
77- }
78- h3 {"Why I did this ?"}
79- div {
80- "
81- I wanted a portable easy way to transfer files between different operating systems.
82- I personally experienced many problem while I was working for Erciyes University
83- because of cross platform support and lack of portability of other programs.
84- That's why I wanted to solve it.
85- "
86- }
87-
88- h3 {"What I learned ?"}
89- div {
90- "
91- Interacting with network in Rust.
92- "
93- }
94-
95- h3 {"Note"}
96- div {
97- "
98- Additionally it's my first project in Rust. That's why after even learning much better ways to implement this program,
99- I don't change the code. I keep this program as a memento and a milestone for my improvement.
100- "
101- }
102- }
103- }
104- }
105- 3 => {
106- rsx! {
107- div {
108- class:"project",
109- h1 {"Memory Filler Killer"}
110- h5 {"Memory fullness and filler checker written in Rust "}
111- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/rust-memory-filler-killer", "GitHub"}
112- div {
113- "
114- In this project a program checks for available memory.
115- If available memory gets lower then given value, program tries to find memory filler.
116- When memory filler found by the program, it will be killed to keep operating system alive.
117- "
118- }
119- h3 {"Why I did this ?"}
120- div {
121- "
122- Linux normally has this kind of feature.
123- If it lacks of memory to keep OS alive then program that uses most of the memory be killed by kernel.
124- Problem is it's not working well. I don't know why but
125- I got in a situation like a program consumes all of my memory by some kind of leak but kernel couldn't do anything and my system crashed.
126- I wanted to solve this problem, now I use my program as a service for my own system to prevent myself from being in same situation.
127- "
128- }
129-
130- h3 {"What I learned ?"}
131- div {
132- "Interacting with operating system and processes for reading data and sending signals."
133- }
134- }
135- }
136- }
137- 4 => {
138- rsx! {
139- div {
140- class:"project",
141- h1 {"Package Manager"}
142- h5 {"Package manager written in Rust"}
143- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/rust-package-manager", "GitHub"}
144- div {
145- "
146- In this project user can upload own packages to server then able to update and delete.
147- Other users can download and install uploaded packages to their systems.
148- They are able to update and delete packages.
149- Also client side supports updating all packages that is already installed on the system.
150- "
151- }
152- h3 {"Why I did this ?"}
153- div {
154- "
155- I wanted to learn how can I build package manager since I use them everyday.g
156- "
157- }
158-
159- h3 {"What I learned ?"}
160- div {
161- "Seems like I didn't learn new things but made stronger what I knew."
162- }
163- }
164- }
165- }
166- 5 => {
167- rsx! {
168- div {
169- class:"project",
170- h1 {"Personality"}
171- h5 {"Personal website written in Rust"}
172- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/personality", "GitHub"}
173- div {
174- "
175- In this project I wanted to build portfolio website for myself and currently you're viewing what is built.
176- There are couple pages and sections. It's a static page based on WASM.
177- "
178- }
179- h3 {"Why I did this ?"}
180- div {
181- "
182- I wanted to learn HTML and CSS a bit also having website as a document of yourself sounds nice.
183- "
184- }
185-
186- h3 {"What I learned ?"}
187- div {
188- "
189- Little bit HTML and CSS. I wish I could create better views but doing this kind of things always hard for me.
190- "
191- }
192- }
193- }
194- }
195- 6 => {
196- rsx! {
197- div {
198- class:"project",
199- h1 {"UDP Hole Puncher"}
200- h5 {"UDP hole puncher written in Rust"}
201- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/rust-udp-hole-puncher", "GitHub"}
202- div {
203- "
204- In this project I wanted to bypass NAT (Network Address Translation) limitations. Because of lack of IPv4 addresses and security reasons we have public and private addresses.
205- In this situation, we can't easily create peer to peer connection unfortunately. Thanks to UDP hole punching strategy, we may bypass NAT restrictions.
206- I can't say it works every time because NAT strategies are getting complex by different layers and even creating a hole for your router not enough for peer connection.
207- "
208- }
209- h3 {"Why I did this ?"}
210- div {
211- "
212- I wanted to create peer to peer connection without sending actual data to some relay server. UDP hole punching still rely on at least a connectible address (let's say a relay) but just for creating a hole not for sending all data.
213- "
214- }
215-
216- h3 {"What I learned ?"}
217- div {
218- "
219- I learnt more details and different type of NATs. Working with UDP is also another plus.
220- "
221- }
222- }
223- }
224- }
225- 7 => {
226- rsx! {
227- div {
228- class:"project",
229- h1 {"Blockchain"}
230- h5 {"Blockchain written in Rust"}
231- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/rust-blockchain", "GitHub"}
232- div {
233- "
234- In this project I wanted to implement a blockchain structure from scratch. Basically project starts with defining block, blockchain, genesis block so on. After that I created network strategy to transfer these blocks to miners. When miners mine blocks, server tries to collect data from them and decides what next blocks will be by consensus mechanism.
235- "
236- }
237- h3 {"Why I did this ?"}
238- div {
239- "
240- Basically I wanted to learn how things work in blockchain side.
241- "
242- }
243-
244- h3 {"What I learned ?"}
245- div {
246- "
247- I realised pitfalls of the blockchain technology more clearly by the first hand.
248- "
249- }
250- }
251- }
252- }
253- 8 => {
254- rsx! {
255- div {
256- class:"project",
257- h1 {"Optimization Algorithms"}
258- h5 {"Optimization Algorithms written in Rust"}
259- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/optimization_algorithms", "GitHub"}
260- div {
261- "
262- In this project I implemented couple of optimization algorithms in Rust. In general they are very useful in many places included: hyper parameter optimization, food search, reducing cost for production and more. I have to mention Artificial Bee Colony algorithm created by Prof. Dr. Derviş Karaboğa, performs great performance and robustness especially in artificial intelligence area.
263- "
264- }
265- h3 {"Why I did this ?"}
266- div {
267- "
268- Firstly it was optional assessment for university course but then it became a passion to learn. Especially when I had a chance to publish my work on official university page, I really put a lot of effort to create Rust version as correct as possible. You can find it here:
269- "
270- Link {to: "https://abc.erciyes.edu.tr", "Erciyes University"}
271- }
272-
273- h3 {"What I learned ?"}
274- div {
275- "
276- How things works on optimization area. Specifically why we need them instead of calculating perfect mathematical equation for every possible problem to achieve correct results. This optimization techniques lead an expanded view for my life also.
277- "
278- }
279- }
280- }
281- }
282- 9 => {
283- rsx! {
284- div {
285- class:"project",
286- h1 {"Forum"}
287- h5 {"Forum back end written in Rust."}
288- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/rust_forum", "GitHub"}
289- div {
290- "
291- In this project I wanted to implement forum back end. It has authentication and authorization with JWT. It has fully asynchronous architecture with Postgres.
292- "
293- }
294- h3 {"Why I did this ?"}
295- div {
296- "It was going to be used for university club but we decided to go on with battle tested one."
297- }
298-
299- h3 {"What I learned ?"}
300- div {
301- "Writing middleware and implementing JWT"
302- }
303- }
304- }
305- }
306- 10 => {
307- rsx! {
308- div {
309- class:"project",
310- h1 {"Voice Chat"}
311- h5 {"Voice Chat written in Rust."}
312- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/rust_voice_chat", "GitHub"}
313- div {
314- "
315- In this project I wanted to implement voice chat with QUIC protocol.
316- "
317- }
318- h3 {"Why I did this ?"}
319- div {
320- "I wanted to use QUIC protocol."
321- }
322-
323- h3 {"What I learned ?"}
324- div {
325- "Streaming data with QUIC protocol."
326- }
327- }
328- }
329- }
330- 11 => {
331- rsx! {
332- div {
333- class:"project",
334- h1 {"WebRTC"}
335- h5 {"WebRTC Voice Chat written in Rust."}
336- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/rust_webrtc", "GitHub"}
337- div {
338- "
339- In this project I wanted to implement voice chat with WebRTC.
340- "
341- }
342- h3 {"Why I did this ?"}
343- div {
344- "I wanted to use WebRTC."
345- }
346-
347- h3 {"What I learned ?"}
348- div {
349- "Streaming with WebRTC with low level browser WASM API."
350- }
351- }
352- }
353- }
354- 12 => {
355- rsx! {
356- div {
357- class:"project",
358- h1 {"Voice Chat Room"}
359- h5 {"Voice chat room written in Rust."}
360- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/rust_voice_chat_room", "GitHub"}
361- div {
362- "
363- In this project I wanted to implement voice chat room for real-time audio communication with low latency audio processing.
364- "
365- }
366- h3 {"Why I did this ?"}
367- div {
368- "I wanted to create voice chat application with a relay server and without many dependencies. Since I already did simple client / server only one with no audio processing in some of the previous projects, I wanted to improve things."
369- }
370-
371- h3 {"What I learned ?"}
372- div {
373- "I understand how audio works better in general. Especially in low latency and streaming area. Since audio buffers are always hungry for samples and networks, streams, thread locks, thread waking from sleep, context switching are always creates latency, I learned a lot of things for real-time applications. I tried for a month to create reliable audio mixer because there is no room for latency, even an await for async task. I finally come up with simple approach to solve things. Probably I can improve more but since I understand the process and further improvements never ends, I'm going to keep it as it is."
374- }
375- }
376- }
377- }
378- 13 => {
379- rsx! {
380- div {
381- class:"project",
382- h1 {"OS"}
383- h5 {"Operating System written in Rust."}
384- Link {id: "github_link_in_project_page", to: "https://github.com/Tahinli/os", "GitHub"}
385- div {
386- "
387- In this project I wanted to implement an basic operating system.
388- "
389- }
390- h3 {"Why I did this ?"}
391- div {
392- "I've wanted to learn how to create basic bootable operating system that does very less thing."
393- }
394-
395- h3 {"What I learned ?"}
396- div {
397- "
398- Basic interactions with hardware. Printing text into screen. Simple boot mechanism. Defining new architectures that doesn't exist for Rust since our operating system is belong to us and more. I've followed this tutorial: https://os.phil-opp.com. Thanks a lot for this tutorial, I'm sending my best regards.
399- "
400- }
401- }
402- }
403- }
404- _ => {
405- rsx! {
406- h1 {"You're not supposed to be here"}
407- }
408- }
409- };
410- rsx! {
411- Header {}
412- {x}
413- Footer {}
414- }
415-}