diff --git a/examples/story-book/.gitignore b/examples/story-book/.gitignore
new file mode 100644
index 00000000..b8a88f6c
--- /dev/null
+++ b/examples/story-book/.gitignore
@@ -0,0 +1,27 @@
+# Nuxt dev/build outputs
+.output
+.data
+.nuxt
+.nitro
+.cache
+dist
+
+# Node dependencies
+node_modules
+
+# Logs
+logs
+*.log
+
+# Misc
+.DS_Store
+.fleet
+.idea
+
+# Local env files
+.env
+.env.*
+!.env.example
+
+# AI generated files
+public/stories
diff --git a/examples/story-book/README.md b/examples/story-book/README.md
index aa1ddf99..4cacd008 100644
--- a/examples/story-book/README.md
+++ b/examples/story-book/README.md
@@ -1,33 +1,22 @@
# Story Book
-Story Book is a GPTScript that can generate a story based on a prompt and the number of pages you want the story to be in. It is generated in HTML format and can then be viewed
-by `index.html` which has some JS/CSS to make the story styling consistent and readable.
+Story Book is a web application that has an interface for users to input a prompt and number of pages. This information then generates a story based on the prompt. All generation is done using GPTScript on the backend.
## Usage Instructions
-1. **Run the `story-book.gpt` script.**
+1. Make sure you have at least Node v20.11.1 installed. If you don't, you can install it [here](https://nodejs.org/en/download).
- In the same terminal session where the virtual environment (venv) is now activated, navigate to the `story-book` example directory and run the `story-book.gpt` script:
+2. Navigate to the `examples/story-book` directory.
- ```shell
- cd examples/story-book
- gptscript story-book.gpt --prompt "Goldilocks" --pages 3
- ```
+```bash
+cd examples/story-book
+```
-2. **View the story.**
+3. Start the Nuxt application by running the following commands:
- Open `index.html` in your browser to view the generated story.
+```bash
+npm i
+npm run dev
+```
-3. (optional) **Generate a new story.**
-
- To generate another story, you'll first need to delete the existing `pages` directory. In the `examples/story-book` directory, run the following command:
-
- ```shell
- rm -rf pages
- ```
-
- After that, you can generate a new story by running the `story-book.gpt` script again with a different prompt or number of pages.
-
- ```shell
- gptscript story-book.gpt --prompt "The Three Little Pigs" --pages 5
- ```
+4. Navigate to `http://localhost:3000` in your browser.
\ No newline at end of file
diff --git a/examples/story-book/app.vue b/examples/story-book/app.vue
new file mode 100644
index 00000000..38414fbe
--- /dev/null
+++ b/examples/story-book/app.vue
@@ -0,0 +1,25 @@
+
+
+
+ > {{ message }}Story Book
+ Create a new story
+ Writing the perfect story...
+ GPTScript is currently building the story you requested. You can see its progress below.
+
+
+
{{ pages[currentPage].content }}
+