Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Top 7 Go Web Server Projects
Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPSProject mention: Nginx 1.25.0: experimental HTTP/3 support | reddit.com/r/programming | 2023-05-28
Caddy is rocking it as default enabled for almost a year.
Uncomplicated, modern HTTP server
TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.
kawipiko -- blazingly fast static HTTP server -- focused on low latency and high concurrency, by leveraging Go, `fasthttp` and the CDB embedded databaseProject mention: Static site hosting hurdles | news.ycombinator.com | 2022-09-05
[the author here] Indeed didn't mention anything about the shared webhosting solutions, just as I didn't mention anything about S3 + CloudFront, or Backblaze B2 + a CDN in front, or Cloudflare + WebWorkers, or AWS Lambda, or any other thousand ways to do it... (Like for example there is <https://redbean.dev/> which I find just so intriguing, and not far from my own <https://github.com/volution/kawipiko> proposal.)
Although shared webhosting is part of our web history -- and still a viable choice especially if you have something in PHP or something that requires a little-bit of dynamic content -- I don't think it's still a common choice for today.
It's somewhere in between dedicated cloud-hosting, because although you have an actual HTTP server (usually Apache or Nginx) that you can't configure it much because it's managed by the provider, thus it gives you the same features (and limitations) as an a proper cloud-hosted static site solution (such as Netlify); and between self-hosting because of the same reasons, having an actual full-blown HTTP server, but one you can't fully control, thus it gives you fewer features than a self-managed VM in a cloud provider or self-hosted machine. Thus unless you need PHP, or `htaccess`, I think the other two alternatives make a better choice.
The issue with "static sites", due to the de-facto requirements in 2022 imposed by the the internet "gatekeepers" (mainly search engines), is that they aren't "just a bunch of files on disk that we can just serve with proper `Content-Type`, `Last-Modified` or `ETag`, and perhaps compressed"; we now need (in order to meet the latest hoops the gatekeepers want us to jump through) to also do a bunch of things that aren't quite possible (or certainly not easily) with current web servers. For example:
* minification (which I've cited in my article) -- besides compression, one should also employ HTML / CSS / JS and other asset minification; none of the classical web servers support this; there is something like <https://www.modpagespeed.com/>, but it's far from straightforward to deploy (let alone on a shared web-host;)
* when it comes to headers (be it the ones for CSP and other security related ones) or even `Link` headers for preloading, these aren't easy to configure, especially if you need those `Link` headers only for some HTML pages and not all resources; in this regard I don't know how many shared webhosts actually allow you to tinker with these;
The point I was trying to make is that if you want to deploy a professional (as in performant) static web site, just throwing some files in a folder and pointing Apache or Nginx at them isn't enough. If the performance you are getting by default from such a setup is enough for you, then perfect! If not there is a lot of pain getting everything to work properly.
A lightweight starting point for Go web servers
High performance websocket server
A tiny http frameworkProject mention: Gomek - Http micros framework in Go | reddit.com/r/golang | 2022-09-17
Gomek - https://github.com/joegasewicz/gomek
A dead simple web server (by codesoap)
ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
Go Web Server related posts
Nginx 1.25.0: experimental HTTP/3 support
1 project | reddit.com/r/programming | 28 May 2023
Rookie unRAID question regarding SSL certificate install
1 project | reddit.com/r/unRAID | 21 May 2023
SSL for locally hosted nextjs app
1 project | reddit.com/r/nextjs | 20 May 2023
How do I add SSL to my Chatroom built using node.js and socket.io?
h5ai gallery alternative for nginx
2 projects | reddit.com/r/nginx | 11 May 2023
Password on web server for client tracking?
1 project | reddit.com/r/webdev | 24 Apr 2023
Which reverse proxy are you using?
16 projects | reddit.com/r/selfhosted | 7 Apr 2023
A note from our sponsor - SonarQube
www.sonarqube.org | 30 May 2023
What are some of the best open-source Web Server projects in Go? This list will help you: