https://github.com/scriptogre/tailwindcss-go-tool
Run TailwindCSS CLI as a Go Tool.
https://github.com/scriptogre/tailwindcss-go-tool
go golang tailwindcss tailwindcss-cli
Last synced: 3 months ago
JSON representation
Run TailwindCSS CLI as a Go Tool.
- Host: GitHub
- URL: https://github.com/scriptogre/tailwindcss-go-tool
- Owner: scriptogre
- Created: 2025-06-14T15:53:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-19T00:06:57.000Z (3 months ago)
- Last Synced: 2026-04-01T05:53:23.210Z (3 months ago)
- Topics: go, golang, tailwindcss, tailwindcss-cli
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tailwind CSS CLI as a Go Tool
A dead simple way to run Tailwind CSS standalone CLI using `go tool` [released with Go 1.2.4](https://tip.golang.org/doc/go1.24#tools).
No more **Node.JS**. No more **manual downloads**.
## Usage
1. Install it:
```bash
go get -tool github.com/scriptogre/tailwindcss-go-tool@latest
```
2. Create `input.css` in your project:
```css
@import 'tailwindcss';
```
3. Run it:
```bash
go tool tailwindcss -i input.css -o output.css --watch
```
That's it!
**Note:** Downloaded TailwindCSS binary is cached in `~/.cache/tailwindcss-go-tool/`