Skip to content

Build a chat interface from the command line to ask openai questions, for each prompt pass, save it in git.

Notifications You must be signed in to change notification settings

dathan/go-openai-prompt-git-save

Repository files navigation

Purpose

https://dathan.github.io/blog/posts/chat-gpt-4-save-prompts-to-git/

Requirements

  • OPENAI_API_KEY
  • GITHUB_TOKEN
  • GITHUB_USER

Environment variables must be defined otherwise the command line application will panic

Features

  • Makefile to build consistently in a local environment and remote environment
  • Dockerfile for a generic image to build for
  • Go Mod (which you should to your project path change)
  • VS Code environment
  • Generic docker push

TODO

  • Brew generic install [DONE]
  • GITHUB Actions build and push to dockerhub [DONE]
  • Production Builds with git tag

Installing via brew

  • brew install --verbose --build-from-source brew/Formula/go-openai-prompt-git-save.rb

About

Build a chat interface from the command line to ask openai questions, for each prompt pass, save it in git.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published