Bastien Sulyan
I design and build static web software, client-side file utilities, browser extensions, and offline mobile applications. My work focuses on running binary document, media, and image pipelines directly inside the browser using Web Workers, WebAssembly, and native Web APIs so user files do not have to pass through remote servers.
I run Ulysan, an independent web and software studio in Strasbourg, and build Sunasty, a suite of 233 browser-side tools across 32 languages for PDF, image, audio, video, privacy, date, calculator, and developer workflows.
Technical Notes
Implementation notes and reference code drawn from building client-side document, image, color, audio, network, and combinatorial utilities.
-
Deterministic JSON Schema Inference & Multi-Language Type Generation in the Browser
Two-stage structural AST compiler separating optional and nullable fields across heterogeneous arrays to emit TypeScript, Zod, JSON Schema 2020-12, Go structs, Rust Serde, and Pydantic v2 locally.
-
Zero-WASM SQLite3 & Apache Parquet Binary Parsing in Browser Memory
Pure TypeScript TypedArray decoding of SQLite3 100-byte headers, B-tree pages, and varints alongside Apache Parquet
PAR1Thrift Compact Protocol footers and selective column projection. -
Whitelist HAR Sanitization in the Browser: Zero-Copy Redaction Without Secret Leaks
Bounded structural JSON parsing, forensic location inventory, domain-filtered HAR 1.2 whitelist reconstruction, and timing-preserving waterfall exports (
har-clean/@sunasty/har-sanitizer). -
Swiss Tournament Tiebreakers and Binomial Cut Math in JavaScript
Expected win-loss field convolution with draws, cross-seeded playoff bracket generation, and deterministic Monte-Carlo OMW%/OOMW%/Σr² tiebreaker odds (
swiss-math/@sunasty/tournament-math). -
Pure JavaScript Code 128B/C, EAN-13, and ITF-14 Vector SVG Barcode Encoding
Automatic numeric Subset C packing, Mod-10 and Mod-103 checksum calculation, run-length bar segment merging, and standalone SVG generation without DOM APIs (
barcode128-svg/@sunasty/code128-svg). -
Processing PDF Files in the Browser Without a Backend
Working with PDF cross-reference tables,
ArrayBuffertransfers to Web Workers, page merging, stream recompression, and inspecting/Infodictionaries and XMP packets locally. -
Inspecting and Stripping EXIF, GPS, and C2PA Metadata in the Browser
Parsing JPEG markers (
APP1,APP11), reading TIFF IFD tags and JUMBFc2paprovenance boxes, and stripping metadata without full pixel recompression. -
Decoding Small and Low-Contrast QR Codes on HTML5 Canvas
Why single-pass
jsQRscans fail on full-page screenshots, overlapping 3×3 spatial tiling, local thresholding, and RFC 6238 TOTP generation withSubtleCrypto. -
sRGB, OKLCH, and WCAG 2.1 Contrast Calculations in Pure JavaScript
Gamma linearization, Björn Ottosson's Oklab matrices, relative luminance ratios, and binary search over perceptual lightness
Lto meet WCAG AA/AAA targets while preserving hue. -
Client-Side Audio Extraction and Podcast Cleanup in the Browser
Demuxing MP4 containers to MP3 or WAV in WebAssembly, reading ID3v2 frames, stem separation constraints in memory, and local loudness normalization for spoken-word recordings.
Projects & Open-Source Tools
Sunasty — 233 Browser-Side File & Dev Tools
233 browser utilities across 32 languages running locally on the user's device: PDF tools (merge, compress, metadata, deskew, TCG proxy print), image tools (EXIF inspector, C2PA reader, compression), audio and video utilities, privacy tools (HAR sanitizer), developer tools (Parquet & SQLite viewers, Barcode generator), and Swiss tournament math. Documentation lives on Read the Docs, articles on DEV Community, and verified listings on AlternativeTo and SaaSHub.
@sunasty/* & Neutral Open-Source JavaScript / TypeScript Libraries (npm & JSR, MIT)
Five zero-dependency engines extracted from Sunasty tools and published on npm and JSR:
har-clean (JSR · GitHub),
swiss-math (JSR · GitHub),
barcode128-svg (JSR · GitHub),
qr-payload-parser (JSR · GitHub), and
oklch-wcag (JSR · PyPI · Crates.io · docs.rs · pkg.go.dev · Packagist · pub.dev · GitHub).
Sunasty QR Scanner & Sunasty Color Picker (Browser Extensions, MIT)
Zero-tracking Manifest V3 extensions: Sunasty QR Code Scanner & Generator on Chrome Web Store, Firefox Add-ons (AMO) (FR), and Microsoft Edge Add-ons; companion Sunasty Color Picker & OKLCH Eyedropper on Microsoft Edge Add-ons for Sunasty Web Color Picker and WCAG Contrast Checker.
Ulysan — Web Studio & Offline Mobile Games
Independent software studio based in Strasbourg building bespoke static web sites, custom business web applications, and ad-respectful offline mobile games such as Klondike Solitaire for Android.