juspay / omnix

🚧 A Nix wrapper to improve developer experience
https://omnix.page
GNU Affero General Public License v3.0
70 stars 5 forks source link

`curl`able install of static binary #207

Open srid opened 1 month ago

srid commented 1 month ago

Let's provide a command like the following the installs omnix:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.omnix.page/cli | sh -s -- install

We need to figure out where to upload the binary, and how to serve it.

(This not high priority or critical for MVP; since it will be less useful without #206 anyway)

srid commented 18 hours ago

Another reason for having curlable static binary is that to run the health command itself, the user may end up compiling omnix from scratch, because they haven't added themselves to trusted-users yet (which health will catch, but only in future).

I noticed this during https://x.com/sridca/status/1834327210301210873