<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Prudhvi Charan on Medium]]></title>
        <description><![CDATA[Stories by Prudhvi Charan on Medium]]></description>
        <link>https://medium.com/@bunnycharanprudhvi?source=rss-1bc7d9394f1f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BfXKE4j41p2WNmrJ</url>
            <title>Stories by Prudhvi Charan on Medium</title>
            <link>https://medium.com/@bunnycharanprudhvi?source=rss-1bc7d9394f1f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 01:30:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bunnycharanprudhvi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Build an AI-Powered GitHub Profile README in Minutes with GitFolio]]></title>
            <link>https://medium.com/@bunnycharanprudhvi/how-to-build-a-standout-github-profile-readme-in-minutes-with-gitfolio-7695f399af45?source=rss-1bc7d9394f1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7695f399af45</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Prudhvi Charan]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 04:07:05 GMT</pubDate>
            <atom:updated>2026-09-21T04:46:00.927Z</atom:updated>
            <content:encoded><![CDATA[<p>Your GitHub repositories show what you have built. But they do not always explain what you are good at, which projects matter most, or what kind of work you want to do next.</p><p>A GitHub Profile README can tell that story — but writing the content, selecting projects, arranging badges, and testing Markdown can take hours.</p><p>That is why I built <strong>GitFolio</strong>: a free, open-source GitHub Profile README builder that turns your public GitHub information into a personalized and editable profile.</p><p>You can create everything manually, or use your own Google Gemini API key to generate a first draft based on your repositories. You stay in control of the final content and decide what gets published.</p><blockquote><strong><em>Try GitFolio:</em></strong><em> </em><a href="https://gitfolio.prudhvicharan.com/"><em>https://gitfolio.prudhvicharan.com</em></a></blockquote><blockquote><strong><em>View the source code:</em></strong><em> </em><a href="https://github.com/Prudhvicharan/gitfolio"><em>https://github.com/Prudhvicharan/gitfolio</em></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VkaubCrpJMktHqe6Sntmlg.png" /></figure><h3>What You Can Create with GitFolio</h3><p>GitFolio helps you:</p><ul><li>Import your public GitHub profile and repositories</li><li>Select the projects that best represent your work</li><li>Choose from Editorial, Studio, and Aurora visual styles</li><li>Generate personalized content with Gemini AI</li><li>Edit every section before publishing</li><li>Add statistics and contribution visuals</li><li>Preview the result and export the complete Markdown</li></ul><p>No GitHub login or personal access token is required. GitFolio generates the files and instructions; you decide what to commit to your profile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H1Vo19RsPzaMF7cE7aRAEg.png" /></figure><h3>Step 1: Import Your GitHub Profile</h3><p>Open <a href="https://gitfolio.prudhvicharan.com/">GitFolio</a> and select <strong>Generate my profile</strong>.</p><p>Enter your GitHub username. You can also add a job title, portfolio, LinkedIn profile, email, and other optional links.</p><p>Select <strong>Import profile</strong>. GitFolio retrieves your public profile and repository information directly from GitHub.</p><p>If you only want to explore the builder, select <strong>Explore a demo</strong> instead. It loads a fictional profile so you can test the designs without entering a username.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1c8LZEafun0VT148BcjCmA.png" /></figure><h3>Step 2: Choose Projects That Tell Your Story</h3><p>GitFolio displays your public repositories and lets you select up to eight projects.</p><p>Do not choose projects only because they have the most stars. Choose a small group that demonstrates:</p><ul><li>The skills you want to be known for</li><li>The kinds of problems you can solve</li><li>Recent or actively maintained work</li><li>The type of role or opportunity you want next</li></ul><p>Four strong and clearly explained projects are usually more useful than a long list of everything you have built.</p><p>Before importing your profile, improve the names and descriptions of your important repositories. Clear public metadata gives both readers and AI better information to work with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*9OCpy2rMekQMCA822MFMmw.png" /></figure><h3>Step 3: Choose a Visual Direction</h3><p>GitFolio provides three visual directions:</p><ul><li><strong>Editorial:</strong> A clean, typography-led profile with minimal decoration</li><li><strong>Studio:</strong> A balanced portfolio layout with project stories and useful metrics</li><li><strong>Aurora:</strong> A more expressive design with animated and visual elements</li></ul><p>You can then adjust colors, headers, skills, statistics, social links, and individual sections.</p><p>Use only the elements that support your professional story. A focused profile with a good introduction and four strong projects is usually better than a very long profile filled with unrelated badges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*lX2nK1WdE0gglRTy03WbVg.png" /></figure><h3>Step 4: Generate Personalized Content with Gemini</h3><p>This is where GitFolio becomes more than a visual README builder.</p><p>After you select your projects, GitFolio can use Gemini to draft your bio, tagline, project stories, goals, focus areas, and personal notes from your public GitHub information.</p><p>AI is optional. The complete manual editor remains available without an API key.</p><h3>How to Get a Gemini API Key</h3><ol><li>Open <a href="https://aistudio.google.com/">Google AI Studio</a>.</li><li>Sign in with your Google account.</li><li>Open the <strong>API Keys</strong> page.</li><li>Select <strong>Create API key</strong>.</li><li>Choose or create a Google Cloud project if prompted.</li><li>Copy the generated key.</li></ol><p>Google may provide free-tier API usage, but limits and billing conditions can change depending on the model and project. Check the current information in the <a href="https://ai.google.dev/gemini-api/docs/api-key">official Gemini API documentation</a>.</p><h3>Use the Key in GitFolio</h3><p>Return to GitFolio and open <strong>Review content</strong>.</p><ol><li>Choose <strong>Let AI build it</strong>.</li><li>Paste your Gemini API key.</li><li>Select <strong>Generate</strong>.</li><li>Wait for GitFolio to create the first draft.</li><li>Review and edit every generated section.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*kvv1xB9hHZxq9FA91WaWxQ.png" /></figure><p>The goal is not to publish untouched AI text. The goal is to avoid starting from a blank page.</p><p>For example, instead of a generic sentence like:</p><blockquote><em>I am a passionate developer who loves technology.</em></blockquote><p>GitFolio can use the selected repositories to produce a more specific starting point:</p><blockquote><em>I build data-informed web applications and developer tools using React, TypeScript, Python, and SQL, with a focus on turning complicated workflows into clear and maintainable experiences.</em></blockquote><p>The second version gives visitors something meaningful to remember — but you should still rewrite it until it accurately sounds like you.</p><h3>Review AI-Generated Claims</h3><p>Before exporting, verify:</p><ul><li>Technologies and skills</li><li>Project descriptions</li><li>Employment or experience claims</li><li>Numbers, outcomes, and achievements</li><li>Current goals and interests</li></ul><p>AI can make incorrect assumptions from repository names or descriptions. Never publish a claim simply because it sounds professional.</p><h3>Protect Your API Key</h3><p>Treat the key like a password.</p><ul><li>Never place it in your README or source code</li><li>Never commit it to GitHub</li><li>Never expose it in a screenshot or tutorial</li><li>Revoke it in Google AI Studio if it is accidentally shared</li></ul><p>In GitFolio, the key is used from your browser for the Gemini request. It is not part of the exported README. You can also inspect the open-source implementation before using the feature.</p><h3>Step 5: Set Up the 3D Contribution Landscape</h3><p>The 3D contribution landscape requires one additional setup step.</p><p>Selecting it on the customization page tells GitFolio that you want to use the feature, but it does not generate the contribution image. A GitHub Actions workflow must first create the SVG inside your profile repository.</p><p>To prevent a broken image from appearing, GitFolio will not include the landscape in the Preview or exported README until you complete the setup and confirm it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VOXaeiL63QGBkjwRRa7rtw.png" /></figure><h3>Complete the Setup</h3><ol><li>In GitFolio, select <strong>Download profile-3d.yml</strong>.</li><li>Open your GitHub Profile repository: username/username.</li><li>Save the downloaded file at exactly: .github/workflows/profile-3d.yml</li><li>Commit and push the workflow file.</li><li>In your repository, open <strong>Settings → Actions → General</strong>.</li><li>Under <strong>Workflow permissions</strong>, select <strong>Read and write permissions</strong>, then save the change.</li><li>Open the repository’s <strong>Actions</strong> tab.</li><li>Select <strong>GitHub Profile 3D Contributions</strong>.</li><li>Choose <strong>Run workflow</strong> and wait for it to finish successfully.</li><li>Confirm that this file now exists on your default branch: profile-3d-contrib/profile-night-rainbow.svg</li></ol><p>The workflow uses GitHub’s automatic repository token and the repository owner’s username. You do not need to create a personal access token, API key, or additional GitHub secret.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dNK5vlo4RVKl7bTSeLFBSQ.png" /></figure><h3>Return to GitFolio and Confirm the Setup</h3><p>After verifying that the workflow completed successfully and the SVG exists, return to GitFolio and check:</p><blockquote><strong><em>I verified a successful run and the generated SVG. Include the 3D landscape in my README.</em></strong></blockquote><p>This confirmation is required even if you selected the 3D contribution landscape on the previous customization page.</p><p>Once checked, GitFolio will add the generated image to the Preview and exported README.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E5tl1u4KrMzXO6mvacj7cw.png" /></figure><p>This extra confirmation prevents GitFolio from exporting a README that references an image that has not been generated yet.</p><p>If the landscape still does not appear, check:</p><ul><li>The workflow file is at .github/workflows/profile-3d.yml</li><li>The workflow completed successfully in the <strong>Actions</strong> tab</li><li><strong>Read and write permissions</strong> are enabled</li><li>profile-3d-contrib/profile-night-rainbow.svg exists</li><li>The confirmation checkbox in GitFolio is selected</li></ul><blockquote><strong><em>Note:</em></strong><em> The contribution snake uses a separate workflow and output file. Follow the snake-specific instructions shown by GitFolio if you enable that feature.</em></blockquote><h3>Step 6: Preview and Publish</h3><p>Before exporting, review both the visual preview and raw Markdown. Check for incorrect usernames, broken links, duplicate sections, placeholder text, and unverified AI claims.</p><p>Then select <strong>Copy</strong> or <strong>Download</strong> to get the generated Markdown.</p><p>To display it on your GitHub profile:</p><ol><li>Create a new public repository with exactly the same name as your GitHub username.</li><li>Add or open its README.md file.</li><li>Paste the Markdown generated by GitFolio.</li><li>Open GitHub’s preview and check the result.</li><li>Commit the changes.</li><li>Visit your public GitHub profile and test every important link and image.</li></ol><p>For example, the GitHub user octocat needs a public repository named octocat.</p><p>If you already have a Profile README, save a copy before replacing it.</p><h3>Keep the Final Profile Focused</h3><p>Your README does not need every available feature. It needs to answer three questions quickly:</p><ol><li>What do you build?</li><li>What evidence shows that you can build it?</li><li>How can someone contact or learn more about you?</li></ol><p>Use GitFolio to create the structure and first draft, then remove anything that does not help answer those questions.</p><h3>Final Thoughts</h3><p>GitFolio is designed to make Profile README creation faster without taking control away from the developer.</p><p>It imports public data, helps you choose what matters, uses Gemini when you want help writing, and lets you edit everything before publishing. The result should not feel like a generic AI profile — it should feel like a clearer version of your own professional story.</p><blockquote><strong><em>Build your GitHub Profile README:</em></strong><em> </em><a href="https://gitfolio.prudhvicharan.com/"><em>https://gitfolio.prudhvicharan.com</em></a></blockquote><blockquote><strong><em>Explore the source code:</em></strong><em> </em><a href="https://github.com/Prudhvicharan/gitfolio"><em>https://github.com/Prudhvicharan/gitfolio</em></a></blockquote><blockquote><strong><em>Found a problem or have an idea?</em></strong><em> </em><a href="https://github.com/Prudhvicharan/gitfolio/issues"><em>Open an issue on GitHub</em></a></blockquote><p>If you create a profile with GitFolio, share the result and let me know which visual direction you chose.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7695f399af45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Linked My Custom Domain to GitHub Pages — A Complete Step-by-Step Guide]]></title>
            <link>https://medium.com/@bunnycharanprudhvi/how-i-linked-my-custom-domain-to-github-pages-a-complete-step-by-step-guide-99d3ee44b607?source=rss-1bc7d9394f1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/99d3ee44b607</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[github-pages]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Prudhvi Charan]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 16:45:21 GMT</pubDate>
            <atom:updated>2026-03-06T16:46:31.083Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>From buying a domain on IONOS to deploying an Angular portfolio with a custom domain — everything you need to know, the struggles included.</blockquote><h3>Introduction</h3><p>So you’ve built your portfolio and deployed it on GitHub Pages. It’s live at something like https://yourusername.github.io/portfolio/. Great start! But now you want it to look professional — something like <a href="https://yourname.com./">https://yourname.com</a></p><p>That’s exactly what I did. I purchased prudhvicharan.com from <strong>IONOS</strong> and linked it to my GitHub Pages portfolio. It wasn&#39;t entirely smooth sailing, and that&#39;s why I&#39;m writing this — so <strong>you don&#39;t have to face the same bumps</strong>.</p><p>By the end of this guide, you’ll have:</p><ul><li>A custom domain pointing to your GitHub Pages site</li><li>Proper DNS records configured in IONOS</li><li>HTTPS enforced on your custom domain</li><li>An Angular deployment script that <strong>preserves your custom domain</strong> on every deploy</li></ul><p>Let’s dive in.</p><h3>Prerequisites</h3><p>Before starting, make sure you have:</p><ul><li>A domain purchased (this guide uses <strong>IONOS</strong>, but the DNS steps apply to most registrars)</li><li>A GitHub repository with your site deployed on <strong>GitHub Pages</strong></li><li>Your site accessible at <a href="https://yourusername.github.io/yourrepo/">https://yourusername.github.io/yourrepo/</a></li></ul><h3>Step 1: Tell GitHub Pages About Your Custom Domain</h3><ol><li>Go to your GitHub repository.</li><li>Click on <strong>Settings</strong> (top-right tab).</li><li>In the left sidebar, scroll down to <strong>Pages</strong> under <em>Code and automation</em>.</li><li>Under <strong>Custom domain</strong>, type your domain — e.g., prudhvicharan.com</li><li>Click <strong>Save</strong>.</li></ol><p>GitHub will now expect your DNS to point to its servers. It will show you a warning until the DNS records are configured — that’s normal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_b1W3981GETnfFd4Wqlrcg.png" /></figure><h3>Step 2: Configure DNS in IONOS</h3><p>Log in to your IONOS account at <a href="https://www.ionos.com/">https://www.ionos.com</a>.</p><p>Navigate to: <strong>Domains &amp; SSL → Your Domain → DNS Settings</strong></p><h3>2a. Add A Records (for the Root / Apex Domain)</h3><p>You need to add <strong>four A records</strong> for @ (the root domain). These point your domain to GitHub&#39;s servers.</p><p>The four GitHub IP addresses are:</p><pre>185.199.108.153<br>185.199.109.153<br>185.199.110.153<br>185.199.111.153</pre><blockquote><em>⚠️ </em><strong><em>IONOS only lets you add one A record at a time.</em></strong><em> You’ll need to repeat the process four times.</em></blockquote><p>For each IP address:</p><ol><li>Click <strong>Add record</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0GUBin6Jp4AIfB2u3YOXqw.png" /></figure><p>2. Select <strong>A Record</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9WyMQ2P2tVielM87IY4H-w.png" /></figure><p>3. In <strong>Host Name</strong>, enter: @</p><p>4. In <strong>Points to</strong>, enter one of the four IPs above</p><p>5. Click <strong>Save</strong></p><p>6. Repeat for the next IP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z0g5FVcKy1l0Obj9K7Xr-g.png" /></figure><blockquote><em>💡 If there’s an existing A record (like </em><em>74.208.236.181), </em><strong><em>delete it first</em></strong><em> before adding GitHub&#39;s IPs.</em></blockquote><h3>2b. Add a CNAME Record (for the www Subdomain)</h3><p>Instead of adding more A records for www, use a CNAME record — it&#39;s cleaner and future-proof.</p><ol><li>If you previously added A records for www, <strong>delete them first</strong>.</li><li>Click <strong>Add record</strong></li><li>Select <strong>CNAME Record</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RS7UP93FnZeM_-9EtKF8hw.png" /></figure><p>4. In <strong>Host Name</strong>, enter: www</p><p>5. In <strong>Points to</strong>, enter: yourusername.github.io</p><p>6. Click <strong>Save</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LnK2ECJChEr5DKw_btt7Rg.png" /></figure><blockquote><em>💡 Why CNAME for </em><em>www? GitHub&#39;s IP addresses can change. A CNAME pointing to </em><em>yourusername.github.io will always follow GitHub wherever it goes.</em></blockquote><h3>Step 3: Verify DNS Propagation</h3><p>DNS changes don’t happen instantly — they can take anywhere from a few minutes to <strong>24 hours</strong> to propagate globally.</p><p>Use <a href="https://dnschecker.org/">https://dnschecker.org</a> to verify:</p><ul><li>Your <strong>root domain</strong> (prudhvicharan.com) resolves to GitHub&#39;s four IPs</li><li>Your <strong>www subdomain</strong> (www.prudhvicharan.com) resolves to yourusername.github.io</li></ul><h3>Step 4: Enable HTTPS in GitHub Pages</h3><p>Once DNS has propagated:</p><ol><li>Go back to <strong>GitHub → Repository → Settings → Pages</strong></li><li>Make sure <strong>Custom domain</strong> still shows your domain</li><li>Check <strong>Enforce HTTPS</strong></li></ol><blockquote><em>⚠️ The “Enforce HTTPS” option may take some time to appear or become clickable. Be patient — GitHub needs to provision an SSL certificate for your domain first.</em></blockquote><h3>Troubleshooting: Common Issues I Faced</h3><h3>Issue 1: GitHub Pages DNS Check Failing (Even Though DNS Was Correct)</h3><p>This is frustrating — IONOS was configured correctly, dnschecker.org showed everything passing, but GitHub still showed <em>“DNS check unsuccessful.”</em></p><p><strong>Fix:</strong></p><ol><li>Go to <strong>Settings → Pages</strong></li><li>Remove your custom domain entirely, wait 5 minutes</li><li>Re-add it and click Save</li><li>If it still fails, manually create a CNAME file in your repository root (see below)</li></ol><p><strong>Creating a CNAME file:</strong></p><p>In the root of your repository, create a file named CNAME (no extension, all caps) with exactly this content:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_7f1__BPdYt48wB1qsbJw.png" /></figure><pre>prudhvicharan.com</pre><p>Commit and push this file. GitHub will pick it up automatically.</p><h3>Issue 2: Blank Page After Domain Points Correctly</h3><p>After DNS was working, my site was showing a blank page with 404 errors in the console for JS and CSS files.</p><p><strong>Root Cause:</strong> My Angular app was built with --base-href=/portfolio/, which is correct for yourusername.github.io/portfolio/ — but <strong>wrong</strong> for a custom domain where your site lives at the root /.</p><p><strong>Fix:</strong> Update your build command to use --base-href=/:</p><p>In package.json:</p><pre>&quot;scripts&quot;: {<br>  &quot;deploy&quot;: &quot;ng build --base-href=/ &amp;&amp; npx angular-cli-ghpages --dir=dist/portfolio --no-silent&quot;<br>}</pre><p>Then rebuild and redeploy:</p><pre>npm run deploy</pre><h3>Issue 3: Custom Domain Resets to github.io URL After Every Deploy</h3><p>This was the most annoying issue. Every time I ran npm run deploy, GitHub Pages would reset my custom domain back to <a href="https://prudhvicharan.github.io/portfolio/">https://prudhvicharan.github.io/portfolio/.</a></p><p><strong>Why this happens:</strong> angular-cli-ghpages pushes a fresh gh-pages branch, wiping out the CNAME file that GitHub uses to recognize your custom domain.</p><p><strong>Fix:</strong> Automate the CNAME file creation inside your deploy script.</p><p>Update package.json like this:</p><pre>&quot;scripts&quot;: {<br>  &quot;ng&quot;: &quot;ng&quot;,<br>  &quot;start&quot;: &quot;ng serve&quot;,<br>  &quot;build&quot;: &quot;ng build&quot;,<br>  &quot;watch&quot;: &quot;ng build --watch --configuration development&quot;,<br>  &quot;test&quot;: &quot;ng test&quot;,<br>  &quot;deploy&quot;: &quot;ng build --base-href=/ &amp;&amp; echo prudhvicharan.com &gt; dist/portfolio/CNAME &amp;&amp; npx angular-cli-ghpages --dir=dist/portfolio --no-silent&quot;<br>}</pre><p><strong>What this does, step by step:</strong></p><ol><li>ng build --base-href=/ — builds Angular with the correct base path for a custom domain</li><li>echo prudhvicharan.com &gt; dist/portfolio/CNAME — creates the CNAME file inside the build output automatically</li><li>npx angular-cli-ghpages --dir=dist/portfolio --no-silent — deploys to GitHub Pages</li></ol><p>Now every time you run npm run deploy, your custom domain is preserved. No more manual fixes after every deployment. 🎉</p><h3>Step 5: Final Verification</h3><p>After all the above, verify everything:</p><ol><li>Open your browser and visit:</li></ol><ul><li><a href="https://yourdomain.com/">https://yourdomain.com</a></li><li><a href="https://www.yourdomain.com/">https://www.yourdomain.com</a></li></ul><p>2. Both should load your portfolio</p><p>3. Check that the URL bar shows a padlock 🔒 (HTTPS is working)</p><p>4. Run npm run deploy again and confirm your custom domain stays intact in GitHub Pages settings</p><h3>Complete Final package.json Scripts</h3><p>Here’s what the final, working scripts section looks like:</p><pre>&quot;scripts&quot;: {<br>  &quot;ng&quot;: &quot;ng&quot;,<br>  &quot;start&quot;: &quot;ng serve&quot;,<br>  &quot;build&quot;: &quot;ng build&quot;,<br>  &quot;watch&quot;: &quot;ng build --watch --configuration development&quot;,<br>  &quot;test&quot;: &quot;ng test&quot;,<br>  &quot;deploy&quot;: &quot;ng build --base-href=/ &amp;&amp; echo prudhvicharan.com &gt; dist/portfolio/CNAME &amp;&amp; npx angular-cli-ghpages --dir=dist/portfolio --no-silent&quot;<br>}</pre><h3>Quick DNS Reference</h3><p>Here’s a summary of all the DNS records you need:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RLYYzjUS6cRBtiFf7k_nzA.png" /></figure><h3>Useful Tools</h3><ul><li><a href="https://dnschecker.org/"><strong>DNS Checker</strong></a> — verify your DNS records globally</li><li><a href="https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site"><strong>GitHub Pages Docs</strong></a> — official reference</li><li><a href="https://www.ionos.com/help/domains/dns-settings/"><strong>IONOS DNS Help</strong></a> — IONOS-specific DNS guide</li></ul><h3>Summary</h3><p>Here’s the entire process in a nutshell:</p><ol><li><strong>Add your custom domain</strong> in GitHub Pages settings</li><li><strong>Add four A records</strong> in IONOS pointing to GitHub’s IPs (185.199.108.x)</li><li><strong>Add a CNAME record</strong> for www pointing to yourusername.github.io</li><li><strong>Wait for DNS propagation</strong> (minutes to 24 hours)</li><li><strong>Enable HTTPS</strong> in GitHub Pages once DNS is confirmed</li><li>If using Angular, <strong>fix </strong><strong>--base-href=/</strong> to avoid 404 errors</li><li><strong>Automate the CNAME file</strong> in your deploy script so it never gets wiped</li></ol><p>That’s it! If you follow these steps carefully, you should have a fully working, HTTPS-secured custom domain pointing to your GitHub Pages portfolio with minimal headaches.</p><h3>The Result? See It Live 👇</h3><p>All of this — the DNS battles, the blank pages, the deploy scripts breaking at 2AM — was worth it for one reason:</p><p><strong>A portfolio that looks like it belongs to someone serious.</strong></p><p>No more github.io URLs. No more explaining to recruiters what the /portfolio/ at the end means. Just a clean, fast, HTTPS-secured site that says <em>&quot;yes, I know what I&#39;m doing.&quot;</em></p><p>Go ahead — see what a properly hosted developer portfolio looks like:</p><h4>🌐 <a href="https://prudhvicharan.com/">prudhvicharan.com</a></h4><figure><img alt="prudhvicharan.com" src="https://cdn-images-1.medium.com/max/1024/1*MYgsjQ9QJtQSeirdpa8KRg.png" /></figure><p>If you’re building yours right now, you’re closer than you think. Follow the steps in this guide, and your custom domain will be live before the day is over.</p><p><em>Build it. Deploy it. Own it.</em> 🚀</p><p><em>If this helped you, feel free to clap 👏 and follow for more developer tips. Drop any questions in the comments and I’ll help you out!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99d3ee44b607" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying an Angular 17 App to GitHub Pages: A Step-by-Step Guide ]]></title>
            <link>https://medium.com/@bunnycharanprudhvi/deploying-an-angular-17-app-to-github-pages-a-step-by-step-guide-0b29f6f4e020?source=rss-1bc7d9394f1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b29f6f4e020</guid>
            <dc:creator><![CDATA[Prudhvi Charan]]></dc:creator>
            <pubDate>Mon, 24 Feb 2025 01:28:02 GMT</pubDate>
            <atom:updated>2025-02-24T02:44:01.778Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you looking to deploy your <strong>Angular 17</strong> application to <strong>GitHub Pages</strong>? This guide will walk you through <strong>creating, configuring, and deploying</strong> your Angular app step by step. By the end, your app will be <strong>live on GitHub Pages</strong> with a <strong>one-command deployment process</strong>! 🎉</p><h3>1️⃣ Setting Up Your Angular Project</h3><p>First, ensure you have Angular CLI installed. If not, install it globally:</p><pre>npm install -g @angular/cli</pre><p>Now, create a new Angular app:</p><pre>ng new my-angular-app</pre><p>Navigate into your project:</p><pre>cd my-angular-app</pre><p>Run the app locally to ensure everything works:</p><pre>ng serve</pre><p>Visit http://localhost:4200/ in your browser to see your app running. 🚀</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_oUcO9NJzEM3ov2H_ecebQ.png" /></figure><h3>2️⃣ Initialize Git and Push to GitHub</h3><ol><li><strong>Initialize a Git repository:</strong></li></ol><pre>git init</pre><p><strong>2. Create a new GitHub repository</strong> (e.g., my-angular-app).</p><p><strong>3. Link your local project to the GitHub repository:</strong></p><pre>git remote add origin https://github.com/your-username/my-angular-app.git</pre><p><strong>4. Commit and push the initial project:</strong></p><pre>git add .<br>git commit -m &quot;Initial commit&quot;<br>git branch -M main<br>git push -u origin main</pre><h3>3️⃣ Install GitHub Pages Dependencies</h3><p>Install gh-pages to enable deployment:</p><pre>npm install gh-pages --save-dev</pre><h3>4️⃣ Configure Angular for GitHub Pages Deployment</h3><p>Since <strong>Angular 17</strong> uses a different build system (@angular-devkit/build-angular:application), we need to adjust our deployment method.</p><p>Edit your package.json file and add these scripts to automate Deployment:</p><pre>&quot;scripts&quot;: {<br>  &quot;build:prod&quot;: &quot;ng build --configuration=production&quot;,<br>  &quot;deploy&quot;: &quot;npm run build:prod &amp;&amp; gh-pages -d dist/my-angular-app/browser&quot;<br>}</pre><h3>🔥 What This Does:</h3><p>✅ <strong>build:prod</strong> creates a production-ready build.<br>✅ <strong>deploy</strong> runs the build and automatically deploys it to GitHub Pages.</p><h3>5️⃣ Build and Deploy Your Angular App</h3><p>Now, you can deploy your app using <strong>just one command</strong>:</p><pre>npm run deploy</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qr-CPNUxTGA_UDZo9RTGBQ.png" /></figure><p>This command does two things:</p><ol><li><strong>Builds your app</strong> in dist/my-angular-app/browser/.</li><li><strong>Deploys it</strong> to GitHub Pages.</li></ol><h3>6️⃣ Configure GitHub Pages</h3><ol><li>Go to <strong>GitHub &gt; Your Repository &gt; Settings &gt; Pages</strong>.</li><li>Under <strong>Build and Deployment</strong>, select:</li></ol><ul><li><strong>Source:</strong> Deploy from a branch</li><li><strong>Branch:</strong> gh-pages</li><li><strong>Directory:</strong> / (root)</li></ul><p>3. Save the settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AvltsYyoY5rmdJAHyGxz8A.png" /></figure><h3>7️⃣ Visit Your Live Angular App 🎉</h3><p>After deployment, your app will be live at:</p><pre>https://your-username.github.io/my-angular-app/</pre><p><strong>Link</strong> 👉 <a href="https://prudhvicharan.github.io/my-angular-app/">https://prudhvicharan.github.io/my-angular-app/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VlVPfGU8qsY-6ZIqzupvEg.png" /></figure><p>🚀 <strong>Test your deployment:</strong></p><ul><li>Open your app in <strong>Incognito Mode</strong> or <strong>clear your cache</strong> (Ctrl + Shift + R or Cmd + Shift + R).</li><li>If you see a 404 error, ensure your baseHref is correctly set in angular.json:</li></ul><pre>&quot;configurations&quot;: {<br>  &quot;production&quot;: {<br>    &quot;outputHashing&quot;: &quot;all&quot;,<br>    &quot;baseHref&quot;: &quot;/my-angular-app/&quot;<br>  }<br>}</pre><h3>7️⃣ Future Updates: Deploy in One Step!</h3><p>Whenever you make changes to your Angular project, simply run:</p><pre>npm run deploy</pre><p>This will <strong>build and push your latest version</strong> to GitHub Pages in one step. 🔥</p><h3>Final Thoughts 💡</h3><p>Deploying Angular 17 to GitHub Pages required some adjustments due to the <strong>new Angular application builder</strong>. However, once configured correctly, it becomes a <strong>smooth and automated process</strong>! Now, your Angular app is hosted <strong>for free</strong> on GitHub Pages with an <strong>easy deployment workflow</strong>. 🚀</p><p>📢 <strong>Have questions or ran into issues?</strong> Drop a comment below!</p><p>💬 <strong>Found this guide helpful? Share it with fellow Angular developers!</strong> 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b29f6f4e020" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>