YACReader hacks via Vibe Coding
Vibe coding actually works for me today.
Added two customisations to the comic viewer YACReader on osx:
- Make it to not ALWAYS fullscreen / maximise window on start up
- Add an alternative zoom in key shortcut: can use both “+” or “=” now. (Submitted a PR for this one)
The source code (thanks for open source, otherwise I cannot do anything) is written in C++ / QT which I never work with before.
After I cloned the repo, asked perplexity to generate a research on “How to build YACReader from source for mac osx”. Except a small issue (I got a “ld: framework ‘AGL’ not found” error due to that osx Tahoe removedAGL (Apple Graphics Library). It works after I upgraded to the latest QT 6), compiling to a mac app works which is a good start.
Get Windix Feng’s stories in your inbox
Join Medium for free to get updates from this writer.
I open the source code with vscode and start to ask github copilot for the two questions above. It works pretty well. It even tries to do make clean and recompiling the code for me automatically :) (which is too much).
When I am not too sure what’s the name for QT constant of “=” key, github copilot points me to the right documentation :) (I also guessed right! Qt::Key_Equal )
My customisation is available here: https://github.com/windix/yacreader
Some notes for future reference:
After cloning the source code, need to download 7-zip version 23.01 source code, extract and rename the directory name to lib7zip and placed it under compressed_archive . (This step is mentioned here)
Don’t know why my QT qmake points to /opt/anaconda3/bin/qmake , to use the latest QT6 to fix that missing AGL issue, need to invoke this way:
/opt/homebrew/bin/qmake CONFIG+=7zipTo just compile YACReader itself (not YACReaderLibraray / YACReaderLibraryServer) to save some time:
make sub-YACReader





