Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiki-le-singe/tell-me-a-story-ai
"Tell me a story" is a small app that allows you to write a story using ChatGPT and React Native.
https://github.com/kiki-le-singe/tell-me-a-story-ai
android chatgpt chatgpt-api ios javascript mobile mobile-app openai-api openapi react-native reactjs typescript
Last synced: 11 days ago
JSON representation
"Tell me a story" is a small app that allows you to write a story using ChatGPT and React Native.
- Host: GitHub
- URL: https://github.com/kiki-le-singe/tell-me-a-story-ai
- Owner: kiki-le-singe
- Created: 2023-03-30T15:52:38.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2023-05-30T17:13:25.000Z (over 1 year ago)
- Last Synced: 2024-10-11T22:52:53.821Z (28 days ago)
- Topics: android, chatgpt, chatgpt-api, ios, javascript, mobile, mobile-app, openai-api, openapi, react-native, reactjs, typescript
- Language: TypeScript
- Homepage: https://medium.com/@aalbertini95_90842/a-small-project-using-chatgpt-from-openai-and-react-native-7346d4a76ae2
- Size: 41.4 MB
- Stars: 34
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ChatGPT-repositories - tell-me-a-story-ai - "Tell me a story" is a small app that allows you to write a story using ChatGPT and React Native. (Others)
README
# Tell me a story...
## Introduction
I started this project mainly to play with [ChatGPT](https://chat.openai.com/) from [OpenAI](https://openai.com/). It's a small app that allows you to write a story using the [OpenAI API](https://platform.openai.com/docs/api-reference). There are some predefined stories to help your inspiration, and you can also write your own story.
This app uses these following API:
- [Create image](https://platform.openai.com/docs/api-reference/images/create)
- [Create completion](https://platform.openai.com/docs/api-reference/completions/create)
- [Create transcription](https://platform.openai.com/docs/api-reference/audio/create)Enjoy it! :)
This app has four screens:
- A tutorial interface that introduces the app.
- A simple screen that displays the users who have created pictures and illustrations.
- The screen that allows you to write a predefined story.
- The screen that allows you to write your own story.
> You can use an audio file, from your device, to write a story. Before you have to record an audio (Tell me a story about an alien who loves to swim and eat chocolate very much.), and then the app will transcribe it. After that, you can use the transcription to write a story.
## Requirements
In order to use the API of ChatGPT, you have to create an account [Explore the OpenAI API](https://platform.openai.com/overview). After that, just create a new secret key [API keys](https://platform.openai.com/account/api-keys).
## Installation
```shell
$ git clone https://github.com/kiki-le-singe/tell-me-a-story-ai.git
$ cd
$ yarn | npm install
$ npx pod-install
```> Create a .env file at the root of the project and set this env variable `OPENAI_API_KEY=`
```shell
$ npm run ios
```## Resources
All the images are taken from [Freepik](http://www.freepik.com). Those I have chosen have a free license. I just use them to illustrate this app.
They are designed by these authors:
- [freepik](https://www.freepik.com/author/freepik)
- [ddraw](https://www.freepik.com/author/ddraw)
- [vectorjuice](https://www.freepik.com/author/vectorjuice)
- [pikisuperstar](https://www.freepik.com/author/pikisuperstar)
- [pch.vector](https://www.freepik.com/author/pch-vector)
- [catalyststuff](https://www.freepik.com/author/catalyststuff)
- [rawpixel-com](https://www.freepik.com/author/rawpixel-com)
- [upklyak](https://www.freepik.com/author/upklyak)
- [brgfx](https://www.freepik.com/author/brgfx)
- [storyset](https://www.freepik.com/author/stories)All the icons are taken from [unDraw](https://undraw.co/).
A big thanks to them for their awesome work!