A simple, distraction-free reading web app designed for helping kids to practice reading.
Live Demo: https://gil-mor.github.io/reading-game/
This app was "vibe-coded" by me and my daughter. It was built to make reading practice fun, interactive, and personalized.
- 10-Minute Reading Challenge: A gentle timer helps track progress without the pressure of "winning" or "losing."
- Overtime Mode: If the time runs out, the child can choose to continue reading, and the timer tracks the extra effort with a "bonus" count.
- Dynamic Story Menu: Choose between different adventures.
- Child-Friendly Design: Pastel colors and simple navigation using Enter or Arrow keys.
- Customizable Content: Easily add your own stories and drawings.
Since the app fetches story data dynamically via JSON and text files, it requires a local web server to run (opening the index.html file directly in a browser will cause a CORS error).
- Open your terminal or command prompt.
- Navigate to the project folder.
- Run the following command:
python -m http.server 8000
You can easily expand the library with your own adventures:
-
Prepare the folder: Create a new folder inside the
stories/directory. Use a simple name without spaces (e.g.,der-kleine-drache). This will be your Story ID. -
Write the story: Inside your new folder, create a file named
story.txt.- Write your story text here.
- Use two empty lines (a double line break) to separate pages.
-
Add illustrations (Optional): Inside your story folder, create another folder named
drawings/. Add up to 5 images named1.png,2.png,3.png,4.png, and5.png. -
Register the story: Open
stories.jsonin the root directory and add an entry for your new story:{ "id": "der-kleine-drache", "title": "Der kleine Drache lernt fliegen" }- The
idmust match your folder name exactly. - The
titleis what will appear on the main menu button.
- The
-
Refresh: Reload the website to see your new story in the list!