This is an external open-source GitHub repository imported into the WOCSOL Marketplace for discovery. The original repository owner is the primary creator.
EdgeGPT-Go: Reverse engineered API of Microsoft's Bing Chat AI for Golang with GRPC, CLI, Library interface and cookie manager
EdgeGPT-Go: Reverse engineered API of Microsoft's Bing Chat AI for Golang with GRPC, CLI, Library interface and cookie manager
## ๐ช EdgeGPT-Go  [](https://github.com/pavel-one/EdgeGPT-Go/releases) [](https://pkg.go.dev/github.com/pavel-one/EdgeGPT-Go) EdgeGPT-Go is a New Bing unofficial API developed using Golang. You can use it as a library, microservice or standalone cli application. The package supports multiple cookies. As well as rapid deployment as a microservice via docker. ## Feature: - [x] GRPC interface - [x] Library interface - [x] Sync/Async request - [x] CLI interface - [x] Refresh session ## How to use it: ### Getting authentication (Required) - Install and open Microsoft Edge browser - Install [Cookie-Editor](https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) extension - Go to [New Bing](https://www.bing.com/search?form=MY0291&OCID=MY0291&q=Bing+AI&showconv=1&cc=au) login and getting access - Open the extension - Click "Export" on the bottom right, then "Export as JSON" (This saves your cookies to clipboard) - Create folder `cookies` - Paste your cookies into a file `1.json` If you have several accounts - repeat for each of them and save to the `cookies` folder ### Use as a chat cli app ```shell docker run -it -v ./cookies:/app/cookies ghcr.io/pavel-one/edgegpt-chat ``` Or download binary in [release page](https://github.com/pavel-one/EdgeGPT-Go/releases) ### Use as a library ```shell go get github.com/pavel-one/EdgeGPT-Go ``` ```go package main import ( "github.com/pavel-one/EdgeGPT-Go" "log" ) func main() { s := EdgeGPT.NewStorage() gpt, err := s.GetOrSet("any-key") if err != nil {
Ask questions or discuss this product. New comments are reviewed before publishing.
Loading comments...