Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude

In March I created a Windows Application Using Visual Studio Code, Cline, OpenRouter, and Claude.
This was a program that created square screen captures. The user
doesn’t need to manually ensure the dimensions are a square.

Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude

Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude

In March I created a Windows Application Using Visual Studio Code, Cline, OpenRouter, and Claude.
This was a program that created square screen captures. The user
doesn’t need to manually ensure the dimensions are a square. The program
makes the window grow and shrink while keeping the length equal to the
height.
 

  

In June I created an equivalent program on Linux using VSCodium, Cline, OpenRouter, and Claude.
 
I provided this prompt, which I derived from the last project.
 
== 
 
Create a graphical Linux application to take screen captures with the following features:

Square Region Selection: Enforces a 1:1 aspect ratio during region selection

1:1 Aspect Ratio: Ensures all captures are perfectly square

PNG Output: Saves high-quality images in PNG format

Preview: Shows the captured image before saving

Dark Mode by Default: Toggle to light theme if desired

Square Interface: The application window itself uses a square ratio

Default Save Location: Set a preferred folder for saving captures

Automatic File Naming: Uses format “BejCap-YYYYMMDD###” for organized file management

I prefer C++ with Qt. 

 
For shortcuts use Ctrl+S to Save the current image and Esc to Cancel region selection (when in region selection mode). 
 
I do not want to capture to clipboard.
 
== 
 
I also supplied these guidelines:
 
Always test the project at the end to ensure it doesn’t contain errors.

Don’t create placeholder code unless you plan to expand on it later.

Code from A to Z rather than just small parts that don’t fulfill the user’s needs.

Keep project files between 300-500 lines where possible.

Don’t duplicate code. Build upon existing implementations.
 
== 

I had to install the following to enable the program development:
 
sudo apt install build-essential cmake qtbase5-dev qt5-qmake qtbase5-dev-tools 
 
The development seemed much faster than my last project, and the result works very well.
 
If you’d like to try it on Linux, you can access it here: https://github.com/taosecurity/BejSnap

About Author

Subscribe To InfoSec Today News

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

World Wide Crypto will use the information you provide on this form to be in touch with you and to provide updates and marketing.