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
- Host: GitHub
- URL: https://github.com/sweatpotato13/spin-chatgpt
- Owner: sweatpotato13
- Created: 2023-03-02T01:38:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-02T05:35:06.000Z (over 3 years ago)
- Last Synced: 2025-05-28T21:41:28.449Z (about 1 year ago)
- Topics: chatgpt, fermyon, openai, spin
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
spin-chatgpt
openAI ChatGPT server built with spin
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
### Built With
- [rust](https://www.rust-lang.org/)
- [spin](https://developer.fermyon.com/)
## 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
```
## 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
## Contact
Project Link: [https://github.com/sweatpotato13/spin-chatgpt](https://github.com/sweatpotato13/spin-chatgpt)
