🐰 Animated bunny sign for your terminal (Go version)
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.
Use Cases
- 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
Installation
Using go install (Recommended)
go install github.com/fsgreco/go-bunny-sign/cmd/bunnysign@latest
Download Pre-built Binaries
Download 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.
As a Library
go get github.com/fsgreco/go-bunny-sign
Usage
Command Line
# After installing with go install bunnysign "Hello, World!" # Multiple messages bunnysign "First message" "Second message" # Clear after display bunnysign -c "This message will disappear"
In Your Go Code
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 }
Building from Source
# 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/bunnysign
Contributing
Pull 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.
Next Steps (ideally)
Testing & Quality Assurance
- Add unit tests
- Set up golangci-lint with
.golangci.ymlconfiguration
CI/CD & Automation
- GitHub Actions workflow Once tests are in place enable
ci.yml - Automated releases with cross-platform binaries
Documentation & Standards
- Study how godoc comments wok
- Create
CONTRIBUTING.mdand move the section - Improve .gitignore
Project Structure Improvements
- Add pkg/ folder or rename
bunnysignpkg - Improve error handling with proper error wrapping
License
MIT
Related Projects
- bunny-sign - The original JavaScript version
Made with ❤️ and questionable life choices by fsgreco