46 lines
2 KiB
Markdown
46 lines
2 KiB
Markdown
![]() |
# ascii.live
|
||
|
|
||
|
A project for hosting curl-based animations, all in one place, and a follow up to [`parrot.live`](https://github.com/hugomd/parrot.live).
|
||
|
|
||
|
Any animations you want to add are welcome! 🎉
|
||
|
|
||
|
Try it out in your terminal:
|
||
|
```bash
|
||
|
curl ascii.live/parrot
|
||
|
```
|
||
|
|
||
|
<img src="./demo.gif" width="400"/>
|
||
|
|
||
|
## Adding frames
|
||
|
* [Fork this repository](https://github.com/hugomd/ascii-live/fork)
|
||
|
* Create a new frame file in [`/frames`](./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.
|
||
|
```Golang
|
||
|
package frames
|
||
|
|
||
|
// This is the value stored in the FrameMap
|
||
|
var MyAnimation = DefaultFrameType(myAnimationFrames)
|
||
|
|
||
|
var myAnimationFrames = []string{
|
||
|
`Frame1`,
|
||
|
`Frame2`,
|
||
|
`Frame3`,
|
||
|
}
|
||
|
```
|
||
|
* In [`./frames/frames.go`](./frames/frames.go), add your animation to the `FrameMap`
|
||
|
* Commit and push your changes, and make a PR! If this is your first time making a PR, [check GitHub's help page on the topic](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request)
|
||
|
|
||
|
## Frame Contributions
|
||
|
Here's a list of lovely people who have contribute frames to this project:
|
||
|
|
||
|
| Contributor | Frame File | Repository |
|
||
|
|---------------------------------------|-----------------------------------------------|-----------------------------------------------------------------|
|
||
|
| [hexrcs](https://github.com/hexrcs) | [`forrest.go`](./frames/forrest.go) | [`run-forrest-run`](https://github.com/hexrcs/run-forrest-run) |
|
||
|
| [jmhobbs](https://github.com/jmhobbs) | [`parrot.go`](./frames/parrot.go) | [`terminal-parrot`](https://github.com/jmhobbs/terminal-parrot) |
|
||
|
|
||
|
## Related Projects
|
||
|
* [parrot.live](https://github.com/hugomd/parrot.live)
|
||
|
* [terminal-parrot](https://github.com/jmhobbs/terminal-parrot)
|
||
|
* [cultofthepartyparrot.com](https://github.com/jmhobbs/cultofthepartyparrot.com)
|
||
|
* [parrotsay](https://github.com/matheuss/parrotsay)
|