No description
  • TypeScript 95.9%
  • Dockerfile 4.1%
Find a file
2025-03-16 20:43:29 +09:00
.github/workflows feat: make it an API and use better canvas 2025-03-16 20:41:02 +09:00
src feat: make it an API and use better canvas 2025-03-16 20:41:02 +09:00
.gitignore change 2025-03-11 14:08:03 +00:00
biome.json feat: make it an API and use better canvas 2025-03-16 20:41:02 +09:00
bun.lock feat: make it an API and use better canvas 2025-03-16 20:41:02 +09:00
Dockerfile fix: bun.lock from lockb 2025-03-16 20:43:29 +09:00
LICENSE change:完成 2025-03-14 11:33:06 +09:00
package.json feat: make it an API and use better canvas 2025-03-16 20:41:02 +09:00
README.md change 2025-03-14 14:55:53 +09:00
tsconfig.json feat: make it an API and use better canvas 2025-03-16 20:41:02 +09:00

5000Choyen

5000兆円欲しいをnode-canvasを使用しサーバーサイドで生成できるようにしたものを TypeScriptに書き換えAPI部分を廃止しアプリケーションに組み込めるように変更したものです

spec

画像形式: PNG (アルファチャンネルあり、背景透明)、JPEG

最大横幅: 3840px

parameters

name value description
top - 上部文字列
bottom - 下部文字列
type png/jpg PNG/JPEGの切り替え
q - 画質(1100)
hoshii true/false 下部文字列を「欲しい!」に固定する
noalpha true/false 背景色を白にする
rainbow true/false 虹色にする ※1
single true/false 上部・下部どちらかをレンダリング ※2

※1hoshiiがtrueの場合、下部は虹色になりません。

※2topとbottomを両方指定するとエラーになります。hoshiiは無視されます。

caution

文字列が短いと横幅が自動で調整されて短くなります。

どんなに長くても3840pxまでしか横幅は伸びません。

fonts

このジェネレーターは以下のフォントを使用しています。

Noto Sans CJKjp Black

Noto Serif CJKjp Black

これらのフォントはオープンフォントライセンスに基づきGoogle Fontsよりダウンロード可能です。