{"id":24551,"date":"2025-11-03T20:54:18","date_gmt":"2025-11-03T20:54:18","guid":{"rendered":"http:\/\/localhost\/?p=24551"},"modified":"2025-11-03T20:54:18","modified_gmt":"2025-11-03T20:54:18","slug":"creating-a-linux-application-using-vscodium-cline-openrouter-and-claude","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=24551","title":{"rendered":"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2025-11-04T02:05:12&#8243;,&#8221;description&#8221;:&#8221;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&#8217;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.\\n\\n \\n\\n![](https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEguCCVz3lbVrU6Ct1ejGqTaQgicYRU_e4E6SLCwbHJEHr5In8w5ou-hEdTwOSUu_RE2VOXnnzFwsitCoYmSlRLhvsGeybOx9WbhhLoP6zEikI_E4IRXylyvvVl1RA11ea8rVGwqPGVl4wUSOgjX1PTO5IVTwBBieLXNLwbBn6hyphenhyphenxQfazMlc2-RtRXpkxtSm\/w640-h640\/BejSnap-20251103001.png)\\n\\n  \\n\\nIn June I created an equivalent program on Linux using VSCodium, Cline, OpenRouter, and Claude.\\n\\n \\n\\nI provided this prompt, which I derived from the last project.\\n\\n \\n\\n== \\n\\n \\n\\nCreate a graphical Linux application to take screen captures with the following features:\\n\\n  \\nSquare Region Selection: Enforces a 1:1 aspect ratio during region selection\\n\\n  \\n1:1 Aspect Ratio: Ensures all captures are perfectly square\\n\\n  \\nPNG Output: Saves high-quality images in PNG format\\n\\n  \\nPreview: Shows the captured image before saving\\n\\n  \\nDark Mode by Default: Toggle to light theme if desired\\n\\n  \\nSquare Interface: The application window itself uses a square ratio\\n\\n  \\nDefault Save Location: Set a preferred folder for saving captures\\n\\n  \\nAutomatic File Naming: Uses format \\&#8221;BejCap-YYYYMMDD###\\&#8221; for organized file management  \\n  \\nI prefer C++ with Qt. \\n\\n \\n\\nFor shortcuts use Ctrl+S to Save the current image and Esc to Cancel region selection (when in region selection mode). \\n\\n \\n\\nI do not want to capture to clipboard.\\n\\n \\n\\n== \\n\\n \\n\\nI also supplied these guidelines:\\n\\n \\n\\nAlways test the project at the end to ensure it doesn&#8217;t contain errors.\\n\\n  \\nDon&#8217;t create placeholder code unless you plan to expand on it later.\\n\\n  \\nCode from A to Z rather than just small parts that don&#8217;t fulfill the user&#8217;s needs.\\n\\n  \\nKeep project files between 300-500 lines where possible.\\n\\n  \\nDon&#8217;t duplicate code. Build upon existing implementations.\\n\\n \\n\\n== \\n\\n  \\n\\n\\nI had to install the following to enable the program development:  \\n \\n\\n**sudo apt install build-essential cmake qtbase5-dev qt5-qmake qtbase5-dev-tools  **\\n\\n \\n\\nThe development seemed much faster than my last project, and the result works very well.\\n\\n \\n\\nIf you&#8217;d like to try it on Linux, you can access it here: https:\/\/github.com\/taosecurity\/BejSnap. \\n\\n  \\n  \\n\\n\\n  \\n\\n\\nCopyright 2003-2020 Richard Bejtlich and TaoSecurity (taosecurity.blogspot.com and www.taosecurity.com)&#8221;,&#8221;published&#8221;:&#8221;2025-11-04T00:49:01&#8243;,&#8221;modified&#8221;:&#8221;2025-11-04T00:49:32&#8243;,&#8221;type&#8221;:&#8221;taosecurity&#8221;,&#8221;title&#8221;:&#8221;Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87&#8243;,&#8221;bulletinFamily&#8221;:&#8221;blog&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;&#8221;,&#8221;sourceHref&#8221;:&#8221;&#8221;,&#8221;cvss&#8221;:{&#8220;score&#8221;:0,&#8221;severity&#8221;:&#8221;NONE&#8221;,&#8221;vector&#8221;:&#8221;NONE&#8221;,&#8221;version&#8221;:&#8221;NONE&#8221;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/taosecurity.blogspot.com\/2025\/11\/creating-linux-application-using.html&#8221;,&#8221;category_name&#8221;:&#8221;News&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2025-11-04T02:05:12&#8243;,&#8221;description&#8221;:&#8221;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&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[6,8,12,13,33,7,174,11,5],"class_list":["post-24551","post","type-post","status-publish","format-standard","hentry","category-category_news","tag-cve","tag-cvss","tag-exploit","tag-news","tag-none","tag-security","tag-taosecurity","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87 - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=24551\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87 - zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2025-11-04T02:05:12&#8243;,&#8221;description&#8221;:&#8221;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...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=24551\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-03T20:54:18+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=24551#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=24551\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87\",\"datePublished\":\"2025-11-03T20:54:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=24551\"},\"wordCount\":577,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"exploit\",\"news\",\"NONE\",\"Security\",\"taosecurity\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_news\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=24551#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=24551\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=24551\",\"name\":\"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87 - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2025-11-03T20:54:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=24551#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=24551\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=24551#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87 - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=24551","og_locale":"en_US","og_type":"article","og_title":"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87 - zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2025-11-04T02:05:12&#8243;,&#8221;description&#8221;:&#8221;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...","og_url":"https:\/\/zero.redgem.net\/?p=24551","og_site_name":"zero redgem","article_published_time":"2025-11-03T20:54:18+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=24551#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=24551"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87","datePublished":"2025-11-03T20:54:18+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=24551"},"wordCount":577,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","exploit","news","NONE","Security","taosecurity","tapic","Vulnerability"],"articleSection":["category_news"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=24551#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=24551","url":"https:\/\/zero.redgem.net\/?p=24551","name":"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87 - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2025-11-03T20:54:18+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=24551#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=24551"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=24551#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"Creating a Linux Application Using VSCodium, Cline, OpenRouter, and Claude_TAOSECURITY:8D4D967BDCCDEFAF9F1156756E796F87"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/24551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24551"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/24551\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}