A simple CLI tool that generates a v4 UUID, prints it to the console, and automatically copies it to your clipboard.
- Go 1.23.4+ installed
- A
/usr/local/bin/directory (or equivalent) in your PATH
- Secure UUID Generation
Usesgithub.com/google/uuidto generate a standards-compliant v4 UUID. - Automatic Clipboard Copy
Instantly copies the new UUID to your clipboard viagithub.com/atotto/clipboard.
-
Clone the repo
git clone https://github.com/Plasmatech-Studios/uuid.git cd uuid -
Build
go build -o uuid main.go
-
(Optional) Install globally
sudo mv -f uuid /usr/local/bin/uuid
You can also install directly with:
go install github.com/Plasmatech-Studios/uuid@latest
# Generate a UUID and copy it to your clipboard
uuidWhat happens:
- The new UUID is printed to your terminal.
- It’s already in your clipboard—just press ⌘V / Ctrl+V to paste.
PRs, stars ⭐, and issues are all welcome!
This project is licensed under the MIT License.