1
mirror of https://github.com/hugomd/ascii-live synced 2024-11-16 20:00:32 +01:00
Go to file
Hugo Müller-Downing 0e53a4799f Adds Dvd frames
2023-10-08 17:24:49 +11:00
.github/workflows Initial commit 🎉 2019-11-20 19:44:55 +11:00
deployment Updates deployment.yml to use latest image 2023-03-16 17:52:28 +11:00
frames Adds Dvd frames 2023-10-08 17:24:49 +11:00
demo.gif Initial commit 🎉 2019-11-20 19:44:55 +11:00
Dockerfile Update Dockerfile 2023-10-08 17:08:12 +11:00
go.mod Update go.mod 2023-10-08 17:08:12 +11:00
go.sum Initial commit 🎉 2019-11-20 19:44:55 +11:00
LICENSE Initial commit 🎉 2019-11-20 19:44:55 +11:00
main.go Adds mechanism to set custom sleep time for frames 2023-10-08 17:24:39 +11:00
README.md Adds torus knot 2023-10-08 16:18:53 +11:00

ascii.live

A project for hosting curl-based animations, all in one place, and a follow up to parrot.live.

Any animations you want to add are welcome! 🎉

Try it out in your terminal:

curl ascii.live/parrot

Running locally

To run the server locally on port 8080, run:

go run main.go

Running in Docker

docker run -p 8080:8080 hugomd/ascii-live:latest

Adding frames

  • Fork this repository
  • Create a new frame file in /frames, call it the name of your frames/animation, e.g. parrot.go
  • Inside your new file, create an exported list of frames, e.g.
package frames

// This is the value stored in the FrameMap
var MyAnimation = DefaultFrameType(myAnimationFrames)

var myAnimationFrames = []string{
  `Frame1`,
  `Frame2`,
  `Frame3`,
}

Frame Contributions

Here's a list of lovely people who have contributed frames to this project:

Contributor Frame File Repository
hexrcs forrest.go run-forrest-run
jmhobbs parrot.go terminal-parrot
01000001 knot.go torus-knot