term_ask 1.0.4 copy "term_ask: ^1.0.4" to clipboard
term_ask: ^1.0.4 copied to clipboard

A simple gemini client for the terminal

term_ask #

A command-line tool that uses the Gemini API to answer your questions.

Getting Started #

  1. Install Dart: Make sure you have the Dart SDK installed. You can download it from https://dart.cn/get-dart.

  2. Get an API Key: You'll need an API key from Google AI Studio. You can get one at https://makersuite.google.com/app/apikey. Set the GEMINI_API_KEY environment variable with your API key.

    export GEMINI_API_KEY="YOUR_API_KEY"
    
  3. Install the package:

    dart pub global activate term_ask
    

Usage #

Just type ask followed by your question.

Can also ask questions about files:

ask -f README.md -f CHANGELOG.md what does these files do
2
likes
130
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A simple gemini client for the terminal

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, console_markdown, dotenv, google_generative_ai, mime, path, yaml

More

Packages that depend on term_ask