<?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>DEV Community: Hasan Gursoy</title>
    <description>The latest articles on DEV Community by Hasan Gursoy (@hasan_gursoy_7b08ccc8f799).</description>
    <link>https://dev.to/hasan_gursoy_7b08ccc8f799</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%2F3480799%2Fdd800e89-6b5e-41b5-96ef-7264d2ff6ab7.png</url>
      <title>DEV Community: Hasan Gursoy</title>
      <link>https://dev.to/hasan_gursoy_7b08ccc8f799</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hasan_gursoy_7b08ccc8f799"/>
    <language>en</language>
    <item>
      <title>Build Web Apps with Pure Go (No JavaScript Required!)</title>
      <dc:creator>Hasan Gursoy</dc:creator>
      <pubDate>Fri, 05 Sep 2025 03:59:19 +0000</pubDate>
      <link>https://dev.to/hasan_gursoy_7b08ccc8f799/build-web-apps-with-pure-go-no-javascript-required-4icj</link>
      <guid>https://dev.to/hasan_gursoy_7b08ccc8f799/build-web-apps-with-pure-go-no-javascript-required-4icj</guid>
      <description>&lt;p&gt;I'm excited to share &lt;strong&gt;gofred&lt;/strong&gt;, a framework I've been working on that lets you build responsive web applications using &lt;strong&gt;only Go&lt;/strong&gt; - no JavaScript required! Your Go code compiles directly to WebAssembly and runs natively in the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  🌟 What makes gofred special?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Pure Go Development&lt;/strong&gt;: Write your entire web app in Go - frontend, backend, everything. No need to learn JavaScript, TypeScript, or React.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WebAssembly Performance&lt;/strong&gt;: Near-native performance in the browser with Go's excellent concurrency model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Modern UI Components&lt;/strong&gt;: Rich widget library with responsive design built-in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Layout widgets (Container, Column, Row, Grid)&lt;/li&gt;
&lt;li&gt;Interactive components (Buttons, Links, Forms)&lt;/li&gt;
&lt;li&gt;Content widgets (Text, Icons, Images)&lt;/li&gt;
&lt;li&gt;Navigation (Drawers, Headers, Footers)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Responsive by Default&lt;/strong&gt;: Built-in breakpoint system (XS, SM, MD, LG, XL, XXL) for mobile-first design.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developer Experience&lt;/strong&gt;: Hot reload, comprehensive documentation, and great tooling.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 Live Demo
&lt;/h2&gt;

&lt;p&gt;Check out the live website: &lt;strong&gt;&lt;a href="https://gofred.io" rel="noopener noreferrer"&gt;https://gofred.io&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The entire website is built with gofred itself - it's a perfect example of what you can create!&lt;/p&gt;

&lt;h2&gt;
  
  
  📖 Quick Example
&lt;/h2&gt;

&lt;p&gt;Here's how simple it is to create a responsive web app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="s"&gt;"github.com/gofred-io/gofred/application"&lt;/span&gt;
    &lt;span class="s"&gt;"github.com/gofred-io/gofred/breakpoint"&lt;/span&gt;
    &lt;span class="s"&gt;"github.com/gofred-io/gofred/foundation/button"&lt;/span&gt;
    &lt;span class="s"&gt;"github.com/gofred-io/gofred/foundation/column"&lt;/span&gt;
    &lt;span class="s"&gt;"github.com/gofred-io/gofred/foundation/container"&lt;/span&gt;
    &lt;span class="s"&gt;"github.com/gofred-io/gofred/foundation/text"&lt;/span&gt;
    &lt;span class="s"&gt;"github.com/gofred-io/gofred/options"&lt;/span&gt;
    &lt;span class="s"&gt;"github.com/gofred-io/gofred/options/spacing"&lt;/span&gt;
    &lt;span class="s"&gt;"github.com/gofred-io/gofred/widget"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;application&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Run&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;container&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;New&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
            &lt;span class="n"&gt;column&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;New&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
                &lt;span class="p"&gt;[]&lt;/span&gt;&lt;span class="n"&gt;widget&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;BaseWidget&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;New&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
                        &lt;span class="s"&gt;"Hello, gofred!"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                        &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;FontSize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;32&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
                        &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;FontWeight&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"600"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
                    &lt;span class="p"&gt;),&lt;/span&gt;
                    &lt;span class="n"&gt;button&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;New&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
                        &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;New&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Click me!"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
                        &lt;span class="n"&gt;button&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OnClick&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;func&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;this&lt;/span&gt; &lt;span class="n"&gt;widget&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;BaseWidget&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="n"&gt;widget&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Event&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                            &lt;span class="c"&gt;// Handle click event&lt;/span&gt;
                        &lt;span class="p"&gt;}),&lt;/span&gt;
                    &lt;span class="p"&gt;),&lt;/span&gt;
                &lt;span class="p"&gt;},&lt;/span&gt;
                &lt;span class="n"&gt;column&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Gap&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;16&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
                &lt;span class="n"&gt;column&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;CrossAxisAlignment&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;options&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;AxisAlignmentTypeCenter&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
            &lt;span class="p"&gt;),&lt;/span&gt;
            &lt;span class="n"&gt;container&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Padding&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;breakpoint&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;All&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;spacing&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;All&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;32&lt;/span&gt;&lt;span class="p"&gt;))),&lt;/span&gt;
        &lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  🏗️ Architecture
