Releases: 1mb-dev/gowsay
Releases · 1mb-dev/gowsay
gowsay v2.0.0 🐮
gowsay v2.0.0 🐮
A complete refactoring of gowsay focused on simplicity, maintainability, and modern Go practices.
What's New
Single Binary, Multiple Modes
- CLI Tool: Full-featured command-line interface with pipe support
- Web UI: Modern, polished interface with dark mode
- JSON API: RESTful endpoints for Slack and other integrations
- 51 Cow Variations: More moo-tastic characters than ever
- 8 Moods: borg, dead, greedy, paranoid, stoned, tired, wired, young
Key Features
- 🎨 Modern web UI with dark mode toggle
- 📋 Copy to clipboard functionality
- 📱 Mobile responsive design
- 🚀 Single binary deployment with embedded assets
- ✅ Comprehensive test suite (89.7% API, 97.6% core rendering)
- 🔄 GitHub Actions CI/CD pipeline
- 🤖 Dependabot for automated dependency updates
Breaking Changes
- Removed legacy Tokopedia dependencies (grace, logging, gcfg)
- Switched to stdlib
net/httpfor server - Configuration now via environment variables only (no config files)
Installation
Download Pre-built Binaries
Choose your platform from the assets below.
From Source
```bash
go install github.com/vnykmshr/gowsay@v2.0.0
```
Docker
```bash
docker pull ghcr.io/vnykmshr/gowsay:v2.0.0
```
Usage
CLI
```bash
gowsay hello world
gowsay -c dragon -m dead "fire and blood"
echo "from stdin" | gowsay -c tux
```
Server
```bash
gowsay serve
or
PORT=8080 GOWSAY_TOKEN=secret gowsay serve
```
Bug Fixes
- Fixed random cow selection bug (removed non-existent 'kiss' cow)
- Resolved CI lint errors and test failures
- Fixed Dependabot configuration validation
- Updated documentation accuracy
Full Changelog
See CHANGELOG.md for complete details.
Upgrade Notes
If upgrading from v1.x, note the breaking changes above. Configuration files are no longer supported - use environment variables instead.