misaki-banner
v1.0.0
Published
8x8 bitmap banner generator for Japanese using Misaki Font
Downloads
25
Maintainers
Readme
misaki-banner

日本語
8×8ドットの美咲フォントを使って日本語テキストをバナー表示するCLIツールです。
oh-my-logoに触発されて開発されました。
クイックスタート
npxから直接実行できます。
npx misaki-banner "こんにちは"インストール
Go
go install github.com/ryumasai/misaki-banner/cmd/misaki-banner@latestnpm
npm install -g misaki-bannerバイナリ
GitHub Releases から OS 別のバイナリをダウンロードできます。
使い方
misaki-banner [オプション] <テキスト>オプション
| フラグ | 説明 | デフォルト |
|---|---|---|
| -color | 文字色: c, m, y, hex (RRGGBB), RGB (r,g,b) | - |
| -font | フォント名: misaki_gothic, misaki_gothic_2nd, misaki_mincho | misaki_gothic_2nd |
| -gradient | 文字色のグラデーション有効 | - |
| -shadow | 影スタイル: outline (罫線), solid (塗りつぶし) | - |
例
# 基本
misaki-banner "こんにちは"
# フォント
misaki-banner -font misaki_mincho "こんにちは"
# 影
misaki-banner -shadow outline "こんにちは" # 罫線
misaki-banner -shadow solid "こんにちは" # 塗りつぶし
# 文字色
misaki-banner -color c "こんにちは" # シアン
misaki-banner -color m "こんにちは" # マゼンタ
misaki-banner -color y "こんにちは" # イエロー
misaki-banner -color FF0000 "こんにちは" # 赤
misaki-banner -color 255,0,0 "こんにちは" # 赤
# 文字色 + グラデーション
misaki-banner -color c -gradient "こんにちは"
misaki-banner -color FF0000 -gradient "こんにちは"
# 文字色 + グラデーション + 影
misaki-banner -color c -gradient -shadow outline "こんにちは"
misaki-banner -color c -gradient -shadow solid "こんにちは"
# 改行
misaki-banner "こんにちは\n世界"開発
ビルド
go build -o misaki-banner ./cmd/misaki-bannerテスト
go test ./...リリース
GoReleaser を使用して自動リリースします。
バージョンタグを作成:
git tag -a v1.0.0 -m "Release v1.0.0" git push origin v1.0.0GitHub Actions:
- Linux/macOS/Windows 向けにビルド
- GitHub Releases にバイナリを公開
- checksums と changelog を生成
ローカルでテストビルドする場合:
goreleaser build --snapshot --clean
# → dist/ ディレクトリに成果物が生成されますEnglish
A CLI tool that displays Japanese text as banners using the 8×8 dot Misaki Font.
Inspired by oh-my-logo.
Quick Start
Run directly with npx:
npx misaki-banner "Hello"Installation
Go
go install github.com/ryumasai/misaki-banner/cmd/misaki-banner@latestnpm
npm install -g misaki-bannerBinary
Download OS-specific binaries from GitHub Releases.
Usage
misaki-banner [options] <text>Options
| Flag | Description | Default |
|---|---|---|
| -color | Text color: c, m, y, hex (RRGGBB), RGB (r,g,b) | - |
| -font | Font name: misaki_gothic, misaki_gothic_2nd, misaki_mincho | misaki_gothic_2nd |
| -gradient | Enable color gradient | - |
| -shadow | Shadow style: outline (border), solid (filled) | - |
Examples
# Basic
misaki-banner "Hello"
# Font
misaki-banner -font misaki_mincho "こんにちは"
# Shadow
misaki-banner -shadow outline "Hello" # border
misaki-banner -shadow solid "Hello" # filled
# Color
misaki-banner -color c "Hello" # cyan
misaki-banner -color m "Hello" # magenta
misaki-banner -color y "Hello" # yellow
misaki-banner -color FF0000 "Hello" # red
misaki-banner -color 255,0,0 "Hello" # red
# Color + gradient
misaki-banner -color c -gradient "Hello"
misaki-banner -color FF0000 -gradient "Hello"
# Color + gradient + shadow
misaki-banner -color c -gradient -shadow outline "Hello"
misaki-banner -color c -gradient -shadow solid "Hello"
# Line breaks
misaki-banner "Hello\nWorld"Development
Build
go build -o misaki-banner ./cmd/misaki-bannerTest
go test ./...Release
Automated releases using GoReleaser.
Create a version tag:
git tag -a v1.0.0 -m "Release v1.0.0" git push origin v1.0.0GitHub Actions:
- Build for Linux/macOS/Windows
- Publish binaries to GitHub Releases
- Generate checksums and changelog
To test build locally:
goreleaser build --snapshot --clean
# → Artifacts will be generated in the dist/ directory