Skip to content

💭 kansAI is a CLI tool for converting text to Kansai dialect.

License

Notifications You must be signed in to change notification settings

koki-develop/kansai

Repository files navigation

Powered by Gemini.

GitHub release (latest by date) GitHub Workflow Status Maintainability Go Report Card LICENSE

kansAI is a CLI tool for converting text to Kansai dialect.

English | 関西弁

Contents

Installation

Homebrew Tap

$ brew install koki-develop/tap/kansai

go install

$ go install github.com/koki-develop/kansai@latest

Releases

Download the binary from the releases page.

Usage

$ kansai --help
CLI tool for converting text to Kansai dialect.

Usage:
  kansai [flags]

Flags:
  -k, --api-key string   API Key for the Gemini API
      --configure        configure API key
  -h, --help             help for kansai
  -v, --version          version for kansai

Get API key

First, get the API key for the Gemini API from Google AI Studio.

Configure

You can configure the API key by running kansai with the --configure option.

$ kansai --configure

Alternatively, you can set the API key in the KANSAI_API_KEY environment variable or specify it with the --api-key option when running kansai.

$ export KANSAI_API_KEY='YOUR_API_KEY'
# or
$ echo '...' | kansai --api-key 'YOUR_API_KEY'

Convert text to Kansai dialect

Just pass the text to be converted from standard input.

$ echo 'こんにちは。僕の名前は koki です。好きな食べ物はラーメンです。' | kansai
こんちゃ。おれ、名前はこうきっちゅうねん。好きなもんはラーメンやで。

LICENSE

MIT

About

💭 kansAI is a CLI tool for converting text to Kansai dialect.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages