DEV Community

TechGirl007
TechGirl007

Posted on

The Knowledge Grimoire πŸ“–βœ¨

Hacktoberfest: Maintainer Spotlight

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend

What I Built

I built the Knowledge Grimoire, a gamified reading experience designed to turn the act of reading into a legendary quest.
Who it's for: While designed for any reader, I built this specifically with children and students in mind. Many kids find traditional reading logs boring or feel pressured by the "homework" aspect of reading.

The Header of Knowledge Grimoire

The Problem it Solves:

  1. Motivation: It replaces the "reading list" with a "journey of ascension." By logging books as "Conquests" and earning Archetypes (from Novice to Eternal), it triggers the reward circuitry that makes games addictive, but applies it to literacy.
  2. Privacy & Safety: With strict age rules on social media, kids can't always share their achievements online. The Grimoire solves this by being local-first. It stores all data in the browser's local vault, meaning a school can host this within their own secure ecosystem without any student data ever leaving their environment.
  3. Critical Thinking: Instead of just checking a box, the app requires an "Arcane Insight"β€”one singular truth the reader took from the bookβ€”encouraging active reflection over passive reading.

Demo

πŸš€ Live App: https://techgirl007.github.io/knowledge-grimoire/

Before You Read

After a Book is Read

Code

πŸ“‚ GitHub Repository: https://github.com/TechGirl007/knowledge-grimoire

How I Built It

I employed a multi-AI workflow to bring the Knowledge Grimoire to life, utilizing different tools for different stages of the development cycle:

  1. Scaffolding (GitHub Copilot): I used Copilot to generate the initial foundational code and basic structure of the application.
  2. Iterative Design & Architecture (Google Gemma): Once the base was set, I partnered with Gemma as my lead architect to transform a simple utility into a gamified experience. Together, we iterated through three major versions, implementing the "Trophy Card" system and the "Archetype" logic.
  3. Advanced Feature Implementation: I worked with Gemma to solve the challenge of data persistence, implementing the Blob and FileReader APIs to create the "Soulstone" save-file system.

The project is built using Vanilla HTML5, CSS3 (custom properties and glassmorphism), and JavaScript (ES6+).

Why Does Open Innovation Matter?

Open innovation is critical for educational tools. Closed-source platforms often lock student data behind subscriptions or track user behavior for profit.

By building the Knowledge Grimoire as an open-source project, any teacher or school administrator can fork this code, customize the ranks to fit their curriculum, and host it on their own private servers. Open innovation makes it possible to provide a "high-tech" feel without sacrificing the absolute privacy and safety required in a school environment.

My Agent Session

Some snapshots of AI interaction

Uploading txt file from Github

Gemma refining the code

Prize Categories

Prize Categories

Best Use of Gemma: I utilized Gemma as my lead architect and pair programmer to transform a basic concept into a fully functioning, gamified educational tool.

Strategic Architectural Choice: I intentionally opted for a Local-First architecture rather than an API integration. By doing so, I eliminated the risk of exposing API keys in a public repository and, more importantly, ensured that no Personally Identifiable Information (PII) ever leaves the user's device.

This removes the Regulatory Risk (such as COPPA or GDPR compliance) typically associated with educational software for children, making the Knowledge Grimoire a "Zero-Trust" application that is safe for use in any school environment.

Top comments (0)