GithubHelp home page GithubHelp logo

sanhacks / chatgpt-desktop-golang Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 16.59 MB

Simple Go Lang ChatBot

Home Page: https://sanhacks.github.io/ChatGPT-Desktop-Golang/

License: Apache License 2.0

Go 100.00%
chatgpt convolutional-neural-networks golang golang-library openai sqlite3

chatgpt-desktop-golang's Introduction

ChatGPT-Desktop-Golang

Simple Attempt To Have Chat With API Endpoints Via Chat, Desktop

At this point it is only talking to the Ron Swanson, Quotes API.

You can change endpoints by modifying the apiCall functions

Screenshot 2023-03-13 at 17 06 21

This tool is made as an experiment and is not intended for production use.

Features

  • Chat with API
  • Save Responses to SQLite3 Database
  • Save Responses to JSON File
  • Save Responses to CSV File
  • Save Responses to XML File
  • Save Response and Convert to Audio
  • Show images in chat
  • Get image from API

How To Install

Pre-reqs

  • Golang

brew install go

This will install the latest version of Golang on your machine
go version
This will show you the version of Golang installed on your machine

  • SQLite3

How To Run

go run main.go or simply go build .

How To Use

  • Type in the text box
  • Press Enter
  • The API will be called
  • The response will be displayed in the chat box
  • The response is stored in SQLite3 Database

How To Build

You can build the app for your OS by running the following command in the root directory of the project first install fyne-cross
go get -u fyne.io/fyne/cmd/fyne-cross
fyne-cross [options]

The commands are:

darwin        Build and package a fyne application for the darwin OS
linux         Build and package a fyne application for the linux OS
windows       Build and package a fyne application for the windows OS
android       Build and package a fyne application for the android OS
ios           Build and package a fyne application for the iOS OS
freebsd       Build and package a fyne application for the freebsd OS
version       Print the fyne-cross version information

Use "fyne-cross -help" for more information about a command.

chatgpt-desktop-golang's People

Contributors

dependabot[bot] avatar sanhacks avatar

Stargazers

 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.