devd
traefik
Our great sponsors
devd | traefik | |
---|---|---|
9 | 183 | |
3,393 | 47,638 | |
- | 1.3% | |
0.0 | 9.2 | |
almost 2 years ago | 7 days ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
devd
-
Creating your own PDF templates (not page templates!)
Your technique is one I would turn towards as a developer who understands HTML/CSS flow so much better than I do any typesetting tool. I actually use a very similar technique for managing my CV and generating invoices for clients; I have a little "static site" generator I've written that takes JSON, throws it through a templating engine, and spits out HTML files. I then host a server in the output folder and print-to-pdf directly from there. This approach seems quite rare; I don't think enough people appreciate just how flexible CSS is or its support for common print-related tasks.
-
Live preview of vanilla CSS as I change it?
There are plenty of solutions to that specific problem. Nowadays, I only work on Nuxt/Next/Astro projects that come with hot reload out of the box so I don't have a need for it anymore, but I have used https://github.com/cortesi/devd a lot in the past, with much success.
A no-install solution would be to use the "workspace" feature of Chrome's Dev Tools:
1. Open your .html file in Chrome.
2. Open the Dev Tools.
3. In the "Sources" tab, activate the "Filesystem" sub-tab.
4. Click on "+ Add folder to workspace" and choose the directory containing your .html and .css files.
5. Edit the .css file with autocompletion and live preview.
6. Save your work so that it is synchronized with your filesystem.
In action: https://i.imgur.com/slcSt9X.gif
-
What is the Go equivalent of Node http-server?
Try https://github.com/cortesi/devd
- Ask HN: What developer tools would you like to see?
-
How do you live reload html pages in development?
This pair of tools do both front-end and back-end live reloading with a small amount of config: https://github.com/cortesi/modd https://github.com/cortesi/devd
- Big list of HTTP static server one-liners
- Just-In-Time: The Next Generation of Tailwind CSS – Tailwind CSS
-
Go 1.16 Release Notes
In tandem with https://github.com/cortesi/devd I've found it a good setup for web development.
Modd watches file changes and rebuilds, while Devd enables livereload, letting me make changes in my text editor and then see the rendered changes in the browser, side-by-side, in near real-time.
This is for go web development but I'm pretty sure these two tools are language-agnostic.
-
Asset won’t load. Help?
My favourite is https://github.com/cortesi/devd
traefik
-
How to securely reverse-proxy ASP.NET Core web apps
However, it's very unlikely that .NET developers will directly expose their Kestrel-based web apps to the internet. Typically, we use other popular web servers like Nginx, Traefik, and Caddy to act as a reverse-proxy in front of Kestrel for various reasons:
-
Deploying Web Apps with Caddy: A Beginner's Guide Caddy
Not as good though. Case in point: https://github.com/traefik/traefik/issues/5472#issuecomment-... (that's just from this morning)
I'm speak objectively here. Of course, any built-in auto HTTPS that works (more or less) is better than none. Traefik uses an ACME library that was originally written for Caddy. After the original author left that project, Traefik team started maintaining it. Caddy's users' requirements exceeded what the library was capable of, but unfortunately there was friction in getting it to achieve our requirements. So I ended up writing a new ACME client library in Go and, together with upgrades in CertMagic (Caddy's auto-TLS lib), Caddy has the more flexible, robust, and capable auto-HTTPS functionality.
That is to say, not all auto-HTTPS functionalities are the same.
-
Security Workshop Part 1 - Put up a gate
We'll use Traefik, an open source cloud native gateway that can plug into a Kubernetes cluster. It has the concept of "middleware" that can process API requests before passing them through to a backend. We can configuring a rate limit for all of our API endpoints by matching on the request path:
-
Install plugin in k8s cluster running in Kind
I did the same question here and here
- The Tailscale Universal Docker Mod
-
Set Default Config in traefik.toml and overwrite with specific container config
Sadly there is currently no way of doing so. https://github.com/traefik/traefik/issues/6999
- Istio moved to CNCF Graduation stage
-
Docker Services question
Traefik is another widely used system that has automatic configuration and offers support for more things like swarm/kubernetes/etc.
-
nginx alternatives
I have a webapp which I currently have deployed by running nginx in a container. Works as it should, however I am intersted in adding more observability to the webapp and found this reverse-proxy https://github.com/traefik/traefik which seems to expose some nice metrics which can be useful for observability.
-
Make traefik only accessible over tailscale
``` more details in this (github issue)[https://github.com/traefik/traefik/issues/5059]
What are some alternatives?
goproxy - 🦁 goproxy is a proxy server which can forward http or https requests to remote servers./ goproxy 是一个反向代理服务器,支持转发 http/https 请求。
Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface
lets-proxy2 - Reverse proxy with automatically obtains TLS certificates from Let's Encrypt
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
goproxy - 🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。
ingress-nginx - Ingress-NGINX Controller for Kubernetes
etcd - Distributed reliable key-value store for the most critical data of a distributed system
Squid - Squid Web Proxy Cache
apex
envoy - Cloud-native high-performance edge/middle/service proxy
socks5-proxy-server - SOCKS5 proxy server