Skip to content
المشاريع

حول

ألعاب نارية في الطرفية 🎆

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

firew0rks

Play text art animations in your terminal! This package includes several pre-made animations like fireworks and a cozy fireplace.

Eowzf_jWMAAk43x

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:

  1. Clone the repository
  2. Run directly with Node:
node index.js
# Or with custom parameters:
node index.js fireplace 5

Creating Your Own Animations

  1. Create a new folder for your animation
  2. Add text art frames as numbered .txt files (0.txt, 1.txt, 2.txt, etc.)
  3. 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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…