How hugomd/ascii-live works
ascii.live serves looping ASCII animations over HTTP to curl clients. The main workflow routes a request to an animation, checks that it exists and that the client identifies as curl, then streams frames until the client disconnects; /list exposes available names. The README documents a catalog of contributed animations. The animation registry and playback type are represented together because the source excerpt does not show their implementation; the README supports the registration relationships, but individual registrations were not inspected.
Main entry points: frames.go Frame registry and type · main.go HTTP routes and playback · astrend.go Astrend · batman&robin.go Batman & Robin
Components 24
HTTP server
- HTTP routes and playback
main.go
Animation catalog
- Frame registry and type
frames/frames.go
Animation frames
- Astrend
frames/astrend.go - Batman & Robin
frames/batman&robin.go - Batman
frames/batman.go - Bomb
frames/bomb.go - Brittany
frames/brittany.go - Coin
frames/coin.go - Donut
frames/donut.go - DVD
frames/dvd.go - Earth
frames/earth.go - Forrest
frames/forrest.go - India
frames/india.go - Kitty
frames/kitty.go - Torus knot
frames/knot.go - Maxwell
frames/maxwell.go - Nebulae HES
frames/nebulaehes.go - Nyan
frames/nyan.go - Parrot
frames/parrot.go - Purdue
frames/purdue.go - Rick
frames/rick.go - Spidy swing
frames/spidyswing.go - Time
frames/time.go
Other components
- Terminal user
Connections 23
- Terminal user → HTTP routes and playback: requests animation
README.md - HTTP routes and playback → Frame registry and type: looks up frames
main.go - Frame registry and type → Astrend: maps animation
README.md - Frame registry and type → Batman & Robin: maps animation
README.md - Frame registry and type → Batman: maps animation
README.md - Frame registry and type → Bomb: maps animation
README.md - Frame registry and type → Brittany: maps animation
README.md - Frame registry and type → Coin: maps animation
README.md - Frame registry and type → Donut: maps animation
README.md - Frame registry and type → DVD: maps animation
README.md - Frame registry and type → Earth: maps animation
README.md - Frame registry and type → Forrest: maps animation
README.md - Frame registry and type → India: maps animation
README.md - Frame registry and type → Kitty: maps animation
README.md - Frame registry and type → Torus knot: maps animation
README.md - Frame registry and type → Maxwell: maps animation
README.md - Frame registry and type → Nebulae HES: maps animation
README.md - Frame registry and type → Nyan: maps animation
README.md - Frame registry and type → Parrot: maps animation
README.md - Frame registry and type → Purdue: maps animation
README.md - Frame registry and type → Rick: maps animation
README.md - Frame registry and type → Spidy swing: maps animation
README.md - Frame registry and type → Time: maps animation
README.md