suphicakir c1c57c4f85 feat: add anonymous view counter with most-read sidebar
- node:sqlite storage in $DATA_DIR/views.db (no native deps)
- POST /api/views/<slug>/ counts once per visitor per 24h via
  daily-salted hash; IPs are never stored, bots are skipped
- GET /api/views/top/ feeds the sidebar's featured list, falling back
  to frontmatter-featured and latest posts when unavailable

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 01:15:12 +03:00
2026-10-16 00:06:53 +03:00
2026-10-16 00:06:53 +03:00
2026-10-16 00:06:53 +03:00
2026-10-16 00:06:53 +03:00

ta1sph.info

Suphi Çakır (TA1SPH) — amatör telsizcilik blog & portfolyo sitesi.

  • Stack: Astro 7 · TailwindCSS 4 · TypeScript (strict)
  • Çıktı: statik site + @astrojs/node (yalnızca görüntülenme sayacı API'si dinamik)
  • Yayın: Docker → Dokploy (HomeServer Atlas) → https://ta1sph.info

Komutlar

Komut Açıklama
npm install Bağımlılıkları kurar
npm run dev Geliştirme sunucusu (localhost:4321)
npm run check astro check (tip ve şablon kontrolü)
npm run build Üretim derlemesi + Pagefind arama indeksi
npm run preview Derlenmiş siteyi yerelde çalıştırır
npm run format Prettier ile biçimlendirir
npm run new:post -- "Başlık" src/content/blog/<slug>/index.md taslağı oluşturur

Lisans

Kod MIT, içerik CC BY-SA 4.0.

S
Description
Kişisel Portfolio & Blog Sitem.
Readme MIT 1.2 MiB
Languages
Astro 60.3%
TypeScript 21%
JavaScript 11.4%
CSS 6.5%
Dockerfile 0.8%