An open API service indexing awesome lists of open source software.

https://github.com/sweatpotato13/spin-chatgpt

chatGPT api built with fermyon spin framework
https://github.com/sweatpotato13/spin-chatgpt

chatgpt fermyon openai spin

Last synced: 3 months ago
JSON representation

chatGPT api built with fermyon spin framework

Awesome Lists containing this project

README

          










Nest Logo






spin-chatgpt


openAI ChatGPT server built with spin


Explore the docs »




View Demo
·
Report Bug
·
Request Feature


Table of Contents






  1. Getting Started


  2. Usage

  3. Roadmap

  4. Contributing

  5. License

  6. Contact

  7. Acknowledgments

### Built With

- [rust](https://www.rust-lang.org/)
- [spin](https://developer.fermyon.com/)

(back to top)

## Getting Started

This is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.

### Installation

1. Clone the repo
```sh
git clone https://github.com/sweatpotato13/spin-chatgpt.git
cd spin-chatgpt
```

### Building

1. Build using cargo:
```sh
spin build
```

### Running

0. Write your openAI API key

you can generate your API key [here](https://platform.openai.com/account/api-keys)

```sh
cp spin.toml.example spin.toml
nano spin.toml
```

`environment = { OPEN_API_KEY = "sk-FORMATKEY" }`

1. Run using cargo:
```sh
spin up
```

(back to top)

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

(back to top)

## Contact

Project Link: [https://github.com/sweatpotato13/spin-chatgpt](https://github.com/sweatpotato13/spin-chatgpt)