You need to decode a JWT, format a messy JSON payload, or split a 10.20.0.0/16 block into subnets. Searching for a free web converter and pasting your string into the first result is tempting. If that payload holds an internal API token, a production config, or a customer email, you just leaked sensitive data to a third-party server. Worse, those sites vanish the moment your internet drops or you work inside an air-gapped VLAN.
Running IT-Tools locally fixes both issues in minutes. It packs over 80 developer and sysadmin utilities into one lightweight web app. You get hash generators, JWT decoders, YAML-to-JSON converters, regex testers, cron parsers like 0 */6 * * *, and IPv4 subnet calculators—all hosted inside your own HomeLab.
Comparing Approaches for Everyday Utility Workflows
Before adding another container to your stack, compare the three ways most engineers handle quick data conversions and network math:
- Public web utilities: Zero setup, but they need internet access, often run ad trackers, and expose your strings to unknown servers.
- Local CLI tools and aliases: Utilities like
jq,openssl, andipcalcare fast and offline-safe. Still, memorizing flags across Linux and macOS—or sharing one-liners with teammates—gets old fast. - Self-hosted IT-Tools on Docker: Runs as a static web app inside a small container on your LAN. Every calculation executes in your browser, nothing leaves your network, and anyone on your team can bookmark the same internal URL.
Keeping CLI tools for scripts and IT-Tools for visual checks works well in practice. When you need to inspect a Base64-encoded Kubernetes secret or debug a regex pattern, opening a local tab beats digging through man pages.
Pros and Cons of Self-Hosting IT-Tools
Deploying IT-Tools takes little effort, though it helps to know where it shines and where it falls short.
What Works Well
- True offline operation: Once you pull the image, IT-Tools needs zero external network access. It runs reliably on isolated lab VLANs and air-gapped hosts.
- Client-side privacy: Because the app is a Vue.js bundle served by Nginx, your inputs never touch a remote server or even the container’s disk.
- Tiny footprint: The container typically idles around 20–40 MB of RAM with near-zero CPU usage. Even an older Raspberry Pi or low-power mini PC handles it easily alongside other services.
- Shared team toolbox: Skip installing browser extensions on every workstation. Host it once, and everyone on your network gets the same toolset from any laptop or tablet.
Trade-Offs to Keep in Mind
- No built-in authentication: IT-Tools has no user accounts or login page. If you need access control, put it behind a reverse proxy with auth or restrict it to your private subnet.
- Stateless by design: It handles quick conversions and lookups, not long-term snippet storage or collaborative workspaces.
- Browser memory limits: Formatting a 50 MB JSON dump in a browser tab will lag compared to piping it through
jqin a terminal.
My Recommended HomeLab Setup
IT-Tools is just a static frontend served over HTTP. There are no databases, persistent volumes, or environment variables to manage. That simplicity makes it easy to lock down the container from day one.
Four habits keep this deployment clean and low-risk:
- Bind to localhost or a private LAN IP: Never expose port 8080 to the public internet. Reach it over your local subnet, a WireGuard or Tailscale tunnel, or an internal reverse proxy.
- Use a read-only root filesystem: Because the container only serves static files, blocking writes at runtime prevents unwanted modifications.
- Drop Linux capabilities: Stripping default capabilities shrinks the attack surface without affecting Nginx.
- Pin the image tag: Using a specific release tag instead of
latestprevents surprise UI changes during automated Watchtower or Renovate updates.
Once configured this way, the container starts in under a second, survives host reboots cleanly, and needs almost no ongoing maintenance.
Step-by-Step Implementation Guide
Before starting, confirm that Docker Engine and the Docker Compose plugin are installed on your HomeLab host.
1. Quick Test with Docker Run
Want to preview IT-Tools right away? Spin up a single disposable container:
docker run -d \
--name it-tools-test \
-p 127.0.0.1:8080:80 \
--restart unless-stopped \
ghcr.io/corentinth/it-tools:latest
Visit http://127.0.0.1:8080 in your browser to confirm the UI loads. When you finish testing, remove it with docker rm -f it-tools-test.
2. Hardened Docker Compose Deployment
For a permanent setup, use Docker Compose with security hardening and resource caps built in. First, create a directory for the stack:
mkdir -p ~/stacks/it-tools && cd ~/stacks/it-tools
Next, save this configuration as compose.yaml:
services:
it-tools:
image: ghcr.io/corentinth/it-tools:2024.10.22-7ca5933
container_name: it-tools
restart: unless-stopped
ports:
- "127.0.0.1:8080:80"
read_only: true
tmpfs:
- /var/cache/nginx:rw,noexec,nosuid
- /var/run:rw,noexec,nosuid
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- NET_BIND_SERVICE
security_opt:
- no-new-privileges:true
deploy:
resources:
limits:
memory: 128M
cpus: "0.50"
Three details in this file do the heavy lifting:
127.0.0.1:8080:80: Binding to loopback restricts access to the host itself, which pairs well with a local reverse proxy like Caddy or Nginx Proxy Manager. If you prefer direct LAN access without a proxy, swap127.0.0.1for your host’s private IP, such as192.168.1.50:8080:80.read_only: true+tmpfs: Nginx needs writable directories for its PID file and cache. Mounting/var/cache/nginxand/var/runin RAM keeps the root filesystem immutable without breaking startup.cap_drop: [ALL]: Drops every Linux capability, then restores only the four Nginx needs to bind port 80 and drop worker privileges.
Launch the stack in detached mode:
docker compose up -d
3. Verify the Container and Offline Readiness
Confirm the container is healthy and staying well below its 128 MB memory limit:
docker compose ps
docker stats --no-stream it-tools
To verify offline readiness, open your browser’s Developer Tools, switch to the Network tab, and reload the page. Every asset—JavaScript, CSS, and fonts—loads directly from your container with zero external requests.
4. Operational Tips for Long-Term Use
- Serve it over internal HTTPS: Browsers restrict clipboard APIs like
navigator.clipboardto secure contexts (https://orlocalhost). Accessing IT-Tools via a plain HTTP LAN IP can break one-click copy buttons for generated passwords or hashes. Placing it behind an internal reverse proxy with a local CA or self-signed certificate solves this. - Set a memorable local hostname: Point a clean name like
tools.home.arpain your internal DNS resolver (such as Pi-hole or AdGuard Home) so you never have to type port numbers. - Keep an offline image archive: For air-gapped labs, export the image once with
docker save ghcr.io/corentinth/it-tools:2024.10.22-7ca5933 -o it-tools.tar. You can then load it onto any disconnected host withdocker load -i it-tools.tar.
Now you have a fast, private utility suite ready for daily development and sysadmin work—and your tokens, configs, and network maps never leave your HomeLab.
