· 14 min read
Reading bank notifications to log expenses automatically, on Android and iOS
How Masareef turns bank alerts into transactions: the Android notification listener, what iOS allows instead, and the capture rules real banks forced on it.
Notes by Mohamed Gado, a senior software engineer, on Next.js, technical SEO and CSS: real bugs from shipped sites, what caused them and the fix.
· 14 min read
How Masareef turns bank alerts into transactions: the Android notification listener, what iOS allows instead, and the capture rules real banks forced on it.
· 3 min read
My Next.js sitemap lastmod stayed at an old date after I edited pages. The fix was to read each file's last real edit from git before pushing.
· 4 min read
My own Lighthouse and PageSpeed runs lowered a route's Vercel Speed Insights score from 90+ to 77. A beforeSend filter on the user agent fixed it.
· 5 min read
My 2023 Clerk demo guarded every route from authMiddleware. What replaced it in Next.js 16: a bare clerkMiddleware() in proxy.ts and auth.protect() per page.
· 4 min read
Expired subscribers kept Pro forever and a failed payment cut access at once. Which Lemon Squeezy statuses grant access, and the one function that decides it.
· 3 min read
Search Console listed my Next.js opengraph-image routes as Crawled – currently not indexed. Why Google fetches them, and what noindex does and doesn't do.
· 5 min read
My /projects page shipped 854 KB of HTML. Most of it was repeats: one SVG path 98 times, JSON-LD copies of other pages, row classes. How I found and cut each.
· 4 min read
phBot plugins are one Python file in the Plugins folder. The hooks phBot calls, the API calls my ten plugins use, and a small plugin you can run.
· 4 min read
xNotify sends phBot events to Telegram and Discord. How it stops five clients sending the same alert five times, and why Discord returned 403 at first.
· 6 min read
Every xControl chat command for phBot, with arguments and defaults from the source: START, FOLLOW, TP, EQUIP, CAPE, REVERSE and walk-script commands.
· 5 min read
My Next.js headers() set HSTS with includeSubDomains and preload, but Vercel's apex-to-www domain redirect still sent max-age only. Here is the fix.
· 6 min read
My screenshots looked pixelated though the files were sharp. A 0.9deg rotate under will-change: transform was the cause. The CSS before and after.
· 7 min read
50 of my pages sat in Discovered – currently not indexed. Here is what the status means, why Google skipped them, and the fixes that worked.
· 4 min read
Next.js merges metadata shallowly, so a page that sets openGraph drops the layout's og:site_name, og:locale and twitter handles. How I found it and fixed it.
· 4 min read
Unknown slugs on my Next.js App Router site returned HTTP 200 with index and noindex tags. loading.tsx was the cause, dynamicParams = false the fix.
· 5 min read
Minified React error #418 on every page load came from reading window.matchMedia in a useState initializer. useSyncExternalStore fixed it.