Generate stories for your kids using Artificial Intelligence
Add main characters (your kids), secondary characters (their friends) and a little excerpt and click Generate. A story with images and multiple pages will be generated.
The software uses OpenAI GPT-3.5-turbo (Dall-E) to generate the stories, summaries, titles and images.
The software's Tech Stack: Ruby on Rails + Hotwire.
Demo
Author
Benjamín Silva
Donate if you liked the project? 🍻
Screenshots
How to create a story:
What the stories look like:
Ruby version
3.2.2
Rails version
7.0.4
System dependencies
- Redis (for websockets)
- Libvips (for ActiveStorage)
- PostgreSQL
Configuration
- mv .env-example .env
- Run bin/rails db:encryption:init and copy each key to the .env file
- Create an OpenAI API Token at https://beta.openai.com/account/api-keys
- Create a user and add the OpenAI API Token in the settings (it will be encrypted before stored 🔐 ✅)
Database creation
bin/rails db:create
Database initialization
bin/rails db:schema:load
Dependencies installation
- bundle install
- yarn install
How to run the app
- bin/dev
- open your browser and go to http://127.0.0.1:3000
How to run the test suite
No tests yet for this toy project yet.
Contributing
Please send Issues and/or PR
Be kind.
License
AiStories is released under the MIT License.

