modd
devd
Our great sponsors
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.
modd
- Implement auto-reload after update
-
Ask HN: Can I see your scripts?
There's also modd[0] which allows for many file watch pattern -> command combos to easily be defined & run simultaneously from a modd.conf file.
-
Hot reload in golang
i was using cortesi/modd for this while using docker. Since I change to Rancher with dockerd i wasn’t able to get live reloading working again, i also tried air but no luck.. out of curiosity did anyone have a similar issue?
-
Live Reload in Go with Air
Interesting. I've been using https://github.com/cortesi/modd for this for a while but I'll check this project out.
- Ask HN: What developer tools would you like to see?
- Live previewing LaTeX document?
- docker-compose without dockers
-
Live Reloading in Golang using Air
me likes: https://github.com/cortesi/modd A little more flexible for various files
-
We don’t use a staging environment
I use a somewhat similar approach for Pirsch [0]. It's build so that I can run it locally, basically as a fully fledged staging environment. Databases run in Docker, everything else is started using modd [1]. This has proven to be a good setup for quick iterations and testing. I can quickly run all tests on my laptop (Go and TypeScript) and even import data from production to see if the statistics are correct for real data. Of course, there are some things that need to be mocked, like automated backups, but so fare it turns out to work really well.
You can find more on our blog [2] if you would like to know more.
-
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
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.
What are some alternatives?
air - ☁️ Live reload for Go apps
goproxy - 🦁 goproxy is a proxy server which can forward http or https requests to remote servers./ goproxy 是一个反向代理服务器,支持转发 http/https 请求。
lets-proxy2 - Reverse proxy with automatically obtains TLS certificates from Let's Encrypt
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。
etcd - Distributed reliable key-value store for the most critical data of a distributed system
apex
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Ponzu - Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
traefik - The Cloud Native Application Proxy
algernon - Small self-contained pure-Go web server with Lua, Teal, Markdown, Ollama, HTTP/2, QUIC, Redis and PostgreSQL support
reflex - Run a command when files change
entr - Run arbitrary commands when files change