Welcome to our

Cyber Security News Aggregator

.

Cyber Tzar

provide a

cyber security risk management

platform; including automated penetration tests and risk assesments culminating in a "cyber risk score" out of 1,000, just like a credit score.

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

published on 2025-11-04 00:49:01 UTC by Richard Bejtlich
Content:
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



Article: Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude - published about 18 hours ago.

https://taosecurity.blogspot.com/2025/11/creating-linux-application-using.html   
Published: 2025 11 04 00:49:01
Received: 2025 11 04 01:08:40
Feed: TaoSecurity
Source: TaoSecurity
Category: Cyber Security
Topic: Cyber Security
Views: 7

Custom HTML Block

Click to Open Code Editor