Giter Site home page Giter Site logo

gemini-go's Introduction

GeminiGo

GeminiGo is a CLI app (REPL) written in Go that allows you to interact with Gemini, a multimodal AI language model developed by Google. With GeminiGo, you can ask Gemini questions, have conversations, and generate text.

Installation

To install and test GeminiGo, you can use the following steps:

  1. Clone the GeminiGo repository:
git clone https://github.com/codelikesuraj/gemini-go.git
  1. Change directory to the GeminiGo directory:
cd gemini-go
  1. Copy .env.example to .env
cp .env.example .env
  1. Update your API key in the .env file
GEMINI_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXX
  1. Run the program
go run main.go
  1. Optional: Build the GeminiGo executable:

    1. run the go build command
    go build
    
    1. Move the GeminiGo executable to a directory that is in your PATH environment variable. For example, on Unix systems, you can move the executable to the /usr/local/bin directory:
    sudo mv gemini-go /usr/local/bin
    
    1. Verify that the GeminiGo executable is installed correctly by running the following command:
    gemini-go
    

    You should see the application running on the foreground.

Usage

Once GeminiGo is installed, you can use it to interact with Gemini by providing a prompts after opening it.

License

GeminiGo is licensed under the MIT License.

gemini-go's People

Contributors

codelikesuraj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.