From 7080de7c46d2fcb1416f815be1bb4330c6888d7a Mon Sep 17 00:00:00 2001 From: Matt A <9440455+matt-allan@users.noreply.github.com> Date: Fri, 20 Aug 2021 08:56:45 -0400 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9d18bd8..074e42a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # tplenv -A tiny binary for templating plain text with environment variables. Like [`envsubst`](https://linux.die.net/man/1/envsubst) but smaller and simpler. +A tiny binary for templating plain text with environment variables. Like [`envsubst`](https://linux.die.net/man/1/envsubst) but simpler. # Installation @@ -23,9 +23,9 @@ Hello matt! - No dynamic memory allocations - Available as a standalone, cross platform binary that's easy to install without a package manager - Written in Zig instead of C -- Much smaller: ~100K instead of the ~19MB you will have to download to get `envsubst` +- Much smaller downloads: ~100K instead of the ~19MB you will have to download to get `envsubst` (the binary itself is about the same size though) - Native binaries for ARM Macs and Alpine containers (links [musl](https://musl.libc.org/) instead of gcc) # Why? -When you're building a [Twelve-Factor App](https://12factor.net/) you store config in environment variables. But some config file formats don't support environment variables (i.e. Nginx). You can use `envsubst` but then you have to install the entirety of [`gettext`](https://www.gnu.org/software/gettext/) in every environment, which pulls in about 2MB of binaries and isn't the easiest to install on all platforms. This tool is small enough you can usually afford to bundle it as a dependency. \ No newline at end of file +When you're building a [Twelve-Factor App](https://12factor.net/) you store config in environment variables. But some config file formats don't support environment variables (i.e. Nginx). You can use `envsubst` but then you have to install the entirety of [`gettext`](https://www.gnu.org/software/gettext/) in every environment, which pulls in about 2MB of binaries and isn't the easiest to install on all platforms. This tool is small enough you can usually afford to bundle it as a dependency.