Skip to content
A brain for Ginsbot
Go
Find file
Latest commit 87861f9 @pmn Update README.md
Failed to load latest commit information.
LICENSE.md Create LICENSE.md
README.md Update README.md
api.go Woops, was double returning from getMemoryHandler
brain.go grammar, lol
main.go Default to the randomMemoryHandler

README.md

Ginsbrain

A brain for Ginsbot!

Running

You'll need to add the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables to use this (this uses S3 for persistence)

  • Clone this repository
  • Go into the directory and run go deps
  • Run go build && ./ginsbrain to run it

testing

There are no tests. Good luck and godspeed.

Add a memory

curl -X POST -H "Content-Type: application/json" -d '{"text": "cooooooool"}' http://localhost:8080/memories

Something went wrong with that request. Please try again.