Hossain's Dev Bytes RSS Feed
A personal blog exploring technical and non-technical topics, open-source projects, and more.
Featured
Adding a Free AI Assistant to Your Blog with Cloudflare Workers AI
How I added an AI post summarizer and Q&A assistant to my blog using Cloudflare Workers AI - and used AI Gateway to keep it mostly free.
How to Deploy GitHub’s Spark App to Cloudflare Workers
GitHub’s Spark is a fantastic starting point for building modern React applications that use spark-template as a starting point. Once you…
Latest
[6/30]Zero-Flicker Syntax Highlighting in Jetpack Compose: How Snapshot Span Preservation Works
A deep dive into the snapshot span preservation algorithm in compose-highlight that enables zero-flicker live code editing and streaming LLM responses in Jetpack Compose.
Extending Syntax Highlighting Library to Support Streaming Responses from LLMs
Extending the Compose Highlight library to support real-time streaming LLM responses with snapshot span preservation and newline-based highlight triggers.
Better Kotlin syntax highlighting on Zensical with Shiki
I replaced default Kotlin highlighting on my Zensical site with Shiki for cleaner tokens, better modern syntax support, and smooth light/dark theming.
Syntax Highlighting on Android - Highlight.js as a Native Compose Engine
A source code syntax highlighting library for Jetpack compose that leverages existing Highlight.js in a hidden WebView and converts the output to native AnnotatedString for real text selection and accessibility.
Syntax Highlighting on Android - Bringing Shiki Engine to Compose
How I explored Shiki-quality syntax highlighting in Jetpack Compose - server-driven via Cloudflare Workers and on-device via TextMate grammars, no WebView needed.
Moving away from Medium to self-hosted blogging for good
An adventure to setup my own blogging site using Astro and Cloudflare Workers.