&lt;/h2&gt;

&lt;p&gt;gofred uses a widget-based architecture where everything is a composable component:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Foundation widgets&lt;/strong&gt;: Basic building blocks&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Layout system&lt;/strong&gt;: Flexbox-inspired responsive layouts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;State management&lt;/strong&gt;: Reactive state with automatic UI updates&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Event handling&lt;/strong&gt;: Click, hover, form events, etc.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Styling&lt;/strong&gt;: CSS-in-Go with responsive breakpoints&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  📚 Documentation &amp;amp; Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework&lt;/strong&gt;: &lt;a href="https://github.com/gofred-io/gofred" rel="noopener noreferrer"&gt;https://github.com/gofred-io/gofred&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Website Source&lt;/strong&gt;: &lt;a href="https://github.com/gofred-io/gofred-website" rel="noopener noreferrer"&gt;https://github.com/gofred-io/gofred-website&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Documentation&lt;/strong&gt;: &lt;a href="https://gofred.io/docs" rel="noopener noreferrer"&gt;https://gofred.io/docs&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🎯 Perfect for:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Go developers who want to build web apps&lt;/li&gt;
&lt;li&gt;Teams looking to reduce JavaScript complexity&lt;/li&gt;
&lt;li&gt;Projects that need high performance&lt;/li&gt;
&lt;li&gt;Developers who prefer strongly-typed languages&lt;/li&gt;
&lt;li&gt;Anyone who wants to leverage Go's ecosystem for web development&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🚀 Getting Started
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Create a new project&lt;/span&gt;
&lt;span class="nb"&gt;mkdir &lt;/span&gt;my-gofred-app
&lt;span class="nb"&gt;cd &lt;/span&gt;my-gofred-app

&lt;span class="c"&gt;# Initialize with go mod&lt;/span&gt;
go mod init my-gofred-app
go get github.com/gofred-io/gofred

&lt;span class="c"&gt;# Start building!&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  🤔 Why did I build this?
&lt;/h2&gt;

&lt;p&gt;As a Go developer, I was frustrated with the complexity of modern web development. You need to learn JavaScript, TypeScript, React, Vue, or Angular just to build a simple web app. I wanted something that would let me use Go's simplicity and power for web development.&lt;/p&gt;

&lt;p&gt;gofred is my answer to that problem - it brings Go's elegance to web development while maintaining the performance and developer experience we love.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔮 What's next?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;More UI components and widgets&lt;/li&gt;
&lt;li&gt;Better tooling and IDE support&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A powerful CLI tool that will help developers quickly scaffold new gofred projects with pre-configured templates, project structure, and development tools&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Performance optimizations&lt;/li&gt;
&lt;li&gt;Community examples and templates&lt;/li&gt;
&lt;li&gt;Integration with popular Go libraries&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  💬 Questions?
&lt;/h2&gt;

&lt;p&gt;I'd love to hear your thoughts! Have you tried building web apps with Go before? What features would you like to see in gofred? Any feedback or suggestions?&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Links:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌐 Website: &lt;a href="https://gofred.io" rel="noopener noreferrer"&gt;https://gofred.io&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📦 Framework: &lt;a href="https://github.com/gofred-io/gofred" rel="noopener noreferrer"&gt;https://github.com/gofred-io/gofred&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🏠 Website Source: &lt;a href="https://github.com/gofred-io/gofred-website" rel="noopener noreferrer"&gt;https://github.com/gofred-io/gofred-website&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📖 Docs: &lt;a href="https://gofred.io/docs" rel="noopener noreferrer"&gt;https://gofred.io/docs&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for checking it out! 🚀&lt;/p&gt;




</description>
      <category>webdev</category>
      <category>go</category>
      <category>webassembly</category>
    </item>
  </channel>
</rss>
