https://github.com/mvrilo/boxes
Boxes is a simple ascii box builder.
https://github.com/mvrilo/boxes
ascii box cli go
Last synced: 4 months ago
JSON representation
Boxes is a simple ascii box builder.
- Host: GitHub
- URL: https://github.com/mvrilo/boxes
- Owner: mvrilo
- License: mit
- Created: 2020-11-25T23:47:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-05T13:44:52.000Z (over 4 years ago)
- Last Synced: 2025-03-26T19:02:13.601Z (4 months ago)
- Topics: ascii, box, cli, go
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# boxes
[](https://godoc.org/github.com/mvrilo/boxes)
[](https://goreportcard.com/report/github.com/mvrilo/boxes?_=1)Boxes is a simple ascii box builder.
## Example
```go
package mainimport "github.com/mvrilo/boxes"
func main() {
box, _ := boxes.New().Padding(3).WriteString("hey there!")
println(string(box.Render()))
}
``````
$ go run examples/box/main.go
.----------------.
| |
| hey there! |
| |
'----------------'$ go run examples/canvas/main.go
.-----------------. .-----------------------.
| | | |
| hello world | | boxes is a simple |
| | | ascii box builder |
'-----------------' | |
| :) |
| |
'-----------------------'
```## License
MIT
## Author
Murilo Santana <>