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

https://github.com/andreaselia/storytime

A simple Next.js application that allows you to create stories using AI.
https://github.com/andreaselia/storytime

Last synced: 9 months ago
JSON representation

A simple Next.js application that allows you to create stories using AI.

Awesome Lists containing this project

README

          

# StoryTime

A simple story generator which makes use of Vercel (hosting), Upstash (Redis and QStash), and OpenAI (text generation).

## Prerequisites

This project relies on Vercel, Upstash and OpenAI.

- [Vercel](https://vercel.com)
- [Upstash](https://upstash.com?utm_source=andreas1)
- [OpenAI](https://openai.com)

## Installation

To get started with the project, follow these steps:

1. Clone the repository to your local machine:

```bash
git clone https://github.com/andreaselia/storytime.git
```

2. Navigate to the project directory:

```bash
cd storytime
```

3. Install the dependencies:

```bash
npm install
# or
yarn install
```

4. Start the development server:

```bash
npm run dev
# or
yarn dev
```

You'll need to deploy the project to Vercel, or serve it locally, so that the callback URL can be accessible for the request to QStash.

## Further Reading

- [Next.js documentation](https://nextjs.org/docs/getting-started)
- [React documentation](https://reactjs.org/docs/getting-started.html)
- [Upstash documentation](https://docs.upstash.com/redis?utm_source=andreas1)

## Contributing

To contribute to the project, follow these steps:

1. Fork the repository.
2. Create a new branch for your feature.
3. Commit your changes and push the branch to your fork.
4. Create a new pull request.

## License

This project is licensed under the MIT License. See the LICENSE file for details.