Your cart is currently empty!
Category: Programming
-
Keeping FRP Up to Date with a One-Line Script
If you run reverse proxies or tunneling setups on your homelab or servers, chances are you’ve come across FRP (Fast Reverse Proxy). It’s an open-source project that makes it easy to expose services behind NAT/firewalls via a client (frpc
) and a server (frps
).
The project is very active, and new releases roll out often. But keeping your binaries (/usr/local/bin/frps
,/usr/local/bin/frpc
) updated across multiple servers can be a hassle — especially if you’re running them under systemd instances like[email protected]
,[email protected]
, etc.To solve that, here’s a simple script you can drop into
/usr/local/bin/frp-update
. It will:- Check the latest release on GitHub
- Compare against your currently installed version (
frpc
first, thenfrps
) - Download and install the new binaries if needed
- Leave your running services untouched (you can restart them manually when ready)
-
A good font for coding
The folks over at JetBrains have provided a free programming font family, dubbed JetBrains Mono. It is open source and is highly optimized for coding, console sessions and configuration file editing views. Personally, I find it to be more legible than Google’s Source Code Pro or Ubuntu Mono. It is now my default monospaced font, but your mileage may vary.
(more…)