devd
reflex
Our great sponsors
devd | reflex | |
---|---|---|
9 | 15 | |
3,393 | 3,266 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | 6 months 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
reflex
- How to start a Go project in 2023
- Implement auto-reload after update
- File System Watcher
- Watchman: Execute a command when something changes
-
Live Reload in Go with Air
Neat. I've used reflex in the past for this.
-
Fzf – a command-line fuzzy finder
entr is written in C, watchexec is written in Rust.
There's another one that I've used that is written in go: https://github.com/cespare/reflex
I am inclined to use watchexec next time I need one.
-
How do you live reload html pages in development?
rerun your go program when you change a file https://github.com/cespare/reflex
-
Testing flow for Go in VS Code?
There are tools like https://github.com/cespare/reflex that run a command when specific files are changing. You could use it to run go test whenever one of your files changes, so the changes would be reflected instantly in the terminal.
- Mainteneur sur un petit projet pendant Hacktoberfest
-
Dockerize your Go app
We'll be using Reflex as part of our development workflow. If you're not familiar, Refelx provides live reload when developing.
What are some alternatives?
goproxy - 🦁 goproxy is a proxy server which can forward http or https requests to remote servers./ goproxy 是一个反向代理服务器,支持转发 http/https 请求。
air - ☁️ Live reload for Go apps
lets-proxy2 - Reverse proxy with automatically obtains TLS certificates from Let's Encrypt
Go for Visual Studio Code
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。
modd - A flexible developer tool that runs processes and responds to filesystem changes
etcd - Distributed reliable key-value store for the most critical data of a distributed system
golang-docker-cache - Improved docker Golang module dependency cache for faster builds.
apex
Yampa - Functional Reactive Programming domain-specific language for efficient hybrid systems
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
go-md2man