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.

Home Page:https://medium.com/@aalbertini95_90842/a-small-project-using-chatgpt-from-openai-and-react-native-7346d4a76ae2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tell me a story...

Introduction

I started this project mainly to play with ChatGPT from OpenAI. It's a small app that allows you to write a story using the OpenAI API. There are some predefined stories to help your inspiration, and you can also write your own story.

This app uses these following API:

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.

Tell me a story app


Own Story


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.

Transcription


Requirements

In order to use the API of ChatGPT, you have to create an account Explore the OpenAI API. After that, just create a new secret key API keys.

Installation

$ git clone https://github.com/kiki-le-singe/tell-me-a-story-ai.git <name>
$ cd <name>
$ yarn | npm install
$ npx pod-install

Create a .env file at the root of the project and set this env variable OPENAI_API_KEY=<YOUR_SECRET_KEY>

$ npm run ios

Resources

All the images are taken from Freepik. Those I have chosen have a free license. I just use them to illustrate this app.

They are designed by these authors:


authors


All the icons are taken from unDraw.

A big thanks to them for their awesome work!

About

"Tell me a story" is a small app that allows you to write a story using ChatGPT and React Native.

https://medium.com/@aalbertini95_90842/a-small-project-using-chatgpt-from-openai-and-react-native-7346d4a76ae2


Languages

Language:TypeScript 76.7%Language:Java 12.3%Language:Ruby 3.8%Language:Objective-C 3.7%Language:Objective-C++ 1.8%Language:JavaScript 1.7%