Ah, got it.
17.01.2025 09:58 β π 3 π 0 π¬ 0 π 0@derpycoder.bsky.social
Engineer by Passion Backend + Frontend #golang, #templ, #tailwindcss, #alpinejs, #htmx Database #clickhouse, #sqlite Devops #kubernetes, #taloslinux, #hetzner Workhorse #nvim, #zellij, #wezterm, #starship #selfhosting, #indiehacking, #microsaas
Ah, got it.
17.01.2025 09:58 β π 3 π 0 π¬ 0 π 0Here's how I am doing the routing.
I am using Echo framework, not the stdlib router.
I might have to.
I get why golang devs prefer the stdlib over anything else.
Currently echo framework is not giving me any issues, but if does.
Iβm going full stdlib, no external libs for the core server.
I just migrated away from JS land to Elixir land to Goland.
I donβt want to move to PHP or JavaScript.
I hope Templ doesnβt keep giving me issues.
Also, seeing internal server errors.
17.01.2025 07:05 β π 0 π 0 π¬ 0 π 0@psionicalch.com ,
Is Golang Templ unstable?
Iβm running into lots of weird issues.
LSP is pointing out wrong places for errors.
JavaScript and CSS formatting and highlighting is not working in the style and script tags.
For loop is acting weird.
Iβm using fastmail, but whatβs the news?
16.01.2025 18:29 β π 1 π 0 π¬ 1 π 0Raw dog code like the rest of us.
16.01.2025 13:16 β π 1 π 0 π¬ 1 π 0I give up trying to search for this online.
Please tell me the site name.
You donβt need a library for File Walking in Go!!
#golang, thanks for the fast defaults.
engineering.kablamo.com.au/posts/2021/q...
Whatβs the binary size?
Are you able to compile the project with tinygo without issue?
Whatβs RapidAPI alternative to sell APIs?
This stops me from using them:
βRapidAPI currently only pays out API providers via PayPalβ
PayPal, is a no-no for me.
#buildinpublic, #golang, #indiehackers
SSH is a thing of the past.
07.01.2025 17:14 β π 1 π 0 π¬ 0 π 0Haha, I didnβt touch the code, but my mind kept racing.
07.01.2025 16:51 β π 1 π 0 π¬ 0 π 0For CDN based approach, Bunny CDN comes to mind.
They also have image optimisation service for 10$ a month.
Haha, same here.
The todo list is overflowing and so is my brain.
Haha.
As for images, if they are sized dynamically and differently at different places then you can use imgproxy.
Else just cli for webp or imageoptim is great.
github.com/imgproxy/img...
Try unlighthouse.dev, it will run on every page, so you can get that score on every page.
07.01.2025 15:52 β π 1 π 0 π¬ 2 π 0Whoa, you are killing it.
I'm procrastinating, blank canvas is scary.
Haha, I was going to post the same thing now.
07.01.2025 15:42 β π 1 π 0 π¬ 1 π 0CSRF Token with HTMX
This is what I tried as well. Which added to my confusion as well.
This vs Form vs JS vs Cookies.
I did the same, but on each form submission instead.
So this clever.
However I am confused between 3 approaches that Echo framework has.
TokenLookup: cookie, form, header.
Like which is more secure. At work I use form based.
Maybe all 3 are secure.
Yes, give it a try after your release, as this will be a time sink.
Thereβs one or two 6 - 10 hours video on YouTube, which is the most comprehensive vdo on this.
Also, courage is not needed at all, seriously.
Even casual users are self hosting so many web apps, engineers have nothing to fear.
They even have Omni, I think I reposted a post from @siderolabs.com, that allows users to manage their servers from a GUI.
Like a self hosted, managed Kubernetes nodes.
Kubernetes as the OS, instead of Kubernetes running on top another OS.
I very much like the declarative nature of this approach!
Using the talosctl to change or access machine config.
And kubectl to talk with kubernetes.
I will give it a try if itβs stable.
07.01.2025 11:50 β π 1 π 0 π¬ 0 π 0Thatβs so cool!
At the same time, I think that modern servers can be much more lightweight and not even have this port scanning issue.
For example, TalosLinux has no ssh binary, so whatβs the hacker going to do?
No unnecessary process in the background, just a server that serves HTTP.
Thanks for this gem.
I want to show some middle-fingers to haquers.
AI goes brrrβ¦
07.01.2025 10:32 β π 1 π 0 π¬ 0 π 0