This Go package lets you display animated messages with an adorable bunny holding a sign. Because, why not?
| ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄|
Hey kids! Don't
you want a bunny
for your terminal?
|_____________|
(\__/) ||
(•ㅅ•) ||
/ づ
Note
This project has been done for educational purposes, it's my first Go package.
It is actually the Go porting of the original bunny-sign JavaScript package.
- Announce important messages with the gravitas that only a bunny can provide
- Improve the mood of developers reviewing your logs
- Make your Go applications inexplicably delightful
- Just a new funny way to waste time on your terminal
go install github.com/fsgreco/go-bunny-sign/cmd/bunnysign@latestDownload the latest binary for your platform from GitHub Releases:
- Windows:
bunnysign_v1.0.0_windows_amd64.zip - macOS:
bunnysign_v1.0.0_darwin_amd64.tar.gz(Intel) orbunnysign_v1.0.0_darwin_arm64.tar.gz(Apple Silicon) - Linux:
bunnysign_v1.0.0_linux_amd64.tar.gzorbunnysign_v1.0.0_linux_arm64.tar.gz
Extract the binary and add it to your PATH.
go get github.com/fsgreco/go-bunny-sign# After installing with go install
bunnysign "Hello, World!"
# Multiple messages
bunnysign "First message" "Second message"
# Clear after display
bunnysign -c "This message will disappear"Import the package and use it in your applications:
package main
import (
"github.com/fsgreco/go-bunny-sign/bunnysign"
)
func main() {
// Show multiple messages in sequence
messages := []string{"First message", "Then this one", "And finally this"}
bunnysign.Display(messages, true) // pass false if you want to clear also the last message
}# Clone the repository
git clone https://github.com/fsgreco/go-bunny-sign.git
cd go-bunny-sign
# Build the CLI binary
go build -o bin/bunnysign ./cmd/bunnysign
# OR use make if you have it: `make build`
# Run the binary
bin/bunnysign "Hello, Friend!"
# Or install locally
go install ./cmd/bunnysignPull requests are welcome! Just ensure no bunnies are harmed during the process.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes (Add tests if applicable)
- Commit and push the branch
- Open a Pull Request.
- Add unit tests
- Set up golangci-lint with
.golangci.ymlconfiguration
- GitHub Actions workflow Once tests are in place enable
ci.yml - Automated releases with cross-platform binaries
- Study how godoc comments wok
- Create
CONTRIBUTING.mdand move the section - Improve .gitignore
- Add pkg/ folder or rename
bunnysignpkg - Improve error handling with proper error wrapping
MIT
- bunny-sign - The original JavaScript version
Made with ❤️ and questionable life choices by fsgreco