<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anıl Bayram on Medium]]></title>
        <description><![CDATA[Stories by Anıl Bayram on Medium]]></description>
        <link>https://medium.com/@anl1bayram?source=rss-fd1743390ab1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*a_hU3skWwD_38Tio2AihJQ.png</url>
            <title>Stories by Anıl Bayram on Medium</title>
            <link>https://medium.com/@anl1bayram?source=rss-fd1743390ab1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:28:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anl1bayram/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From a 2007 Laptop to My Own Home Cloud]]></title>
            <link>https://medium.com/@anl1bayram/from-a-2007-laptop-to-my-own-home-cloud-f3ec441c9868?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3ec441c9868</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[self-hosted]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[home-server]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 20:33:49 GMT</pubDate>
            <atom:updated>2026-11-26T20:33:49.489Z</atom:updated>
            <content:encoded><![CDATA[<h4>The system I built at home so no company ever holds my photos: what I tried, and what I threw away.</h4><p>I didn’t want thousands of photos from my phone sitting on a company’s servers. My rule is simple: nobody but me gets access to my data. I had a laptop from around 2007 with a battery that barely holds a charge. I installed Debian on it and, over several months, turned it into the household “cloud”.</p><h3>1. Starting with Nextcloud, then giving up on it</h3><p>I started where everyone suggests: Nextcloud with MariaDB. On this low-RAM machine, performance collapsed again and again. In the end I removed both entirely and chose a lighter path: a Samba share for uploads and a Turkish-language gallery app of my own on top of it. iPhone photos stay in HEIC; nothing gets converted to JPEG.</p><p>Lesson: the popular solution isn’t always the right one for old hardware.</p><h3>2. Moving 3,789 photos from phone to server</h3><p>This was the hardest part. My first attempt was an iOS Shortcut that sent photos over Wi-Fi in batches of 100. Every time it stalled, it started again from the beginning, and only 609 photos made it. I built a version that saved its position in a counter file on the share; it worked, but it wasn’t reliable. I also tried an app that synced in the background; it kept disconnecting.</p><p>In the end I settled on the dullest and most dependable method: plug the phone into my PC with a USB-C cable, and the PC pulls the files to the server automatically. Anything already on the server is skipped, so no time or mobile data is wasted.</p><h3>3. What’s in the cloud?</h3><ul><li><strong>Gallery:</strong> My own gallery app, which finds duplicate and half-copied files automatically and shows “On This Day”.</li><li><strong>Jellyfin:</strong> Films and series, tuned to use no memory when nobody is watching.</li><li><strong>Navidrome:</strong> My own music library and playlists.</li><li><strong>Library:</strong> A PDF and EPUB reader with per-person reading progress, bookmarks, notes and night mode.</li><li><strong>Control Center:</strong> The Turkish-language panel where I manage it all: users, permissions, storage quotas, file and playlist sharing. Every reading is explained in a plain sentence instead of raw jargon.</li><li><strong>Home automation:</strong> Smart lights and the projector are controlled from the panel too, with automations that switch off when I leave and back on when I return.</li></ul><h3>4. Remote access without exposing it to the internet</h3><p>I reach the server from outside through Tailscale. For a while I exposed Jellyfin to the public internet with Tailscale Funnel; then I turned that off. Now only the people I invite can get in, each with their own account and their own archive. I share the system with one more family member, and our photo archives are completely separate.</p><h3>5. Let the server report on itself: a Telegram bot</h3><p>One day Jellyfin went down and I never heard about it. After that I made the Telegram bot thorough:</p><ul><li>Disk health, service status and security alerts.</li><li>Restarting any service with a single Telegram command.</li><li>Daily and weekly health reports, including the day’s fastest and slowest internet speed tests.</li></ul><p>I also made a small miscalculation: running the speed test every hour added up to about 90 GB of data a month. I cut it to four times a day.</p><h3>6. When the power or the internet goes out</h3><p>We get power cuts at home, and the laptop’s battery lasts a few minutes. The server is set up to lose no data in an outage and to power itself back on when electricity returns. If the modem fails, it switches to my phone’s hotspot automatically. I’m also working on an “Emergency” app: a page that opens on the home network even with no internet or mains power and keeps the basics running, such as messaging loved ones and sharing a location. With a degree in emergency and disaster management, this part matters to me in its own way.</p><h3>7. Backups and rebuilding</h3><p>The whole system is backed up regularly to an external disk. If the laptop dies one day, a setup wizard can rebuild everything on a new machine exactly where it left off, with the latest settings. I removed cloud backup on purpose: I accept the single-disk risk, because the whole point is that the data never leaves the house.</p><h3>Wrapping up</h3><p>A 2007 laptop now works as a cloud for photos, films, music and books, a media center and a home automation hub. My biggest wins weren’t the services I set up but the things I tore out: Nextcloud, Shortcuts and cloud backup. Each one made it clearer what I actually needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3ec441c9868" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2007 Model Bir Laptoptan Kendi Bulut Sunucuma]]></title>
            <link>https://medium.com/@anl1bayram/2007-model-bir-laptoptan-kendi-bulut-sunucuma-12c78987d96f?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/12c78987d96f</guid>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[home-server]]></category>
            <category><![CDATA[self-hosted]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 20:32:36 GMT</pubDate>
            <atom:updated>2026-11-26T20:32:36.992Z</atom:updated>
            <content:encoded><![CDATA[<h4>Fotoğraflarımı hiçbir şirkete emanet etmemek için evde kurduğum sistem: neleri denedim, neleri çöpe attım?</h4><p>Telefonumdaki binlerce fotoğrafın bir şirketin sunucusunda durmasını istemiyordum. Kuralım basit: Veriye benden başka kimse erişemeyecek. Elimde 2007 civarından kalma, pili neredeyse bitmiş bir laptop vardı. Üzerine Debian kurdum ve aylar içinde onu evin “bulutu” haline getirdim.</p><h3>1. Nextcloud ile başlayıp vazgeçmek</h3><p>Herkesin önerdiği yerden başladım: Nextcloud ve MariaDB. Düşük RAM’li bu makinede performans defalarca çöktü. Sonunda ikisini de tamamen kaldırdım ve daha hafif bir yol seçtim: fotoğraf yüklemek için bir Samba paylaşımı ve onun üstünde çalışan, kendi yazdığım Türkçe bir galeri uygulaması. iPhone fotoğrafları HEIC olarak kalıyor, JPEG’e dönüştürülmüyor.</p><p>Ders: Popüler çözüm, eski donanım için her zaman doğru çözüm değil.</p><h3>2. 3.789 fotoğrafı telefondan sunucuya taşımak</h3><p>En zor kısım buydu. İlk denemem, fotoğrafları 100&#39;erli gruplar halinde Wi-Fi üzerinden gönderen bir iOS Kısayolu’ydu. Her durduğunda en baştan başlıyordu ve yalnızca 609 fotoğraf sunucuya ulaşabildi. Kaldığı yeri paylaşımdaki bir sayaç dosyasında tutan bir sürüm yaptım; işe yaradı ama güvenilir değildi. Arka planda senkronizasyon yapan bir uygulamayı da denedim; sürekli bağlantısı kopuyordu.</p><p>Sonunda en sıkıcı ama en sağlam yöntemde karar kıldım: telefonu USB-C kabloyla bilgisayara takıyorum, bilgisayar dosyaları otomatik olarak sunucuya çekiyor. Sunucuda zaten olanlar atlanıyor; ne zaman ne de mobil veri boşa gidiyor.</p><h3>3. Bir bulutta neler var?</h3><ul><li><strong>Galeri:</strong> Tekrar eden ve yarım kalmış kopyaları otomatik bulan, “Geçmişte Bugün” gösteren kendi galeri uygulamam.</li><li><strong>Jellyfin:</strong> Filmler ve diziler; kimse izlemezken bellek kullanmayacak şekilde ayarlı.</li><li><strong>Navidrome:</strong> Kendi müzik arşivim ve çalma listelerim.</li><li><strong>Kitaplık:</strong> PDF ve EPUB okuyucu; kişi başına okuma ilerlemesi, yer imleri, notlar ve gece modu.</li><li><strong>Denetim Merkezi:</strong> Hepsini yönettiğim Türkçe panel. Kullanıcı ekleme, izinler, kota, dosya ve çalma listesi paylaşımı buradan yapılıyor. Her ölçüm teknik jargon yerine sade bir cümleyle anlatılıyor.</li><li><strong>Ev otomasyonu:</strong> Akıllı lambalar ve projeksiyon cihazı da panelden yönetiliyor; evden çıkınca kapanan, dönünce açılan otomasyonlar var.</li></ul><h3>4. Uzaktan erişim, ama internete açmadan</h3><p>Sunucuya dışarıdan Tailscale ile bağlanıyorum. Bir dönem Jellyfin’i Tailscale Funnel ile herkese açık internete açmıştım; sonra bunu kapattım. Artık yalnızca davet ettiğim kişiler, kendi hesaplarıyla ve kendi arşivleriyle erişebiliyor. Sistemi ailemden bir kişiyle daha paylaşıyorum; ikimizin fotoğraf arşivi tamamen ayrı.</p><h3>5. Sunucu kendini anlatsın: Telegram botu</h3><p>Bir gün Jellyfin çöktü ve haberim olmadı. O günden sonra Telegram botunu kapsamlı hale getirdim:</p><ul><li>Disk sağlığı, servis durumu ve güvenlik uyarıları.</li><li>Her servisi Telegram’dan tek komutla yeniden başlatma.</li><li>Günlük ve haftalık sağlık raporu; günün en hızlı ve en yavaş internet ölçümüyle.</li></ul><p>Küçük bir hesap hatası da yaptım: İnternet hız testini saatte bir çalıştırınca ayı yaklaşık 90 GB veri kullanımıyla kapatıyordu. Günde dörde indirdim.</p><h3>6. Elektrik kesilince, internet gidince</h3><p>Evde elektrik kesintileri oluyor ve laptopun pili birkaç dakika dayanıyor. Sunucu, elektrik gelince kendiliğinden açılıyor ve kesintide veri kaybetmeyecek şekilde ayarlı. Modem çökerse telefonun hotspot’una otomatik geçiyor. Bir de “Acil Durum” uygulaması üzerinde çalışıyorum: internet ya da elektrik yokken bile ev ağından açılabilen, yakınlarla haberleşme ve konum paylaşma gibi temel işlevleri taşıyan bir sayfa. Acil Durum ve Afet Yönetimi mezunu biri olarak bu kısım benim için ayrı bir önem taşıyor.</p><h3>7. Yedek ve yeniden kurulum</h3><p>Tüm sistem düzenli olarak harici diske yedekleniyor. Laptop bir gün ölürse, yeni bir makinede sistemi kaldığı yerden, son ayarlarıyla geri kuran bir kurulum sihirbazı hazır. Bulut yedeğini bilerek kaldırdım; tek disk riskini kabul ediyorum, çünkü asıl amacım verinin evden çıkmaması.</p><h3>Sonuç</h3><p>2007 model bir laptop; fotoğraflar, filmler, müzik ve kitaplar için bir bulut, bir medya merkezi ve bir ev otomasyon sistemi olarak çalışıyor. En büyük kazancım kurduğum servisler değil, söktüğüm şeyler oldu: Nextcloud, Kısayollar ve bulut yedeği. Her biri neye gerçekten ihtiyacım olduğunu daha net görmemi sağladı.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12c78987d96f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Turned Our Engagement Invitation into a Web App]]></title>
            <link>https://medium.com/@anl1bayram/i-turned-our-engagement-invitation-into-a-web-app-4df9eaf9d6e6?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4df9eaf9d6e6</guid>
            <category><![CDATA[pwa]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[weddings]]></category>
            <category><![CDATA[vercel]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 20:31:13 GMT</pubDate>
            <atom:updated>2026-11-26T20:31:13.256Z</atom:updated>
            <content:encoded><![CDATA[<h4>A wax-sealed envelope animation, a share image that counts down by itself and a haptics trick for iPhone: the engineering behind an invitation.</h4><p>Esra and I got engaged on 20 November 2026. Alongside the printed card I wanted the invitation as a website: a page shared on WhatsApp that makes people smile when they open it and is actually useful. It started as a single envelope animation and, over the weeks before the engagement, grew into a full-featured PWA.</p><h3>1. The invitation itself</h3><ul><li><strong>A sealed envelope:</strong> Tap the wax seal and the envelope opens, the invitation slides out, and the phone gives a short buzz.</li><li><strong>Flowers and music:</strong> Dancing flowers along the edges and light ambient music generated in the browser by code, with no audio file to download.</li><li><strong>The useful bits:</strong> A countdown, add-to-calendar, a map of the venue and WhatsApp sharing.</li><li><strong>Weather:</strong> The forecast for the day and the sunset time in a single sentence (Open-Meteo API).</li></ul><p>The printed invitation uses the same design language. The flower image we started with carried a stock-photo watermark, so instead we drew completely original watercolor peonies in code.</p><h3>2. A page that changes over time</h3><p>The invitation tells a story over weeks, not a single moment:</p><ul><li><strong>A share image that changes every day:</strong> When the link is shared on WhatsApp, the preview says “12 DAYS LEFT” (in Turkish), and the number goes down by itself each day. Vercel Routing Middleware returns the right image for the current date.</li><li><strong>A countdown in the tab title</strong>, plus a short note of the day.</li><li><strong>Event-day mode:</strong> On the day itself the page greets visitors differently.</li><li><strong>Afterwards:</strong> A days-since-the-engagement counter, an anniversary card and a link to the photo album.</li></ul><h3>3. App-like on the phone</h3><p>The site is a PWA and can be added to the home screen. It shows separate install hints per browser, because the steps differ between iPhone Safari, Android Chrome and Samsung Internet. There is a dark/light theme and a few small surprises: shake an Android phone and hearts fall; on iPhone, where motion permissions are awkward, triple-tapping the names does the same.</p><h3>4. Haptics on iPhone</h3><p>On Android, the Vibration API makes haptics easy. Safari doesn’t support it. At first even Android’s buzz wasn’t noticeable; lengthening the pulses from 14–70 ms to 60–90 ms fixed that. For iPhone we placed a hidden switch on the page: iOS gives a short haptic tick when such a switch changes state.</p><h3>5. Bugs along the way</h3><ul><li><strong>A page that froze on slow connections:</strong> When Google Fonts loaded late, the page looked ready but didn’t respond. I subset the fonts, served them from the site itself and added a watchdog so a late or missing file can never leave the page locked.</li><li><strong>The site didn’t open for me alone:</strong> The cause wasn’t the invitation but my home server’s VPN exit-node setting, still on in my phone. My mother’s phone, on the same carrier, loaded it fine, which settled it.</li><li><strong>No WhatsApp preview:</strong> The code was fine; link previews were switched off in my own WhatsApp privacy settings.</li></ul><p>Those three taught me that “it doesn’t work for me” doesn’t always mean the code is wrong.</p><h3>6. Testing against a hard deadline</h3><p>The engagement date couldn’t move, so every release ran unit, integration, Chromium end-to-end and WebKit checks first. Each release also went through a build step that verified uploaded files against SHA-1 checksums. When a file was uploaded wrong, the build stopped cleanly and the live site was untouched. That saved us twice.</p><h3>Wrapping up</h3><p>Too much engineering for an invitation? Maybe. But most guests opened the link, broke the seal, added the date to their calendar and found their way with the map. That’s the best thing a website can do: get used.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4df9eaf9d6e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nişan Davetiyemizi Bir Web Uygulamasına Dönüştürdüm]]></title>
            <link>https://medium.com/@anl1bayram/ni%C5%9Fan-davetiyemizi-bir-web-uygulamas%C4%B1na-d%C3%B6n%C3%BC%C5%9Ft%C3%BCrd%C3%BCm-832959a81c81?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/832959a81c81</guid>
            <category><![CDATA[pwa]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[vercel]]></category>
            <category><![CDATA[weddings]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 20:14:26 GMT</pubDate>
            <atom:updated>2026-11-25T20:14:26.717Z</atom:updated>
            <content:encoded><![CDATA[<h4>Mühürlü zarf animasyonu, kendi kendine geri sayan paylaşım görseli ve iPhone’da titreşim numarası: bir davetiyenin arkasındaki mühendislik.</h4><p>20 Kasım 2026&#39;da Esra ile nişanlandık. Davetiyeyi kartın yanı sıra bir web sitesi olarak da hazırlamak istedim: WhatsApp’tan paylaşılan, açıldığında insanı gülümseten ve gerçekten işe yarayan bir sayfa. Başta tek sayfalık bir zarf animasyonuydu; nişan gününe kadar haftalar içinde tüm özellikleriyle bir PWA’ya dönüştü.</p><h3>1. Davetiyenin kendisi</h3><ul><li><strong>Mühürlü zarf:</strong> Mum mühüre dokununca zarf açılıyor, davetiye içinden çıkıyor. Dokunuşta kısa bir titreşim var.</li><li><strong>Çiçekler ve müzik:</strong> Kenarlarda dans eden çiçekler ve tarayıcıda kodla üretilen, dosya indirmeyen hafif bir fon müziği.</li><li><strong>İşe yarayan kısımlar:</strong> Geri sayım, takvime ekleme, mekanın haritası ve WhatsApp’ta paylaşma.</li><li><strong>Hava durumu:</strong> Nişan gününün tahmini ve gün batımı saati tek bir cümlede (Open-Meteo API).</li></ul><p>Basılı davetiye için de aynı dili kullandık. Elimizdeki çiçek görselinde stok fotoğraf filigranı vardı; onu kullanmak yerine kodla tamamen özgün suluboya şakayıklar çizdik.</p><h3>2. Zamanla değişen bir sayfa</h3><p>Davetiye tek bir anı değil, bir süreci anlatıyor:</p><ul><li><strong>Her gün değişen paylaşım görseli:</strong> Link WhatsApp’ta paylaşıldığında önizlemede “12 GÜN KALDI” yazıyor ve bu sayı her gün kendiliğinden azalıyor. Bunu Vercel Routing Middleware ile, günün tarihine göre doğru görseli döndürerek yaptık.</li><li><strong>Sekme başlığında geri sayım</strong> ve günün kısa notu.</li><li><strong>Nişan günü modu:</strong> O gün sayfa farklı bir karşılama gösteriyor.</li><li><strong>Sonrası:</strong> Nişandan bu yana geçen gün sayacı, yıldönümü kartı ve fotoğraf albümünün bağlantısı.</li></ul><h3>3. Telefonda uygulama gibi</h3><p>Site bir PWA; ana ekrana eklenebiliyor. Her tarayıcı için ayrı bir “ana ekrana ekle” ipucu gösteriliyor, çünkü iPhone Safari, Android Chrome ve Samsung Internet’te adımlar farklı. Koyu/açık tema ve küçük sürprizler de var: Android’de telefonu sallayınca kalpler yağıyor; iPhone’da hareket izni sorunlu olduğu için aynı efekt isimlere üç kez dokununca çıkıyor.</p><h3>4. iPhone’da titreşim</h3><p>Android’de Vibration API ile titreşim kolay. Safari ise bu API’yi desteklemiyor. İlk denemede Android’deki titreşim de hissedilmiyordu; darbeleri 14–70 ms’den 60–90 ms’ye uzatınca sorun çözüldü. iPhone için sayfaya gizli bir anahtar (switch) koyduk: iOS bu tür anahtarların durumu değiştiğinde kısa bir dokunsal tik veriyor.</p><h3>5. Yolda çıkan hatalar</h3><ul><li><strong>Yavaş bağlantıda donan sayfa:</strong> Google Fonts geç yüklendiğinde sayfa yüklenmiş görünüp tepki vermiyordu. Fontları alt kümeleyip sitenin kendisinden sundum ve geç gelen ya da hiç gelmeyen bir dosya yüzünden sayfa kilitlenmesin diye bir “bekçi” ekledim.</li><li><strong>Site bir tek bende açılmıyordu:</strong> Sebep davetiye değil, telefonumda açık kalan ev sunucumun VPN çıkış noktası ayarıydı. Annemin aynı operatördeki telefonunda sorunsuz açılması bunu kanıtladı.</li><li><strong>WhatsApp önizlemesi çıkmıyordu:</strong> Kodda sorun yoktu; benim WhatsApp gizlilik ayarlarımda bağlantı önizlemesi kapalıydı.</li></ul><p>Bu üç hata bana şunu öğretti: “Bende çalışmıyor” demek, sorunun her zaman kodda olduğu anlamına gelmiyor.</p><h3>6. Son tarihe karşı test</h3><p>Nişan tarihi ertelenemeyeceği için her yayından önce birim, entegrasyon, Chromium uçtan uca ve WebKit kontrolleri çalıştı. Her yayın, dosyaların doğru yüklendiğini SHA-1 toplamlarıyla doğrulayan bir derleme adımından geçti. Bir dosya yanlış yüklendiğinde derleme temiz biçimde duruyor, canlı site etkilenmiyor. Bu iki kez başımızı ağrıtmaktan kurtardı.</p><h3>Sonuç</h3><p>Bir davetiye için fazla mı mühendislik? Belki. Ama misafirlerin çoğu linki açıp mührü kırdı, takvime ekledi ve haritadan yolu buldu. Bir web sitesinin en güzel hali de bu: kullanıldığını görmek.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=832959a81c81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Professional Website for an English Teacher with Next.js]]></title>
            <link>https://medium.com/@anl1bayram/building-a-professional-website-for-an-english-teacher-with-next-js-341a1a46a8e8?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/341a1a46a8e8</guid>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[small-business]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 20:12:34 GMT</pubDate>
            <atom:updated>2026-11-25T20:12:34.894Z</atom:updated>
            <content:encoded><![CDATA[<h4>A level test, local SEO pages, Turkish data-protection (KVKK) compliance and WhatsApp-first contact: what mattered on a small business site.</h4><p>My fiancée, Esra Paksoy, is an English teacher who gives one-to-one lessons in Fethiye and online. Students found her through Instagram and word of mouth; she had no site describing her lessons, packages or background. This post covers the site we built for her, <strong>esra-paksoy.vercel.app</strong>, and the decisions behind it.</p><h3>1. The stack</h3><p>Next.js 16 (App Router), React 19 and Tailwind CSS 4. My own portfolio uses React + Vite, but here I chose Next.js from the start: a site of around 20 pages needs every page served as ready-made HTML, each with its own title and description. The code lives in a private GitHub repository, and every push to main deploys to Vercel automatically.</p><h3>2. Pages that lead to a lesson</h3><ul><li><strong>Level test:</strong> Visitors learn their level in a few minutes and can send the result straight to Esra. The scoring logic is its own module with unit tests.</li><li><strong>Packages:</strong> Tiered pricing, where the per-lesson price drops as the package grows, nudging students toward longer commitments.</li><li><strong>Contact priority:</strong> The order is the same everywhere: WhatsApp first, then email, then Instagram. Buttons open with a pre-written message, so visitors don’t have to think about what to say.</li><li><strong>About, Career, Teaching Method, Lesson Highlights:</strong> Trust-building pages that lay out her degree, experience and approach.</li></ul><h3>3. Local SEO: one page per search intent</h3><p>Nobody starts by typing “Esra Paksoy”; they type “private English lessons in Fethiye” (in Turkish). So each search intent got its own page:</p><ul><li>Private English Lessons in Fethiye</li><li>Online Private English Lessons</li><li>English for Children and Teens</li><li>English Conversation Lessons</li></ul><p>Each page has its own title, description, canonical URL and Service structured data. A <strong>Guide</strong> section answers questions like “What do the A1–C2 levels mean?” and “Online or face to face?”, bringing in search traffic and giving students context before the first lesson.</p><p>Structured data covers Person, WebSite, WebPage, BreadcrumbList, Service, FAQPage and BlogPosting. The sitemap and robots.txt are generated automatically, and preview deployments are hidden from search.</p><h3>4. Data protection and security</h3><p>A small site still carries full responsibility for personal data.</p><ul><li>A privacy policy, a KVKK disclosure notice and a cookie policy.</li><li>A cookie consent manager; visitors can change their choice at any time.</li><li>The contact form is validated against a schema on the server, rate-limited and protected from bots with Vercel BotID.</li><li>A strict Content Security Policy, HSTS and other security headers.</li><li>A privacy audit script that scans all code, including git history, before anything is pushed.</li></ul><h3>5. Testing and maintenance</h3><p>Unit tests (pricing, scoring, content, SEO), an integration test for the contact API and Playwright end-to-end tests covering pages, navigation, the level test, cookie consent, the gallery, contact and dedicated SEO, security and privacy checks. GitHub Actions runs them on every push, and Dependabot keeps dependencies current.</p><h3>6. Before launch: the teacher signs off on the content</h3><p>Alongside the code we kept an approval checklist: spellings of school names, dates of past jobs, prices and contact details. The site went live only after Esra approved every item. On a site about a person, a single wrong date can cost trust.</p><h3>What’s next</h3><p>For now the form opens the message in the visitor’s email app; a transactional email service will be connected for direct sending. A custom domain is on the way too.</p><p>Take a look: <a href="https://esra-paksoy.vercel.app/">esra-paksoy.vercel.app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=341a1a46a8e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bir İngilizce Öğretmeni İçin Next.js ile Profesyonel Site Kurdum]]></title>
            <link>https://medium.com/@anl1bayram/bir-i%CC%87ngilizce-%C3%B6%C4%9Fretmeni-i%CC%87%C3%A7in-next-js-ile-profesyonel-site-kurdum-31657720128b?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/31657720128b</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[small-business]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 20:10:30 GMT</pubDate>
            <atom:updated>2026-11-25T20:10:30.321Z</atom:updated>
            <content:encoded><![CDATA[<h4>Seviye testi, yerel SEO sayfaları, KVKK uyumu ve WhatsApp öncelikli iletişim: küçük bir işletme sitesinde nelere dikkat ettim?</h4><p>Nişanlım Esra Paksoy, Fethiye’de yüz yüze ve online birebir İngilizce dersi veren bir İngilizce öğretmeni. Öğrencileri ona Instagram ve tavsiyeyle ulaşıyordu; derslerini, paketlerini ve kendini anlattığı bir sitesi yoktu. Bu yazıda onun için kurduğumuz siteyi, <strong>esra-paksoy.vercel.app</strong>’i, ve verdiğimiz kararları anlatıyorum.</p><h3>1. Teknoloji seçimi</h3><p>Next.js 16 (App Router), React 19 ve Tailwind CSS 4. Kişisel sitemde React + Vite kullanıyordum; bu sefer baştan Next.js seçtim, çünkü 20&#39;ye yakın sayfalı bir sitede her sayfanın sunucuda hazır HTML olarak gelmesi ve sayfa başına ayrı başlık ve açıklama tanımlanabilmesi gerekiyordu. Kod private bir GitHub deposunda; main dalına yapılan her gönderim Vercel&#39;de otomatik yayına çıkıyor.</p><h3>2. Ziyaretçiyi derse götüren sayfalar</h3><ul><li><strong>Seviye testi:</strong> Ziyaretçi birkaç dakikada seviyesini öğreniyor ve sonucu doğrudan Esra’ya gönderebiliyor. Puanlama mantığı ayrı bir modül ve birim testleri var.</li><li><strong>Paketler:</strong> Kademeli fiyatlandırma. Paket büyüdükçe ders başı ücret düşüyor; amaç öğrenciyi uzun soluklu çalışmaya yönlendirmek.</li><li><strong>İletişim önceliği:</strong> Sitenin her yerinde sıra aynı: önce WhatsApp, sonra e-posta, en son Instagram. Butonlar hazır mesaj metniyle açılıyor, ziyaretçinin ne yazacağını düşünmesine gerek kalmıyor.</li><li><strong>Hakkımda, Kariyer, Eğitim Modeli, Derslerden Kesitler:</strong> Güven oluşturan sayfalar; diploma, deneyim ve ders yaklaşımı açıkça anlatılıyor.</li></ul><h3>3. Yerel SEO: Kişinin aradığı cümleye bir sayfa</h3><p>Kimse arama motoruna “Esra Paksoy” yazarak başlamıyor; “Fethiye İngilizce özel ders” yazıyor. Bu yüzden aranan her niyet için ayrı bir sayfa açtık:</p><ul><li>Fethiye İngilizce Özel Ders</li><li>Online İngilizce Özel Ders</li><li>Çocuklar ve Gençler İçin İngilizce</li><li>İngilizce Konuşma Dersi</li></ul><p>Her sayfanın kendi başlığı, açıklaması, canonical adresi ve Service yapılandırılmış verisi var. Buna ek olarak bir <strong>Rehber</strong> bölümü açtık: “İngilizce seviyeleri A1&#39;den C2&#39;ye ne anlama geliyor?”, “Online mi, yüz yüze mi?” gibi soruları cevaplayan yazılar. Bunlar hem arama trafiği getiriyor hem de öğrenciye ilk dersten önce fikir veriyor.</p><p>Yapılandırılmış veri tarafında Person, WebSite, WebPage, BreadcrumbList, Service, FAQPage ve BlogPosting kullanıldı. Sitemap ve robots.txt otomatik üretiliyor; önizleme dağıtımları aramalara kapalı.</p><h3>4. KVKK ve güvenlik</h3><p>Küçük bir site olması, kişisel veri sorumluluğunu küçültmüyor.</p><ul><li>Gizlilik Politikası, KVKK Aydınlatma Metni ve Çerez Politikası sayfaları.</li><li>Bir çerez onay yöneticisi: Ziyaretçi tercihini istediği an yeniden değiştirebiliyor.</li><li>İletişim formu sunucu tarafında şema ile doğrulanıyor, hız sınırı var ve botlara karşı Vercel BotID ile korunuyor.</li><li>Sıkı bir Content Security Policy, HSTS ve diğer güvenlik başlıkları.</li><li>Depoya yüklemeden önce git geçmişi dahil tüm kodu tarayan bir gizlilik denetimi betiği.</li></ul><h3>5. Test ve bakım</h3><p>Birim testleri (fiyatlandırma, puanlama, içerik, SEO), iletişim API’si için entegrasyon testi ve Playwright ile uçtan uca testler var: sayfalar, gezinme, seviye testi, çerez onayı, galeri, iletişim ve “SEO, güvenlik, gizlilik” kontrolleri. GitHub Actions her gönderimde bunları çalıştırıyor, Dependabot da bağımlılıkları güncel tutuyor.</p><h3>6. Yayın öncesi: içeriği öğretmene onaylatmak</h3><p>Kodun yanında bir onay listesi tuttuk: okul adlarının yazımı, çalışılan yerlerin dönemleri, fiyatlar ve iletişim bilgileri. Hepsi Esra tarafından tek tek onaylandıktan sonra site yayına çıktı. Bir kişiyi anlatan sitede tek bir yanlış tarih bile güveni zedeleyebiliyor.</p><h3>Sıradakiler</h3><p>Form şu an mesajı ziyaretçinin e-posta uygulamasında açıyor; doğrudan gönderim için bir e-posta servisi bağlanacak. Özel alan adı da yolda.</p><p>Siteye göz atmak isterseniz: <a href="https://esra-paksoy.vercel.app/">esra-paksoy.vercel.app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31657720128b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Rebuilt My Portfolio for Google and AI Search]]></title>
            <link>https://medium.com/@anl1bayram/i-rebuilt-my-portfolio-for-google-and-ai-search-dd03ade996e8?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd03ade996e8</guid>
            <category><![CDATA[vercel]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 20:09:05 GMT</pubDate>
            <atom:updated>2026-11-25T20:09:05.912Z</atom:updated>
            <content:encoded><![CDATA[<h4>From GitHub Pages to Vercel, and from an empty HTML shell to a page ChatGPT can actually read.</h4><p>For a long time my personal site looked good but was nearly empty to search engines. It was a single-page React + Vite app: until the browser ran JavaScript, the page was a lone &lt;div id=&quot;root&quot;&gt;&lt;/div&gt;. Google copes with that, but most AI search crawlers, including those behind ChatGPT, Claude and Perplexity, do not run JavaScript. Anyone asking &quot;Who is Anıl Bayram?&quot; could not get an answer from my own site.</p><p>Here is how I moved the site, what I changed and what surprised me along the way. The new address: <strong>an1lbayram.vercel.app</strong></p><h3>1. Why I left GitHub Pages</h3><p>The site was live on both GitHub Pages (an1lbayram.github.io) and Vercel. Two addresses with the same content split ranking signals between them. GitHub Pages also can’t set HTTP headers, so I was faking security settings with &lt;meta&gt; tags.</p><p>The decision: I made the repository private, unpublished GitHub Pages and now serve the site only from Vercel at an1lbayram.vercel.app. Vercel builds from a private repo without any extra setup.</p><h3>2. Keeping the old address alive: 308 redirects and a retired service worker</h3><p>Every request to the old an1lbayram-github-io.vercel.app address now gets a permanent (308) redirect to the new one, the standard way to tell search engines a page has moved.</p><p>The surprise: because the site is a PWA, returning visitors had a service worker installed. It kept serving the cached old site without ever asking the server, so the redirect never reached them.</p><p>The fix was a small Vercel middleware. On the old host, a request for /sw.js returns a service worker that deletes its caches, unregisters itself and sends the visitor to the new address. The browser picks it up on the next visit and the old copy is gone.</p><h3>3. Prerendering the page at build time</h3><p>This is the biggest change. Instead of moving to Next.js, I added a two-step build to the existing Vite project:</p><ol><li>Build a server (SSR) bundle of the app.</li><li>During the client build, a small Vite plugin runs that bundle, renders the React tree to HTML with renderToPipeableStream and places it inside #root in index.html.</li></ol><p>In the browser, hydrateRoot takes over the ready-made HTML. The whole page, about 80 KB of content, is now in the HTML before any JavaScript runs.</p><p>A few components needed fixing too. The projects and Medium sections showed skeleton placeholders while data loaded, and crawlers saw exactly those empty boxes. Now the real cards render immediately and live data is layered on top.</p><h3>4. The hydration bug was month names</h3><p>Locally everything was perfect. In production, my own browser’s console filled with React error #418. The cause was one line:</p><pre>date.toLocaleString(&#39;default&#39;, { month: &#39;short&#39; })</pre><p>The server, in English and UTC, rendered “Jul”; my Turkish browser rendered “Tem”. When the HTML and the browser’s first render disagree, React throws that part away and draws it again. Pinning the locale and time zone (&#39;tr-TR&#39;, timeZone: &#39;UTC&#39;) fixed it, and a Playwright test now runs the page as Turkish/Istanbul and English/Los Angeles so it can&#39;t come back.</p><h3>5. Telling search engines who I am</h3><ul><li><strong>A JSON-LD @graph:</strong> Person, WebSite, ProfilePage, projects (SoftwareSourceCode), Medium articles and FAQPage. “Anıl Bayram”, “Anil Bayram” and “an1lbayram” all point to the same person, with GitHub, LinkedIn, Medium and Instagram linked through sameAs.</li><li><strong>A visible FAQ section</strong> with questions such as “Who is Anıl Bayram?” and “What is DatHex?”. The FAQPage data matches the on-page text word for word, and a test enforces it.</li><li><strong>A 1200×630 share image</strong> and a large Twitter card.</li><li><strong>A sitemap</strong> that lists the real page only, not fragment URLs like #about.</li></ul><h3>6. llms.txt for AI search</h3><p>The site now ships two plain-text files: llms.txt, a short summary with links, and llms-full.txt, the full text of my education, skills, projects, certificates and FAQ. Both are generated from the site&#39;s own data at build time, so they update themselves.</p><p>robots.txt explicitly allows GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended and others, while preview deployments send a noindex header. I also pinged Bing through IndexNow, since ChatGPT&#39;s web search draws on Bing.</p><h3>7. Performance and security</h3><ul><li>Fonts are now self-hosted with Fontsource instead of Google Fonts. Along the way I found Vite inlining small font files as data: URLs, which my CSP blocked, so font inlining is now off.</li><li>HSTS, X-Frame-Options: DENY, a strict Referrer-Policy and a broader Permissions-Policy.</li><li>scripts/verify-dist.mjs checks the prerender, JSON-LD, sitemap and llms files after every build. If a check fails, the release never goes live.</li></ul><h3>Wrapping up</h3><p>The site looks the same, but it is no longer an empty shell to search engines and AI crawlers: it states clearly who I am and what I build. 180 unit tests and 49 end-to-end tests pass. Rankings take time; the next step is adding the site to Google Search Console.</p><p>Have a look: <a href="https://an1lbayram.vercel.app/">an1lbayram.vercel.app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd03ade996e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kişisel Sitemi Google ve Yapay Zekâ Aramaları İçin Baştan Kurdum]]></title>
            <link>https://medium.com/@anl1bayram/ki%C5%9Fisel-sitemi-google-ve-yapay-zek%C3%A2-aramalar%C4%B1-i%CC%87%C3%A7in-ba%C5%9Ftan-kurdum-0eb34769f350?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/0eb34769f350</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[vercel]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 20:07:43 GMT</pubDate>
            <atom:updated>2026-11-25T20:07:43.867Z</atom:updated>
            <content:encoded><![CDATA[<h4>GitHub Pages’ten Vercel’e, boş bir HTML kabuğundan ChatGPT’nin okuyabildiği bir sayfaya.</h4><p>Kişisel sitem uzun süre güzel görünüyordu ama arama motorları için neredeyse boştu. React ve Vite ile yazdığım tek sayfalık bir uygulamaydı: tarayıcı JavaScript’i çalıştırana kadar sayfada tek bir &lt;div id=&quot;root&quot;&gt;&lt;/div&gt; vardı. Google bunu bir şekilde idare ediyor, ama ChatGPT, Claude ve Perplexity gibi yapay zekâ aramalarının botlarının çoğu JavaScript çalıştırmıyor. Yani &quot;Anıl Bayram kimdir?&quot; diye soran birine benim sitemden cevap gelemiyordu.</p><p>Bu yazıda siteyi nasıl taşıdığımı, neleri değiştirdiğimi ve yolda çıkan sürprizleri anlatıyorum. Yeni adres: <strong>an1lbayram.vercel.app</strong></p><h3>1. Neden GitHub Pages’ten ayrıldım?</h3><p>Site hem GitHub Pages’te (an1lbayram.github.io) hem de Vercel’de yayındaydı. İki adres, aynı içerik demekti; arama motoru açısından bu, iki sayfanın birbirinin puanını bölmesi anlamına geliyor. Ayrıca GitHub Pages HTTP başlığı ayarlamaya izin vermediği için güvenlik ayarlarını &lt;meta&gt; etiketiyle taklit etmek zorundaydım.</p><p>Kararım: Depoyu private yaptım, GitHub Pages yayınını kaldırdım ve siteyi yalnızca Vercel’den, an1lbayram.vercel.app adresinden yayınladım. Vercel private depodan da sorunsuz derleme yapıyor.</p><h3>2. Eski adres kaybolmasın: 308 yönlendirme ve emekli edilen service worker</h3><p>Eski an1lbayram-github-io.vercel.app adresinden gelen her isteği kalıcı (308) yönlendirmeyle yeni adrese gönderdim. Bu, arama motorlarına &quot;sayfa taşındı&quot; demenin standart yolu.</p><p>Aslı sürpriz burada çıktı: Site bir PWA olduğu için eski ziyaretçilerin tarayıcısında bir service worker kayıtlıydı. Bu service worker sunucuya hiç sormadan, önbellekteki eski siteyi göstermeye devam ediyordu. Sunucudaki yönlendirme bu ziyaretçilere hiç ulaşmıyordu.</p><p>Çözüm: Vercel’de küçük bir middleware yazdım. Eski adreste /sw.js istendiğinde, kendini silen ve ziyaretçiyi yeni adrese götüren bir service worker döndürüyor. Tarayıcı bir sonraki ziyarette bu yeni sürümü yüklüyor, önbelleği temizliyor ve kullanıcıyı doğru adrese taşıyor.</p><h3>3. Sayfayı derleme anında ön-render etmek</h3><p>En büyük değişiklik bu. Next.js’e geçmeden, mevcut Vite projesine iki aşamalı bir derleme ekledim:</p><ol><li>Önce uygulamanın bir sunucu (SSR) paketi derleniyor.</li><li>Ardından istemci derlemesi sırasında küçük bir Vite eklentisi bu paketi çalıştırıyor, React ağacını renderToPipeableStream ile HTML&#39;e çeviriyor ve index.html içindeki #root alanına yerleştiriyor.</li></ol><p>Tarayıcıda hydrateRoot bu hazır HTML&#39;i devralıyor. Sonuç: Sayfanın tüm metni, yaklaşık 80 KB, JavaScript çalışmadan önce HTML&#39;de hazır.</p><p>Bunun için birkaç bileşeni de düzelttim. Projeler ve Medium yazıları, veri yüklenirken “iskelet” kutucuklar gösteriyordu; botlar da tam olarak bu boş kutuları görüyordu. Artık gerçek kartlar hemen geliyor, canlı veri sonradan üstüne ekleniyor.</p><h3>4. Hidrasyon hatasının kaynağı: ay adları</h3><p>Lokalde her şey kusursuzdu. Canlıya aldıktan sonra kendi tarayıcımda konsol React’in #418 hatalarıyla doldu. Sebep tek satırdı:</p><pre>date.toLocaleString(&#39;default&#39;, { month: &#39;short&#39; })</pre><p>Sunucu İngilizce ve UTC’de “Jul” üretiyordu, Türkçe tarayıcım ise “Tem”. HTML ile tarayıcının ilk çizimi uyuşmayınca React o bölümü sıfırdan çiziyordu. Dili ve saat dilimini sabitleyince (&#39;tr-TR&#39; ve timeZone: &#39;UTC&#39;) hata kayboldu. Aynı hatanın geri gelmemesi için Playwright&#39;a Türkçe/İstanbul ve İngilizce/Los Angeles ayarlarıyla çalışan bir test ekledim.</p><h3>5. Arama motorlarına kim olduğumu anlatmak</h3><ul><li><strong>JSON-LD @graph:</strong> Person, WebSite, ProfilePage, projeler (SoftwareSourceCode), Medium yazıları ve FAQPage. “Anıl Bayram”, “Anil Bayram” ve “an1lbayram” adları aynı kişiye bağlanıyor; GitHub, LinkedIn, Medium ve Instagram profillerim sameAs ile işaretli.</li><li><strong>Görünür bir SSS bölümü:</strong> “Anıl Bayram kimdir?”, “DatHex nedir?” gibi sorular. FAQPage verisi sayfadaki metinle kelimesi kelimesine aynı; bunu bir testle garanti altına aldım.</li><li><strong>1200×630 paylaşım görseli</strong> ve büyük Twitter kartı.</li><li><strong>Sitemap</strong> artık #about gibi parça adresleri değil, yalnızca gerçek sayfayı listeliyor.</li></ul><h3>6. Yapay zekâ aramaları için llms.txt</h3><p>Siteye iki düz metin dosyası ekledim: llms.txt kısa bir özet ve bağlantı listesi, llms-full.txt ise eğitim, beceriler, projeler, sertifikalar ve SSS&#39;nin tam metni. İkisi de derleme sırasında sitedeki verilerden üretiliyor; yani site güncellenince kendiliğinden güncelleniyorlar.</p><p>robots.txt&#39;de GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot ve Google-Extended gibi botlara açıkça izin verdim. Önizleme dağıtımları ise noindex başlığıyla aramalardan uzak tutuluyor. Bing&#39;e de IndexNow ile yeni adresi bildirdim; ChatGPT&#39;nin web araması Bing sonuçlarını kullanıyor.</p><h3>7. Performans ve güvenlik</h3><ul><li>Google Fonts yerine fontları Fontsource ile sitenin kendisinden sunuyorum. Bunu yaparken Vite’ın küçük font dosyalarını data: adresi olarak gömdüğünü ve bunların CSP tarafından engellendiğini fark ettim; font dosyalarını gömmeyi kapattım.</li><li>HSTS, X-Frame-Options: DENY, sıkı Referrer-Policy ve genişletilmiş Permissions-Policy başlıkları.</li><li>scripts/verify-dist.mjs: Her derlemenin sonunda ön-render&#39;ı, JSON-LD&#39;yi, sitemap&#39;i ve llms dosyalarını denetliyor. Denetim geçmezse sürüm yayına çıkmıyor.</li></ul><h3>Sonuç</h3><p>Site aynı görünüyor ama artık arama motorları ve yapay zekâ botları için boş bir kabuk değil; içeriği, kim olduğumu ve projelerimi açıkça anlatıyor. 180 birim testi ve 49 uçtan uca test geçiyor. Sıralama bir gecede gelmiyor; sıradaki adım siteyi Google Search Console’a eklemek.</p><p>Siteye göz atmak isterseniz: <a href="https://an1lbayram.vercel.app/">an1lbayram.vercel.app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0eb34769f350" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anıl Bayram - Portfolio Website]]></title>
            <link>https://medium.com/@anl1bayram/an%C4%B1l-bayram-portfolio-website-ae46a6794ceb?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae46a6794ceb</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Tue, 18 Nov 2025 14:33:52 GMT</pubDate>
            <atom:updated>2025-11-18T14:33:52.737Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>My Personal Website, Coded with an Obsession for Security, Speed, and Accessibility</strong></p><p>For a developer, a personal portfolio site is their digital signature, their home, and most importantly, their playground. We often code our first portfolios quickly just to get “online.” But as we advance in our careers, that initial site no longer fully reflects who we are.</p><p>This was exactly the case for me. I evolved from the “just list my projects” mentality to the idea that “This site must be a living CV.”</p><p>That’s why I decided to code <strong>Anıl Bayram - Portfolio v2.0</strong> from scratch, with an obsession to meet all the requirements of the modern web (and then some).</p><p>This isn’t just an “about me” page; it’s proof of my philosophy for clean, secure, fast, and accessible code for everyone.</p><p>So, what’s under the hood of this “Full Featured” portfolio?</p><h3>1. Speed: There’s No Such Thing as “Almost Loaded”</h3><p>On the web, seconds, even milliseconds, matter. Making a user wait when they click on your site is one of the biggest discourtesies in the digital world.</p><p>My goal was clear: a 90+ score on Lighthouse and a lightning-fast experience.</p><ul><li><strong>Every Kilobyte Matters:</strong> I compressed all my CSS code into a single line, reducing style.min.css to just <strong>~3KB</strong>. I did the same for JavaScript, keeping script.min.js at <strong>~2.5KB</strong>.</li><li><strong>Negotiating with the Server:</strong> I configured server-side Gzip compression and browser caching settings via .htaccess. This ensures that after the site loads once, subsequent visits are almost instantaneous.</li><li><strong>Seeing the Future:</strong> Using “Resource Hints” like preconnect and dns-prefetch, I&#39;m essentially telling the browser, &quot;Look, we&#39;re going to need these resources soon, so get ready now.&quot;</li></ul><p>The result? A site that loads in the blink of an eye and doesn’t tire the user.</p><h3>2. Security: Digital Fortress Walls</h3><p>No matter how fast a site is, it’s meaningless if it’s not secure. Even though my portfolio site doesn’t have complex transactions like an e-commerce site, security is non-negotiable for me.</p><ul><li><strong>Form Protection:</strong> I didn’t just drop a simple “Submit” button on the contact form. I built a structure that validates the email format with regex and performs input sanitization (data cleaning) to protect against XSS (Cross-Site Scripting) attacks.</li><li><strong>Server Instructions:</strong> With the Security Headers I added to the .htaccess file, I created a strict set of rules:</li><li>X-Frame-Options: SAMEORIGIN: Prevents my site from being pulled into an &quot;iframe&quot; on other sites.</li><li>X-Content-Type-Options: nosniff: Prevents the browser from &quot;guessing&quot; file types.</li><li>Permissions-Policy: Guarantees the site doesn&#39;t use sensitive permissions it doesn&#39;t need, like microphone, camera, or location.</li></ul><p>Security isn’t a feature; it’s a necessity. These headers also protect the browsers of users visiting my site. (And of course, I don’t want to get into trouble.)</p><h3>3. Accessibility and Experience (UI/UX)</h3><p>Technology should not leave anyone behind. When designing a site, I aimed not just for it to “look good,” but for it to be “usable by everyone.”</p><ul><li><strong>Dark Mode and Preferences:</strong> The site automatically adapts to your operating system’s color preference (Dark/Light Mode) and remembers your choice using localStorage. (I&#39;m Batman.)</li><li><strong>Reduced Motion:</strong> I like animations, but I added support for prefers-reduced-motion. If a user has checked the &quot;reduce motion&quot; option in their system settings, all complex animations stop. This is a critical feature for users with vestibular disorders.</li><li><strong>Blind Guide (Screen Reader):</strong> All interactive elements (buttons, links) are equipped with proper ARIA labels and roles. A visually impaired user can navigate my site without getting lost using a screen reader.</li><li><strong>Not Just for Mice:</strong> You can navigate the entire site using only the keyboard (Tab, Enter, Space). Focused elements (focus states) are clearly visible.</li></ul><h3>4. Those “Extra” Touches (SEO and PWA)</h3><p>It’s the details that make a house a “home.” I spent a lot of time on those details in this project:</p><ul><li><strong>SEO (Search Engine Optimization):</strong> I created a sitemap.xml and robots.txt to help Google find my site correctly. I added <strong>Open Graph</strong> tags to make it look good when shared on social media and <strong>JSON-LD Schema</strong> (Person, Organization) structures to clearly answer the &quot;Who am I?&quot; question for search engines.</li><li><strong>PWA (Progressive Web App):</strong> This site is now an “installable” application. Thanks to the Service Worker, you can even access the site when you are offline.</li></ul><h3>Why So Much Detail?</h3><p>Because I believe that good code isn’t just “code that works.”</p><blockquote><em>Good code is secure, clean, well-structured, understandable even without comments, and most importantly, useful.</em></blockquote><p>This portfolio site is a demonstration of what I can do with this philosophy. It’s not just a showcase where I display my finished projects, but also a work that shows my passion for coding and the importance I place on details.</p><p><em>And I can do it.</em></p><p>Best regards,</p><p><em>Anıl Bayram</em></p><p><strong>Website:</strong> <a href="https://an1lbayram.github.io/">https://an1lbayram.github.io</a></p><p><strong>GitHub:</strong> <a href="https://github.com/an1lbayram">https://github.com/an1lbayram</a></p><p><strong>Project Link:</strong> <a href="https://github.com/an1lbayram/an1lbayram.github.io">https://github.com/an1lbayram/an1lbayram.github.io</a></p><p><strong>LinkedIn:</strong> <a href="https://www.linkedin.com/in/an1lbayram">https://www.linkedin.com/in/an1lbayram</a></p><p><strong>Mail:</strong> <a href="/service/mailto:anilbayram48@gmail.com?subject=%C4%B0%C5%9F%20birli%C4%9Fi%20hakk%C4%B1nda&amp;body=Merhaba%2C%0A%0AProjelerinizi%20%C3%A7ok%20be%C4%9Fendim%2C%20birlikte%20%C3%A7al%C4%B1%C5%9Fmak%20i%C3%A7in%20sab%C4%B1rs%C4%B1zlan%C4%B1yorum!%0A%0ASevgilerimle.">anilbayram48@gmail.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MCLdO8mCrPjfkLCwamAMAg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WqJBFboIEw50wILOgfCQYA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae46a6794ceb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anıl Bayram - Portfolio Website]]></title>
            <link>https://medium.com/@anl1bayram/an%C4%B1l-bayram-portfolio-website-d243037ace51?source=rss-fd1743390ab1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d243037ace51</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Anıl Bayram]]></dc:creator>
            <pubDate>Mon, 17 Nov 2025 11:27:52 GMT</pubDate>
            <atom:updated>2025-11-17T11:33:58.428Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Güvenlik, Hız ve Erişilebilirlik Saplantısıyla Kodlanana Kişisel Websitem</strong></p><p>Bir geliştirici için kişisel portfolyo sitesi, geliştiricinin dijital dünyadaki imzası, evi ve en önemlisi de oyun alanıdır. Çoğu zaman ilk portfolyolarımızı bir an önce “yayında” olmak için hızlıca kodlarız. Ancak kariyerimizde ilerledikçe, o ilk site artık bizi tam olarak yansıtmaz.</p><p>Benim için de durum tam olarak buydu. “Sadece projelerimi listelesin yeter” mantığından, “Bu site, yaşayan bir cv olmalı” düşüncesine evrildim.</p><p>İşte bu yüzden <strong>Anıl Bayram - Portfolyo v2.0</strong>&#39;ı sıfırdan, modern web’in tüm gerekliliklerini (ve biraz da fazlasını) karşılayacak bir saplantıyla kodlamaya karar verdim.</p><p>Bu sadece bir “hakkımda” sayfası değil; bu benim temiz, güvenli, hızlı ve <em>herkes için</em> erişilebilir kod felsefemin bir kanıtı.</p><p>Peki, bu “Full Featured” (Tüm Özellikler Dahil) portfolyonun kaputunun altında neler var?</p><h3>1. Hız: “Neredeyse Yüklendi” Diye Bir Şey Yoktur</h3><p>Web’de saniyelerin, hatta milisaniyelerin önemi var. Bir kullanıcı sitenize tıkladığında onu bekletmek, dijital dünyadaki en büyük kabalıklardan biri.</p><p>Hedefim netti: Lighthouse’ta 90+ puan ve yıldırım hızında bir deneyim.</p><ul><li><strong>Her Kilobyte Önemlidir:</strong> Tüm CSS kodlarımı tek bir satıra sıkıştırarak style.min.css dosyasını sadece <strong>~3KB</strong>&#39;a indirdim. Aynı işlemi JavaScript için de yaptım ve script.min.js dosyasını <strong>~2.5KB</strong>&#39;ta tuttum.</li><li><strong>Sunucuyla Pazarlık:</strong> Sunucu tarafında Gzip sıkıştırmasını ve tarayıcı önbellekleme (browser caching) ayarlarını .htaccess üzerinden yapılandırdım. Bu sayede, sitenin bir kez yüklenmesi, bir sonraki ziyaretler için neredeyse anında açılmasını sağlıyor.</li><li><strong>Geleceği Görmek:</strong> preconnect ve dns-prefetch gibi &quot;Resource Hint&quot;leri kullanarak, tarayıcıya &quot;Bak, birazdan bu kaynaklara ihtiyacımız olacak, sen şimdiden hazırlan&quot; diyorum.</li></ul><p>Sonuç? Göz açıp kapayıncaya kadar yüklenen, kullanıcıyı yormayan bir site.</p><h3>2. Güvenlik: Dijital Kale Duvarları</h3><p>Bir site ne kadar hızlı olursa olsun, güvende değilse bir anlamı yoktur. Portfolyo sitemde bir e-ticaret sitesi kadar karmaşık işlemler olmasa da, güvenlik benim için pazarlık konusu olamaz.</p><ul><li><strong>Form Koruması:</strong> İletişim formuna basit bir “Gönder” butonu koyup geçmedim. E-posta formatını regex ile doğrulayan, XSS (Cross-Site Scripting) saldırılarına karşı input sanitization (veri temizleme) yapan bir yapı kurdum.</li><li><strong>Sunucu Talimatları:</strong> .htaccess dosyasına eklediğim güvenlik başlıkları (Security Headers) ile adeta bir kural listesi oluşturdum:</li><li>X-Frame-Options: SAMEORIGIN: Sitemin başka siteler tarafından &quot;iframe&quot; içine çekilmesini engeller.</li><li>X-Content-Type-Options: nosniff: Tarayıcının, dosya türleri hakkında &quot;tahmin yürütmesini&quot; engeller.</li><li>Permissions-Policy: Sitenin, ihtiyaç duymadığı mikrofon, kamera, lokasyon gibi hassas izinleri kullanmamasını garanti altına alır.</li></ul><blockquote><em>Güvenlik, bir özellik değil, bir zorunluluktur. Bu başlıklar, sitemi ziyaret eden kullanıcıların tarayıcılarını da koruma altına alır. (E tabi bir de başım belaya girsin istemiyorum)</em></blockquote><h3>3. Erişilebilirlik ve Deneyim (UI/UX)</h3><p>Teknoloji, kimseyi dışarıda bırakmamalı. Bir siteyi tasarlarken sadece “güzel görünmesini” değil, “herkes tarafından kullanılabilmesini” hedefledim.</p><ul><li><strong>Karanlık Mod ve Tercihler:</strong> Site, işletim sisteminizin renk tercihine (Dark/Light Mode) otomatik olarak uyum sağlar ve seçiminizi localStorage kullanarak hatırlar. (Ben Batman’im)</li><li><strong>Hareket Azaltma:</strong> Animasyonları severim, ancak prefers-reduced-motion desteği ekledim. Eğer bir kullanıcı sistem ayarlarından &quot;hareketi azalt&quot; seçeneğini işaretlediyse, tüm karmaşık animasyonlar durur. Bu, vestibüler bozuklukları olan kullanıcılar için kritik bir özelliktir.</li><li><strong>Kör Kılavuz (Ekran Okuyucu):</strong> Tüm interaktif elementler (butonlar, linkler) doğru ARIA labels ve roles ile donatıldı. Görme engelli bir kullanıcı, ekran okuyucusuyla sitemde kaybolmadan gezinebilir.</li><li><strong>Sadece Fare Değil:</strong> Siteyi baştan sona sadece klavye (Tab, Enter, Space) kullanarak gezebilirsiniz. Odaklanılan öğeler (focus states) net bir şekilde bellidir.</li></ul><h3>4. O “Ekstra” Dokunuşlar (SEO ve PWA)</h3><p>Bir evi “yuva” yapan detaylardır. Bu projede de o detaylara çok zaman harcadım:</p><ul><li><strong>SEO (Arama Motoru Optimizasyonu):</strong> Sitemin Google’da doğru bulunması için sitemap.xml ve robots.txt oluşturdum. Sosyal medyada paylaşıldığında güzel görünmesi için <strong>Open Graph</strong> etiketleri ve arama motorlarına &quot;Ben kimim?&quot; sorusunu net cevaplamak için <strong>JSON-LD Schema</strong> (Person, Organization) yapılarını ekledim.</li><li><strong>PWA (Progressive Web App):</strong> Bu site artık “kurulabilir” bir uygulama. Service Worker sayesinde çevrimdışı (offline) olduğunuzda bile siteye erişebilirsiniz.</li></ul><h3>Neden Bu Kadar Detay?</h3><p>Çünkü iyi kodun sadece “çalışan” kod olmadığına inanıyorum.</p><blockquote><em>İyi kod; güvenli, temiz, iyi yapılandırılmış, yorum satırları olmadan bile anlaşılabilen ve en önemlisi </em>kullanışlı<em> olandır.</em></blockquote><p>Bu portfolyo sitesi, benim bu felsefeyle neler yapabileceğimin bir göstergesi. Sadece bitmiş projelerimi sergilediğim bir vitrin değil, aynı zamanda kodlama tutkumu ve detaylara verdiğim önemi gösteren bir eser.</p><p><em>Ve yapabiliyorum.</em></p><p>Sevgilerimle,</p><p><em>Anıl Bayram</em></p><ul><li><strong>Website:</strong> <a href="https://an1lbayram.github.io/">https://an1lbayram.github.io</a></li><li><strong>GitHub:</strong> <a href="https://www.google.com/search?q=httpsa%3A%2F%2Fgithub.com%2Fan1lbayram">https://github.com/an1lbayram</a></li><li><strong>Proje Linki:</strong> <a href="https://github.com/an1lbayram/an1lbayram.github.io">https://github.com/an1lbayram/an1lbayram.github.io</a></li><li><strong>LinkedIn:</strong> <a href="https://www.google.com/search?q=httpsa%3A%2F%2Fwww.linkedin.com%2Fin%2Fan1lbayram">https://www.linkedin.com/in/an1lbayram</a></li><li><strong>Mail:</strong> <a href="/service/mailto:anilbayram48@gmail.com?subject=%C4%B0%C5%9F%20birli%C4%9Fi%20hakk%C4%B1nda&amp;body=Merhaba%2C%0A%0AProjelerinizi%20%C3%A7ok%20be%C4%9Fendim%2C%20birlikte%20%C3%A7al%C4%B1%C5%9Fmak%20i%C3%A7in%20sab%C4%B1rs%C4%B1zlan%C4%B1yorum!%0A%0ASevgilerimle.">anilbayram48@gmail.com</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MCLdO8mCrPjfkLCwamAMAg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WqJBFboIEw50wILOgfCQYA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d243037ace51" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>