Bun utilities to LGBTize anything. Node.js is not supported. Deno is not supported.
Check out Telegram bot that paints pictures to LGBT flag.
Uses ImageMagick's hue shifting under the hood. magick convert must be installed and available in PATH.
Example with local file:
import { lgbt } from 'lgbt'
const heterostink = await Bun.file("normis.png").bytes();
const gayslay = await lgbt(heterostink);
await Bun.write("lgbtized.png", gayslay);Example with remote file:
import { lgbt } from 'lgbt'
const bun = await fetch("https://bun.sh/logo.svg").then(res => res.arrayBuffer());
const epicbun = await lgbt(bun);
await Bun.write("epicbunlogo.png", epicbun);Insert rainbow flags AND other lgbt-ish things 💅🏼🏳️🌈
Example:
import { lgbtPhrase } from 'lgbt'
const newPhrase = lgbtPhrase('I am 100% Straight and I am not gay.')
console.log(newPhrase) // I 🌈 am 🌈 100% 💅🏼 Straight 🏳️🌈 and 🏳️⚧️ I 🏳️⚧️ am 💅🏼 not 🌈 gay. 💅🏼