Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/valasek/chatgpt
Simple page using ChatGTP API
https://github.com/valasek/chatgpt
chatgpt-api rails7 tailwind
Last synced: 6 days ago
JSON representation
Simple page using ChatGTP API
- Host: GitHub
- URL: https://github.com/valasek/chatgpt
- Owner: valasek
- License: mit
- Created: 2023-10-12T21:18:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-18T13:03:35.000Z (over 1 year ago)
- Last Synced: 2024-12-20T21:16:45.640Z (about 1 month ago)
- Topics: chatgpt-api, rails7, tailwind
- Language: Ruby
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chat GPT
Simple page using [ChatGTP API](https://platform.openai.com/docs/introduction) written using Rails 7.1.1. and Tailwind.
**Video time 🎞️**
[![Video](https://img.youtube.com/vi/Dxyr33f7UK8/hqdefault.jpg)](https://youtu.be/Dxyr33f7UK8)
# How to start
1. Register and [create API](https://platform.openai.com/docs/introduction).
2. Edit credentials in local:
`EDITOR="nano" rails credentials:edit`3. Start the server with `/bin/dev`
This code is based on the tutorial [Integrate OpenAI to Rails, Get started with OpenAI APIs](https://enlear.academy/integrate-openai-to-rails-3cd148786b49)