프로젝트
GitHub에서 보기
addyosmani/firew0rks
소개
터미널에서 불꽃놀이 🎆
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalfirew0rks
Play text art animations in your terminal! This package includes several pre-made animations like fireworks and a cozy fireplace.
Installation
npx firew0rks
Usage
npx firew0rks [folder] [loops]
Parameters (all optional):
[folder]: Folder containing text art frames (numbered 0.txt, 1.txt, etc.). Defaults to 'fireworks'[loops]: Number of times to loop the animation (-1 for infinite). Defaults to 20
Examples
Run with defaults (fireworks animation, 20 loops):
npx firew0rks
Play the fireworks animation with custom loops:
npx firew0rks fireworks 3
Enjoy a cozy fireplace forever:
npx firew0rks fireplace -1
Local Development
To run the package locally:
- Clone the repository
- Run directly with Node:
node index.js
# Or with custom parameters:
node index.js fireplace 5
Creating Your Own Animations
- Create a new folder for your animation
- Add text art frames as numbered .txt files (0.txt, 1.txt, 2.txt, etc.)
- Run firew0rks with your folder name
Acknowledgments
This project is a JavaScript port of text_art_animations by rvizzz. Thank you for the inspiration and the amazing ASCII art animations!
License
MIT
관련 프로젝트 살펴보기
불러오는 중…