pintariching / railwind

Tailwind compiler rewritten in rust
MIT License
320 stars 9 forks source link

Provide some way of installing without cargo? #32

Open saolof opened 1 year ago

saolof commented 1 year ago

The fact that this removes the dependency on node and technically only needs a fairly small binary would make it very convenient to have when writing dockerfiles, especially there is an easy way to install a small build of it on alpine linux.

There are quite a few docker users whose main reason to not use tailwind is because the nodejs docker image is huge, so that adding tailwind as a dependency would make the docker build more complex, but who would prefer using tailwind over writing plain css.

pintariching commented 1 year ago

I was thinking of creating an NPM and Deno package, as well as having a prebuilt standalone binaries available through a link to download and run. I think this would be ideal for use with docker?

pintariching commented 1 year ago

If anybody wants to help with creating a workflow to release the railwind CLI binary? I'm not well versed with the github actions :sweat_smile:.

leiserfg commented 1 year ago

You can use https://github.com/marketplace/actions/rust-release-binary