Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 source realm

Package cowsaydemo is a small gnoweb demo of the cowsay renderer provided by the [p/moul/x/daily/cowsay](/p/moul/x/da...

Readme View source

gno.land/r/moul/x/daily/cowsaydemo/v0

Interactive gnoweb demo of the p/moul/x/daily/cowsay library — it makes the classic ASCII cow say whatever you put in the path. It has no rendering logic of its own.

Append a message to the path to make the cow say it, e.g. /r/moul/x/daily/cowsaydemo/v0:Hello, gno.land!.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

Dependency graph:

gno.land/r/moul/x/daily/cowsaydemo/v0 dependency graph

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.

Overview

Package cowsaydemo is a small gnoweb demo of the cowsay renderer provided by the p/moul/x/daily/cowsay(/p/moul/x/daily/cowsay/v0) library: it makes the ASCII cow say whatever you put in the path.

It contains no rendering logic of its own — the art comes entirely from `cowsay.Say`.

Functions 1

func Render

1func Render(path string) string
source

Render displays the cow for gnoweb.

Example
1Render("")             -> default message ("Moo!")
2Render("/hello there") -> renders "hello there", word-wrapped

Imports 2

Source Files 3