https://github.com/a-poor/austin-openai-plugin
https://github.com/a-poor/austin-openai-plugin
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/a-poor/austin-openai-plugin
- Owner: a-poor
- License: mit
- Created: 2023-09-24T18:59:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-27T23:40:01.000Z (over 2 years ago)
- Last Synced: 2024-11-29T11:01:01.864Z (over 1 year ago)
- Language: TypeScript
- Size: 1.02 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# austin-openai-plugin
_created by Austin Poor_

The code for an OpenAI plugin for getting more information about me, via ChatGPT.
I created this as a fun way to interface with my website, via ChatGPT. It can tell you about me, about my blog posts, about some of my recent projects, and general information that's on my resume.
I'm in the process of attempting to get it verified but if you'd like to try it out yourself, you can run it locally.
## Running Locally
To run the API locally, you'll need to have [Deno](https://deno.com/) installed and then you can run the following command:
```sh
deno run --allow-env=ENV --allow-read=. --allow-net=0.0.0.0:8000 --unstable main.ts
```
For more information on connecting a local plugin to ChatGPT, see the [OpenAI documentation](https://platform.openai.com/docs/plugins/introduction).
### Permission Breakdown
- `--allow-env=ENV`: The `ENV` environment variable is used to check if the app is running in production.
- `--allow-read=.`: Reads the `openapi.yaml` and `static/logo.png` files from the working directory.
- `--allow-net=0.0.0.0:8000`: When running locally, serves the API on `http://localhost:8000`
- `--unstable`: Uses the unstable **Deno KV** API for storing *say hi* requests