All Projects
CodeDusk preview
Chrome ExtensionLive

CodeDusk

QR codes with style, right from your browser

Custom QR StylesGradient ColorsAnimated QR ExportCamera & Screenshot ScanBatch Export8 Languages
Visit Live Site

Problem

Most QR code generators are basic web tools that produce plain black-and-white codes with no customization. Developers and marketers who need branded QR codes with custom colors, gradients, or logos have to use paid services or desktop software. There is no lightweight, free solution that lives right in the browser and offers advanced styling, animations, and multi-format export, all without leaving the current tab.

Solution

CodeDusk is a Manifest V3 Chrome extension that brings a full-featured QR studio into the browser toolbar. It offers three visual styles (square, rounded, dots), gradient colors with five direction modes, logo overlays, and five animation types with GIF and Lottie export. The scanner supports camera, image upload, and screenshot-based QR reading with advanced image processing. A batch mode generates multiple QR codes at once and exports them as a ZIP. The entire UI is available in 8 languages.

Key Features(16)

Custom QR Styles

Choose square, rounded or dot modules and a size preset, then apply a color preset (Classic, Dusk, Ocean, Forest, Midnight) or a random look.

Gradient Colors

Blend two colors with horizontal, vertical, diagonal, radial or custom-angle gradients, with separate foreground and background colors.

Logo Overlay

Upload any image to place your logo in the center of the QR code, and remove it with one click.

Animated QR Export

Add Build Up, Color Wave, Pulse or Fade In animations with a live preview, then export as an animated GIF or Lottie JSON.

PNG & SVG Downloads

Save static QR codes as a PNG image or a scalable SVG from a simple format menu.

Copy to Clipboard

Copy the finished QR code straight to the clipboard as an image, ready to paste anywhere.

Challenges

The primary challenge was building a reliable QR scanner that works across diverse image conditions. The solution was implementing a multi-pass decoding pipeline with binarization at multiple thresholds, color inversion for light-on-dark codes, and resolution upscaling for small images. Another challenge was the animation system: rendering five distinct animation types on canvas while supporting gradient colors, logo overlays, and export to both GIF and Lottie formats required careful architecture.

Learnings

Building CodeDusk deepened expertise in the Chrome Extension Manifest V3 architecture, particularly offscreen documents for screenshot processing and service worker lifecycle management. The canvas rendering pipeline taught valuable lessons about performance optimization with requestAnimationFrame and deterministic seeding for consistent animations. The project also reinforced the importance of progressive enhancement: features like clipboard copy and screenshot scanning need graceful fallbacks for different browser permission states.