HN user

todotask

1,044 karma
Posts51
Comments178
View on HN
astro.build 1y ago

Astro 5

todotask
3pts0
www.space.com 1y ago

James Webb Space Telescope Earliest Galaxies Glimpse

todotask
1pts0
www.straitstimes.com 2y ago

Why the haze has reached Singapore's shores again

todotask
3pts0
astro.build 2y ago

Announcing Astro 3.0

todotask
14pts0
www.scientificamerican.com 3y ago

Jwst's Newfound Galaxies Are the Oldest Ever Seen

todotask
2pts0
astro.build 3y ago

Astro 2.0

todotask
167pts44
news.ycombinator.com 3y ago

Let's build your new projects with Vue 3 in 2023

todotask
1pts0
news.ycombinator.com 3y ago

The SPA Dilemma

todotask
8pts16
news.ycombinator.com 4y ago

Ask HN: Which iOS app can record noise pollution and vibration?

todotask
1pts0
github.com 4y ago

Go: Don’t change the libraries in 1.18

todotask
14pts0
owncloud.com 5y ago

OwnCloud – Ready, Steady, Go

todotask
2pts0
blog.m5e.de 5y ago

Benchmarking Benford's Law in Go, Crystal, Python and JavaScript

todotask
2pts0
github.com 5y ago

First Git commit 19 July 1972

todotask
2pts1
chrome.google.com 6y ago

GitHub Dark Theme for Google Chrome

todotask
1pts0
github.com 6y ago

Goja – ECMAScript 5.1(+) implementation written in Go

todotask
2pts0
medium.com 6y ago

“Go” and Do Crypto

todotask
2pts0
github.com 6y ago

Tink – Cryptographic APIs that are secure, easy to use correctly

todotask
153pts49
kasvith.me 6y ago

How We Created a Realtime Patient Monitoring System with Go and Vue in 3 Days

todotask
5pts0
bugs.chromium.org 6y ago

Git: Newline injection in credential helper protocol

todotask
105pts21
github.com 6y ago

Sysadmin tools, written in a busybox-like fashion

todotask
3pts0
ljvmiranda921.github.io 6y ago

Burnout Barometer - Mindfulness throughout the day

todotask
2pts0
dmitri.shuralyov.com 6y ago

A half-hour to learn Go

todotask
5pts0
spectrum.ieee.org 6y ago

Go Language Tops List of In-Demand Software Skills

todotask
5pts1
www.phoronix.com 6y ago

LLVM's Go Front-End Was Finally Dropped from the Official Source Tree

todotask
2pts0
github.com 6y ago

ESbuild – A fast JavaScript bundler and minifier in Go

todotask
355pts133
talks.golang.org 6y ago

Dl.google.com: Powered by Go (2013)

todotask
2pts0
gitlab.com 6y ago

Notes on the Go Translation of Reposurgeon

todotask
2pts0
go-battle.net 6y ago

Golang Battle

todotask
1pts0
rakyll.org 6y ago

Inlined Defers

todotask
2pts0
github.com 6y ago

Memo Life for You in Go

todotask
2pts0

At first, my goal was to go pure with vanilla JavaScript and CSS, hand-coding Echo routing, authentication, secure cookies, etc., using Go libraries—and I did just that. But as a solo developer managing both backend (Go + SQLC) and frontend (vanilla JS + CSS), it became overwhelming. My co-founders had no concrete feature roadmap, throwing in whatever they thought was good, and our UI/UX designer was stuck with a buggy Marvelous app. Managing both sides while constantly adapting to shifting requirements became exhausting.

To ease the burden, I introduced Alpine.js, which helped, but the real challenge was juggling Go and TypeScript for different parts of the stack. When the team decided to revamp the site with a new Figma design, I switched to Astro after the release of Astro 2.0—it simplified frontend development and allowed me to gradually move away from Go. This wasn’t just about adopting a new language with old patterns; it was about making my workload sustainable while improving maintainability.

A month later (after three years), bad news—they ran out of funding and had no time for marketing. On top of that, I have vision problems (genetic and post-cataract surgery), making job options limited. But one thing I’ve gained from this experience is a strong grasp of frontend performance optimisation—JavaScript, Tailwind CSS, HTML, and responsive images. There are millions of poorly optimised websites that Astro could improve. At least in Singapore, where we have great internet connectivity, I can keep refining my skills.

Astro solved:

- Same codebase: Both frontend and backend with TypeScript, meaning I no longer have to write routers whenever we add a new category.

- Optimisations: Reducing JavaScript and loading JavaScript as a module for better security.

- Maintainability: Go HTML templating was harder to maintain; I prefer Astro’s JSX-like syntax.

- Performance: If I need performance, Bun can be as performant as Go, which is a bonus.

- Reusability: Lots of UI and Astro components can be reuse.

- Productive (Future): I’m waiting for Vite (Rolldown) to speed up my build times. Evan You has lots of ideas for Rolldown plugins.

- Community: Of course, an active community that is improving Astro so we don’t have to reinvent the wheel, with lots of sensible features by default, including Starlight for docs. I proposed to the Echo maintainer to adopt it over Docusaurus, but I was turned down.

In my experience building the site with Go (Echo) with Postgres and a vanilla frontend from scratch, I realised that maintaining my codebase as a solo developer for a medium-sized platform was challenging. At one point, it became unmaintainable, and I had to rewrite it three times. The third time? I switched to the Astro web framework, and it solved all my problems.

Go is indeed easy to get started with, but it's different when dealing with server-side rendering and not a single-page application where Go is a backend.

You're going to encounter various limitations with the CMS that it was designed for. I'll say this once: if we need a complete rebuild in 2025 and beyond, the Astro web framework could be the core engine due to its unopinionated nature and support for many UI components, including the latest addition, VanJS. It's seem like a well designed to keep things as simple as possible and still open to community feedback.

Of course, you could host it on Netlify, Cloudflare, and Vercel using adapters from Astro. Although it's not a traditional CMS, it's capable of serving as the core engine that should serve well for 99% of use cases out there.

That's a problem but still cheaper than UpCloud. I do find Cloudflare pricing is more attractive for read heavy website and startup plan is useful for us.

I spent the entire time building a business network platform with Astro instead of WordPress or other web frameworks because it is exactly what I need to easily manage UI components and provide a safer JSX-like environment.

In comparison to Ruby on Rails, Django, and Laravel, Astro stands on the same level but much less learning curve.

I wanted to say, the OP home page hang my Firefox browser, probably due to issues with JavaScript regexp or React code.

Vue 3.5 released 2 years ago

Except I could hardly find job requirements for Vue in Singapore despite You is residing here.

Ah, if between the 2, perhaps, Astro web framwork is what I could build a small e-commerce quickly with minimal code in TypeScript, Tailwind and lots of copy and paste UI. Prior to Astro, I was spent months solving the differences codebase on frontend and backend. So anyway, we are in the same timezone.