These days, the days are short. But they are very meaningful.
Vibe Coding: Online Gallery#
Since I bought a camera for front-end work, I've had a greater desire to go out and take pictures everywhere. Over time, I wanted to create a place to showcase some completed works. Many experts have their own websites for display, which inspired me to create one as well.
This development was mostly done using claude-4-sonnet. It took a day to carve out the template.
https://object.innei.in/bed/2025/0603_1748957373899.png
https://object.innei.in/bed/2025/0603_1748957391214.png
This is a prototype.
Later, I started researching high-performance solutions for image previews and guided AI to write a WebGL image viewer based on the LOD solution. Even when previewing a 100-megapixel image taken with a Hasselblad X2D, there is no lag during zooming and loading.
I integrated Live Photo playback, and through this, I learned about the WebCodecs API, using it to transcode mov videos for playback.
I also integrated the parsing of HEIC/HIF files, using libheic's wasm for the conversion.
Everything I did above was partly due to laziness; I could directly upload the Live Photo or HIF files to S3 without needing my own format conversion; and partly to learn new things through a project.
Today I optimized this project further, using Cluster mode to process multiple images simultaneously, saving about 3 times the time. All of this was based on the restructuring and optimization guided by AI.
Project address:
Photography enthusiasts in need can also give it a try.
My online gallery: https://gallery.innei.in
In the future, there are more prospects for the project, such as dynamic features, etc.
Friends Visiting#
During the Dragon Boat Festival holiday, a friend from Nanjing came to visit for a few days. We took many photos together and visited nearby attractions.
We grouped up for coding and made a meal together.
Co-building the Gallery with @MaxtuneLee, as well as the future photography toolchain.
This article was synchronized and updated to xLog by Mix Space. The original link is https://innei.in/notes/193