<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Farras El-Fahd</title>
    <description>The latest articles on Forem by Farras El-Fahd (@frsfahd).</description>
    <link>https://forem.com/frsfahd</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1775017%2F272e2c5a-662d-4dd2-ae74-88556c1133a6.jpeg</url>
      <title>Forem: Farras El-Fahd</title>
      <link>https://forem.com/frsfahd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/frsfahd"/>
    <language>en</language>
    <item>
      <title>Dockergen</title>
      <dc:creator>Farras El-Fahd</dc:creator>
      <pubDate>Sun, 15 Feb 2026 03:46:14 +0000</pubDate>
      <link>https://forem.com/frsfahd/dockergen-24e3</link>
      <guid>https://forem.com/frsfahd/dockergen-24e3</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github-2026-01-21"&gt;GitHub Copilot CLI Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Dockergen, a CLI tool that generates Dockerfile/Containerfile templates in seconds. It started as a way to remove repetitive setup work for Node.js and Python projects. The MVP focuses on speed and correctness: an interactive generator and an auto-detection mode that inspects a project to pick sensible defaults.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/frsfahd/dockergen" rel="noopener noreferrer"&gt;https://github.com/frsfahd/dockergen&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Quick demo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dockergen generate
dockergen autogen
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Both commands output a production-ready multi-stage Dockerfile with defaults tuned to the detected runtime.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;generate&lt;/code&gt; is interactive: it asks you questions and uses your answers (or flags) to build the Dockerfile.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;autogen&lt;/code&gt; is automatic: it inspects the current project (package.json, requirements, lockfiles, version files) to infer language/framework, ports, start/build commands, and then generates the Dockerfile with those defaults.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fng6og7ezgthad0hggbq0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fng6og7ezgthad0hggbq0.png" alt="generate command" width="711" height="280"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8vp2t7vtfdv2lgw2e5e8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8vp2t7vtfdv2lgw2e5e8.png" alt="autogen command" width="731" height="162"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience with GitHub Copilot CLI
&lt;/h2&gt;

&lt;p&gt;Copilot CLI helped me iterate fast. I used it to scaffold the Cobra-based commands, design the generator template flow, and build a lightweight auto-detection module. It was especially helpful for wiring the CLI flags and keeping the implementation focused on MVP scope while still following best practices.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>cli</category>
      <category>githubcopilot</category>
    </item>
  </channel>
</rss>
