Skip to content
项目

关于

parrot.live 的扩展,支持更多动画!http://ascii.live

开发工具

这些数字如何统计

实测星标增长

24小时
+2
7天
+6
15天
+14
1个月
+34

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

The Go toolchain is managed by Hermit. Activate the environment to automatically download and use the pinned Go version:

source bin/activate-hermit

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
ahs3n knot.go torus-knot

Related Projects

探索相关项目

加载中…