1.6.8 β€’ Published 4 months ago

musicard-bun v1.6.8

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

musicard-bun 🎡

The kawaii πŸ’• npm package for generating sugoi 🀩 music cards for your apps and sites!

npm install musicard-bun

This package is a fun fork of musicard with some radical new features 🌈 for maximum sugoi-ness!

Support Server

Usage

Generate a music card like normal:

(async () => {
    const { musicCard } = require("musicard-bun");
    const fs = require("fs");

    const card = new musicCard()
        .setName("Bad Habits")
        .setAuthor("By Ed Sheeran")
        .setColor("auto")
        .setTheme("dynamic")
        .setBrightness(50)
        .setThumbnail("https://static.qobuz.com/images/covers/ga/ua/rmk2cpqliuaga_600.jpg")
        .setProgress(10)
        .setStartTime("0:00")
        .setEndTime("3:00")

    const cardBuffer = await card.build();

    fs.writeFileSync(`musicard.png`, cardBuffer);
    console.log("Done!");
})();

The anime theme makes your cards look kawaii with rainbow sparkles and text 🌸✨

Here's a preview:

This is the anime output of musicard. anime

This is the classic output of musicard. classic

This is the dynamic output of musicard. dynamic

This is the space output of musicard. space

This is the space+ output of musicard. space

Rank Card

Generate a rank card like this:

(async () => {
   const { RankCard } = require("musicard-bun");
   const fs = require("fs");

   const card = new RankCard()
       .setName("Ayush")
       .setLevel("Level 22")
       .setColor("auto")
       .setBrightness(100)
       .setAvatar("https://static.qobuz.com/images/covers/ga/ua/rmk2cpqliuaga_600.jpg")
       .setProgress(38)
       .setRank("56")
       .setCurrentXp("589")
       .setRequiredXp("100000")
       .setShowXp(true);
    

   const cardBuffer = await card.build();

   fs.writeFileSync(`RankCard.png`, cardBuffer);
   console.log("Done!");
})()

Preview:

RankCard

Credits

"We don't just copy, we paste with style."

Our core philosophy is simple:

Find something popular Copy it Slap better things on it

Original musicard package by A3PIRE

1.6.8

4 months ago

1.6.7

4 months ago

1.6.6

4 months ago

1.6.5

4 months ago

1.6.4

4 months ago

1.6.3

4 months ago

1.6.2

4 months ago

1.6.0

5 months ago

1.5.12

5 months ago

1.5.13

5 months ago

1.5.11

5 months ago

1.5.5

5 months ago

1.5.4

5 months ago

1.5.3

5 months ago

1.5.2

5 months ago

1.5.10

5 months ago

1.5.9

5 months ago

1.5.8

5 months ago

1.5.7

5 months ago

1.5.6

5 months ago

1.5.1

6 months ago

1.5.0

6 months ago