Skip to content
All projects
Web & Full StackPrivateMajor project

Mavi Bahçem: A Static Next.js Blog with a PHP/MySQL Admin Panel

mavibahcem.com: my personal blog about anime, manga, books, Studio Ghibli and engineering. The frontend is a fully static Next.js site; reader cards, comments, the Garden Board, the guestbook, the newsletter, Discord announcements and the admin panel run on a lightweight PHP/MySQL API on shared hosting.

The Mavi Bahçem blog on a laptop and a phone

Next.js · PHP · MySQL

A personal blog on anime, books and engineering: a static front end and a light admin panel.

Mavi Bahçem home page: a sky-themed interface with a profile card and a list of posts

Performance & metrics

  • Content is served as static HTML, so readers never wait on the database
  • No paid CMS service; shared hosting only
  • WebP images, with separate small versions for cards generated before the build

Why I built it

I love writing, and I wanted my posts to belong to my own garden rather than a platform's algorithm. Off-the-shelf CMSs brought unnecessary runtime weight and headless CMS services a monthly bill. So I built a setup that combines the speed of a static site with the low cost of shared hosting. The design follows the name: a night sky, clouds and a small paper plane, inspired by The Wind Rises.

Architecture & decisions

Next.js 16 App Router produces fully static HTML with output: 'export'; all posts are fetched from the PHP API at build time, and the build stops if the API is unreachable so an empty site is never published. The backend is framework-free PHP with PDO and MySQL; endpoints stay thin and the business logic lives in per-domain modules (posts, comments, readers, board, subscribers, Discord, deploy). The admin panel and reader cards are protected by two kinds of JWT signed with separate secrets, and public endpoints are rate-limited with a honeypot. Adding or updating a post in the panel fires GitHub Actions through repository_dispatch; the workflow uploads the static site to Hostinger with rsync, then sends any not-yet-announced posts once to a Discord webhook and to newsletter subscribers, and reports new URLs to search engines via IndexNow.

Key features

  • A home feed with category and year filters and search, synced with the address bar
  • Reader cards: sign-up with email verification, a public profile, favourites and reading history; post comments are tied to the card
  • The Garden Board: a community board where readers leave post requests, thanks, suggestions and chat notes, and give hearts
  • A moderated guestbook whose notes open like letters, are typed out by a typewriter and carry a chosen stamp
  • Discord integration: new posts are announced automatically via webhook, with live member counts on the community page
  • A newsletter sent over SMTP: a welcome mail, new post announcements and one-click unsubscribe
  • A view counter that counts once per session after the reader stays 8 seconds
  • A JWT-protected panel for posts, categories, comments, readers, the board, subscribers and messages, which can also send newsletter letters and Discord notes
  • RSS, sitemap, llms.txt and per-post SEO fields; thumbnails generated before each build

Screens

  • A post page: "Why Should an Engineer Write Essays?"
    A post page: "Why Should an Engineer Write Essays?"
  • The guestbook: letters laid out as envelopes, pinned and answered by the gardener
    The guestbook: letters laid out as envelopes, pinned and answered by the gardener
  • The community page: an invite to the Discord server and sections describing what happens there
    The community page: an invite to the Discord server and sections describing what happens there

Technical review

Mavi Bahçem is both an engineering experiment and a personal space. On the technical side my favourite part is the publishing loop: save a post in the panel and see it live as a static page a few minutes later. In the interface I worked on small details that make reading easier: a sidebar that stays put, a reading progress bar and stars that twinkle only in dark mode.

Web & Full Stack

Private

Major project

MAN-AR Canada: B2B Corporate Sourcing Platform

A high-performance, multilingual corporate platform developed for a Canadian B2B industrial sourcing firm. Engineered with Next.js and optimized with Tailwind CSS v4, featuring a secure PHP-based communication bridge.

  • TypeScript
  • PHP
  • Next.js 15
  • +5

Web & Full Stack

Major project

Business Website Builder: A Site Configurator for 16 Industries in 5 Design Languages with Vue 3, Plus a WordPress Kit

The promo site and configurator I use when offering business websites to companies. Each of 16 industries, from dental clinics and law firms to construction companies and hotels, and 12 business types, from hairdressers to Montessori schools, has a sample site you can browse like a real one, and the same site can be drawn in five different design languages. The owner picks an industry and a design language, prepares pages, plugins and colours in the builder, edits copy in place in a WordPress-style panel, and sends the result to me as a single link, a PDF or a WhatsApp message; when I open the link, the site they asked for opens full screen. If the company wants WordPress, the same structure is set up as an independent WordPress site with a block theme and plugin I wrote.

  • TypeScript
  • CSS
  • PHP
  • +12

Web & Full Stack

Private

WordPress DOM Override & Tailwind v4 Injector

An aggressive architectural override for WordPress that strips native Gutenberg layout constraints at runtime, resetting CSS specificity and injecting the Tailwind v4 engine across the frontend, admin panel, and block editor.

  • PHP
  • JavaScript
  • CSS
  • +5

Need something similar?

I can build a system like this for you, too.

Describe your project in a few sentences, and we'll work out the right approach and an estimated scope together.