Using Chrome AI to Summarize Comic Books

A few weeks back, I blogged about analyzing comic books with gen ai, and honestly, it worked really darn well. I extracted the pages with Python, and send them to Google Gemini to create the summary. I was naturally curious to see if this could be done entirely on device, using Chrome’s AI support. Here’s what I found. First, a reminder – a few days ago I updated my web-based comic book reader and described that process. The code I’m sharing today is built upon that first application, so if you missed that post, I’d strongly suggest reading it first. (And if you don’t want to miss any of my posts, don’t forget to subscribe!). How It Works Alright –... more →
Posted in: JavaScript

Building a Web Based Comic Book Reader

Ok, so I know I’ve been spending way too much time lately talking about comic books, but I’ve been reading them for roughly 80% of my life now so they’re just a natural part of my life. Now, my best friend Todd Sharp told me this crazy lie that he’s never read a comic book before, but surely that’s a lie. Surely. Earlier this week, I took a look at parsing electronic comic books and sending them to GenAI as a way to get summaries of stories. That was a fun experiment and it actually worked quite well. I thought I’d take a stab at trying a similar approach with Chrome’s Built-in AI support as well when I discovered that… wait… I don’t... more →
Posted in: JavaScript

Connecting Comic Books to Generative AI

I’ve blogged quite a few times about electronic comic books (most recently earlier this month when I demonstrated a comic book reader built in BoxLang). I’ve been reading comics pretty much my entire life and enjoy building development projects that work with the various file types associated with comics. As a reminder, these typically fall into two categories: cbr – A RAR file of scanned images cbz – A zip file of scanned images This week I was wondering – given that GenAI tools are pretty good at understanding images – how well could a GenAI system take a set of images, in order, and understand the context of the story behind them. I decided to give it... more →
Posted in: JavaScript

Building a Comic Book Reader in BoxLang

I’ve been a comic book reader for just about the same amount of time as I’ve been writing code. Any computer using comic book reader (and there’s probably quite a few) will know that electronic versions of comics let you read comics on your devices. These comics typically come in one of two formats, CBR and CBZ, which are literally just RAR and ZIP files, nothing more. Over the years, I’ve had fun building my own web-based readers for this format, with my last one from a bit over three years ago, "Reading Comic Books in the Jamstack". I thought it would be fun to tackle this in BoxLang and see what worked well and what proved difficult. I’ve got a complete... more →
Posted in: JavaScript