<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lillygrace</title>
    <description>The latest articles on DEV Community by Lillygrace (@lillygrace_213530f21c9600).</description>
    <link>https://dev.to/lillygrace_213530f21c9600</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4152788%2Fbda50f2e-e30a-4d19-9be0-ccd1bc1f5b56.png</url>
      <title>DEV Community: Lillygrace</title>
      <link>https://dev.to/lillygrace_213530f21c9600</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lillygrace_213530f21c9600"/>
    <language>en</language>
    <item>
      <title>GitHub Issue Chaos Was Slowing Developers Down, So I Built TriageForge</title>
      <dc:creator>Lillygrace</dc:creator>
      <pubDate>Sun, 18 Oct 2026 13:40:54 +0000</pubDate>
      <link>https://dev.to/lillygrace_213530f21c9600/github-issue-chaos-was-slowing-developers-down-so-i-built-triageforge-cc</link>
      <guid>https://dev.to/lillygrace_213530f21c9600/github-issue-chaos-was-slowing-developers-down-so-i-built-triageforge-cc</guid>
      <description>&lt;p&gt;Hacktoberfest Open-Source AI Challenge — Project Submission&lt;/p&gt;

&lt;p&gt;TriageForge: An AI-Powered GitHub Issue Triage Platform&lt;br&gt;
What I Built&lt;/p&gt;

&lt;p&gt;Open-source maintainers often spend more time organizing issues than actually improving their software. Bug reports arrive without reproduction steps, feature requests get buried, duplicate issues pile up, and inconsistent labels make it difficult to understand what needs attention first.&lt;/p&gt;

&lt;p&gt;TriageForge is an AI-powered GitHub issue management platform designed to make that process faster, more organized, and more reliable.&lt;/p&gt;

&lt;p&gt;Instead of forcing maintainers to manually inspect every issue, TriageForge uses AI to analyze incoming reports, recommend classifications and priorities, identify potential duplicates, and highlight missing information. It connects with GitHub through a dedicated GitHub App and provides a centralized workspace for reviewing suggested actions.&lt;/p&gt;

&lt;p&gt;The key principle behind TriageForge is simple: AI should assist maintainers, not take control away from them.&lt;/p&gt;

&lt;p&gt;What can TriageForge do?&lt;br&gt;
Intelligent Issue Classification: Categorizes incoming issues into bugs, feature requests, enhancements, documentation, questions, and other relevant categories. It also recommends priorities based on the available issue information.&lt;br&gt;
Semantic Duplicate Detection: Uses text embeddings and similarity comparisons to find potentially duplicate issues, even when different contributors describe the same problem using different words.&lt;br&gt;
Human-in-the-Loop Review Queue: Presents proposed labels, priorities, duplicate links, and clarification comments for maintainers to inspect, edit, approve, or reject before changes are applied.&lt;br&gt;
Missing Information Detection: Identifies incomplete bug reports that may lack reproduction steps, version information, logs, or environment details.&lt;br&gt;
GitHub Integration: Connects repositories through a GitHub App, synchronizes issues and labels, and supports repository-level access controls.&lt;br&gt;
Security-Focused Automation: Keeps AI recommendations separate from authorized GitHub write operations, with safeguards designed to protect repositories and reduce unintended actions.&lt;/p&gt;

&lt;p&gt;The goal is to reduce repetitive issue-management work while keeping maintainers in charge of every important decision.&lt;/p&gt;

&lt;p&gt;Who would pay for it?&lt;/p&gt;

&lt;p&gt;TriageForge is designed for open-source maintainers, developer communities, software engineering teams, SaaS companies, and organizations that maintain public repositories, SDKs, and APIs.&lt;/p&gt;

&lt;p&gt;These teams often deal with growing issue backlogs and limited time for manual triage. A tool that helps them prioritize reports, recognize duplicates, and collect missing information can make their workflows more efficient.&lt;/p&gt;

&lt;p&gt;Potential customers include:&lt;/p&gt;

&lt;p&gt;Individual maintainers managing busy open-source projects.&lt;br&gt;
Small development teams that need a more consistent issue-management process.&lt;br&gt;
Growing startups maintaining public APIs, SDKs, and developer tools.&lt;br&gt;
Larger engineering organizations coordinating issues across multiple repositories.&lt;/p&gt;

&lt;p&gt;A potential SaaS model could offer a free tier for individual maintainers and paid plans for teams that need more repositories, collaborative workflows, and advanced triage capabilities.&lt;/p&gt;

&lt;p&gt;The long-term opportunity is to help developers spend less time sorting through issue backlogs and more time building, fixing, and shipping software.&lt;/p&gt;

&lt;p&gt;Demo&lt;br&gt;
Live Web Application: &lt;a href="https://triageforge-ten.vercel.app/" rel="noopener noreferrer"&gt;https://triageforge-ten.vercel.app/&lt;/a&gt;&lt;br&gt;
Backend API and Health Check: &lt;a href="https://triageforge.onrender.com/api/health" rel="noopener noreferrer"&gt;https://triageforge.onrender.com/api/health&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Explore the live application to see the TriageForge experience and its GitHub issue-management workflow.&lt;/p&gt;

&lt;p&gt;The frontend is hosted on Vercel, while the backend API is hosted on Render. The application requires its configured services and GitHub integration to be available for the complete workflow to function.&lt;/p&gt;

&lt;p&gt;Code&lt;/p&gt;

&lt;p&gt;GitHub Repository: &lt;a href="https://github.com/lillygrace-l/TriageForge" rel="noopener noreferrer"&gt;https://github.com/lillygrace-l/TriageForge&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Explore the source code, project documentation, application structure, and setup instructions in the repository.&lt;/p&gt;

&lt;p&gt;TriageForge&lt;br&gt;
Less time triaging. More time building.&lt;/p&gt;

&lt;p&gt;TriageForge is a production-minded, AI-powered GitHub issue management platform built for maintainers and engineering teams who want a clearer view of their repository issues.&lt;/p&gt;

&lt;p&gt;It combines GitHub integration, open-weight AI, semantic similarity detection, and an approval-based workflow to help teams understand incoming reports and decide what deserves attention.&lt;/p&gt;

&lt;p&gt;Rather than automatically applying every AI-generated recommendation, TriageForge places proposed actions in a review queue. Maintainers remain responsible for approving changes before they are committed to GitHub.&lt;/p&gt;

&lt;p&gt;The result is an approach to AI-assisted development that emphasizes usefulness, transparency, and human oversight.&lt;/p&gt;

&lt;p&gt;Features&lt;br&gt;
GitHub App Integration: Provides repository-level integration with scoped permissions and an installation workflow.&lt;br&gt;
Automated Issue Synchronization: Fetches and caches repository issues and labels while distinguishing issues from pull requests.&lt;br&gt;
Open-Weight AI Triage:&lt;br&gt;
Classifies issues into BUG, FEATURE_REQUEST, ENHANCEMENT, DOCUMENTATION, QUESTION, or OTHER.&lt;br&gt;
Recommends priorities such as CRITICAL, HIGH, MEDIUM, and LOW based on available evidence.&lt;br&gt;
Suggests labels that already exist in the repository.&lt;br&gt;
Detects missing information in bug reports.&lt;br&gt;
Drafts clarification comments for incomplete reports.&lt;br&gt;
Semantic Duplicate Detection:&lt;br&gt;
Uses embedding-based similarity to compare issue descriptions.&lt;br&gt;
Surfaces ranked candidates for potentially duplicated reports.&lt;br&gt;
Helps maintainers discover related issues without relying exclusively on keyword matching.&lt;br&gt;
Human Approval Workflow:&lt;br&gt;
Keeps proposed actions pending until they are explicitly approved.&lt;br&gt;
Allows maintainers to edit suggested labels and comments.&lt;br&gt;
Uses idempotent execution safeguards to help prevent duplicate actions.&lt;br&gt;
Security and Privacy by Design:&lt;br&gt;
Separates AI recommendations from direct GitHub write permissions.&lt;br&gt;
Uses short-lived installation access tokens.&lt;br&gt;
Includes defenses against prompt injection in untrusted issue descriptions.&lt;br&gt;
Verifies GitHub webhook signatures using HMAC-SHA256.&lt;br&gt;
Developer-Focused Interface:&lt;br&gt;
Provides an information-dense interface for reviewing issues.&lt;br&gt;
Emphasizes readability and practical workflows over unnecessary visual effects.&lt;br&gt;
Keeps maintainers focused on the information needed to make decisions.&lt;br&gt;
Tech Stack&lt;/p&gt;

&lt;p&gt;TriageForge uses a modern full-stack architecture:&lt;/p&gt;

&lt;p&gt;Frontend: React 18, Vite, React Router, Tailwind CSS, and Lucide React.&lt;br&gt;
Backend: Node.js with ES modules, Express.js, Zod, and Octokit.&lt;br&gt;
Database: MySQL with Prisma ORM.&lt;br&gt;
AI Engine: Open-weight instruction models, including Gemma, with a provider-agnostic inference approach.&lt;br&gt;
Semantic Search: Text embeddings and similarity-based comparisons for identifying potentially duplicate issues.&lt;br&gt;
Testing: Vitest, Supertest, and automated test mocks.&lt;br&gt;
Deployment: Vercel for the frontend and Render for the backend and webhook services.&lt;/p&gt;

&lt;p&gt;The repository is organized as a full-stack monorepo, separating the frontend, backend, and technical documentation.&lt;/p&gt;

&lt;p&gt;How I Built It&lt;/p&gt;

&lt;p&gt;TriageForge brings together AI-powered analysis, semantic search, GitHub APIs, and secure approval workflows. The objective was to create a practical tool that fits into existing development processes instead of introducing another uncontrolled automation bot.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open-Weight AI with Gemma&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The AI triage engine uses an open-weight instruction model, with Gemma among the supported model options. The architecture supports provider-based inference and compatible local deployment approaches.&lt;/p&gt;

&lt;p&gt;Rather than relying on free-form model responses, the application uses structured output validation to help ensure that recommendations follow an expected format.&lt;/p&gt;

&lt;p&gt;The output can include issue categories, priority recommendations, suggested labels, explanations, and clarification drafts.&lt;/p&gt;

&lt;p&gt;Because repository issues contain user-generated text, the system also incorporates defensive validation and prompt-boundary separation to help reduce prompt-injection risks.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Semantic Duplicate Detection&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Traditional keyword searches often miss duplicates because contributors describe similar problems in different ways.&lt;/p&gt;

&lt;p&gt;For example, one issue might report that authentication fails after refreshing a page, while another describes a session disappearing after a reload. The underlying problem could be related even though the wording differs.&lt;/p&gt;

&lt;p&gt;TriageForge uses text embeddings to represent issue titles and descriptions as vectors. Similarity comparisons help surface potentially related reports, including candidates that may not share obvious keywords.&lt;/p&gt;

&lt;p&gt;The resulting suggestions help maintainers investigate duplicates more efficiently while retaining the ability to make the final decision themselves.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;GitHub App Integration&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;GitHub integration is central to the TriageForge workflow.&lt;/p&gt;

&lt;p&gt;The application uses a dedicated GitHub App and Octokit to connect repositories, retrieve issue information, and perform authorized operations.&lt;/p&gt;

&lt;p&gt;Webhook signature verification helps validate incoming GitHub events. Installation-based access and repository-scoped permissions help limit access to the resources required by the application.&lt;/p&gt;

&lt;p&gt;Importantly, AI-generated recommendations do not automatically become repository changes. Proposed actions pass through the review workflow before authorized operations are executed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A Human-First Workflow&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One of the most important design decisions was to make human approval part of the core product rather than an optional safeguard.&lt;/p&gt;

&lt;p&gt;AI can be useful for suggesting priorities, identifying duplicates, and drafting responses, but its recommendations are not always correct.&lt;/p&gt;

&lt;p&gt;TriageForge therefore stages proposed actions in an approval queue. Maintainers can review the available context, adjust suggestions, approve appropriate changes, or reject recommendations that do not fit the situation.&lt;/p&gt;

&lt;p&gt;This approach combines the speed of AI-assisted analysis with the judgment of the people responsible for maintaining the project.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Testing and Deployment&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;TriageForge is organized to support development, testing, and deployment across separate frontend and backend components.&lt;/p&gt;

&lt;p&gt;The project includes automated testing infrastructure and documentation covering application setup, GitHub App configuration, architecture, security, and deployment.&lt;/p&gt;

&lt;p&gt;The frontend is deployed through Vercel, and the backend is hosted on Render. MySQL provides relational data storage through Prisma ORM.&lt;/p&gt;

&lt;p&gt;The focus is on making the application easier to maintain, test, and extend as the triage workflow evolves.&lt;/p&gt;

&lt;p&gt;Why Does Open Innovation Matter?&lt;/p&gt;

&lt;p&gt;Open innovation makes it possible to experiment with AI-powered developer tools without making a single proprietary model the foundation of the entire product.&lt;/p&gt;

&lt;p&gt;TriageForge uses an architecture built around open-weight models and open embedding technologies, creating flexibility in how inference and similarity analysis can be configured.&lt;/p&gt;

&lt;p&gt;Flexible deployment: Compatible inference providers and local deployment options give teams opportunities to evaluate configurations that fit their infrastructure and operating requirements.&lt;/p&gt;

&lt;p&gt;Greater control: Repository issues may contain stack traces, implementation details, or sensitive technical information. A compatible self-hosted inference setup can help organizations keep model inference within their own environment, depending on how the complete application is configured.&lt;/p&gt;

&lt;p&gt;Lower barriers to experimentation: Open-weight models and embedding tools make it easier to compare model behavior, evaluate triage quality, and experiment with different repository workflows.&lt;/p&gt;

&lt;p&gt;Room for improvement: The architecture creates opportunities to evaluate classification accuracy, tune triage behavior, and explore specialized workflows for different programming languages and project types.&lt;/p&gt;

&lt;p&gt;Open innovation is about more than reducing dependency on a single provider. It gives developers greater flexibility to evaluate, adapt, and improve the tools they use.&lt;/p&gt;

&lt;p&gt;My Agent Session&lt;/p&gt;

&lt;p&gt;AI-assisted development can accelerate implementation, but software that integrates with external services still needs careful validation.&lt;/p&gt;

&lt;p&gt;During development, agentic pair-programming workflows can help with tasks such as designing database schemas, implementing API endpoints, creating automated tests, and refining authentication and authorization logic.&lt;/p&gt;

&lt;p&gt;For a project like TriageForge, the important part is not simply generating code faster. It is validating that the generated implementation follows the intended architecture, respects security boundaries, and behaves correctly when interacting with GitHub.&lt;/p&gt;

&lt;p&gt;The development approach emphasizes using AI as a coding partner while retaining responsibility for testing, reviewing, and validating the resulting implementation.&lt;/p&gt;

&lt;p&gt;My First User&lt;/p&gt;

&lt;p&gt;A useful way to evaluate an issue-triage platform is to test it against the challenges maintainers encounter in real repositories.&lt;/p&gt;

&lt;p&gt;GitHub repositories can accumulate many issues over time, and contributors may report the same underlying problem using different terminology. Bug reports can also be incomplete, leaving maintainers to request missing information before investigating.&lt;/p&gt;

&lt;p&gt;These situations are particularly relevant to TriageForge because its core features are designed to classify reports, identify potentially related issues, and prepare clarification suggestions.&lt;/p&gt;

&lt;p&gt;The next important step is to gather feedback from maintainers and contributors who regularly work with issue backlogs. Their feedback can help evaluate the quality of the AI recommendations, the usefulness of duplicate detection, and whether the approval workflow genuinely saves time.&lt;/p&gt;

&lt;p&gt;The central idea remains the same: useful AI tooling should provide recommendations that people can understand, verify, and control.&lt;/p&gt;

&lt;p&gt;Prize Categories&lt;/p&gt;

&lt;p&gt;TriageForge is relevant to several themes commonly explored in open-source AI and developer-tool challenges:&lt;/p&gt;

&lt;p&gt;Open-Source AI Tools: Applying AI to a practical problem in software development.&lt;br&gt;
Best Use of Open-Weight Models: Using open-weight models for structured issue analysis and classification.&lt;br&gt;
Developer Tools and Productivity: Reducing repetitive repository maintenance work.&lt;br&gt;
Open Innovation: Building around adaptable AI and embedding technologies.&lt;br&gt;
AI-Assisted Workflows: Combining automated analysis with explicit human approval.&lt;/p&gt;

&lt;p&gt;Any formal challenge submission or prize-category entry should match the actual eligibility rules and categories of the relevant event.&lt;/p&gt;

&lt;p&gt;Building TriageForge reinforced an important idea: useful AI developer tools are not just about generating predictions. They also need reliable integrations, structured outputs, security safeguards, and workflows that keep people in control.&lt;/p&gt;

&lt;p&gt;By combining AI-assisted triage, semantic duplicate detection, and human-reviewed actions, TriageForge aims to make GitHub issue management more organized and less repetitive.&lt;/p&gt;

&lt;p&gt;If you maintain an open-source repository or work on a development team with a growing issue backlog, explore TriageForge and share feedback on how the workflow could be improved.&lt;/p&gt;

&lt;p&gt;Live Demo: &lt;a href="https://triageforge.vercel.app/" rel="noopener noreferrer"&gt;https://triageforge.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub Repository: &lt;a href="https://github.com/lillygrace-l/TriageForge" rel="noopener noreferrer"&gt;https://github.com/lillygrace-l/TriageForge&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Backend API and Health Check: &lt;a href="https://triageforge.onrender.com/api/health" rel="noopener noreferrer"&gt;https://triageforge.onrender.com/api/health&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Touchwood: my feeds only unlock after an open-weight model sees me outside</title>
      <dc:creator>Lillygrace</dc:creator>
      <pubDate>Sat, 10 Oct 2026 20:01:56 +0000</pubDate>
      <link>https://dev.to/lillygrace_213530f21c9600/touchwood-my-feeds-only-unlock-after-an-open-weight-model-sees-me-outside-37eo</link>
      <guid>https://dev.to/lillygrace_213530f21c9600/touchwood-my-feeds-only-unlock-after-an-open-weight-model-sees-me-outside-37eo</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Touchwood is a doomscroll lock that only opens outdoors.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A browser extension blocks the sites I lose hours to. When I hit one, I don't get a guilt-trip timer. I get a quest. I open Touchwood on my phone, and it picks a real place near me from OpenStreetMap:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;💧 &lt;em&gt;Mallard Lake is 330 m south. Walk there and photograph the water.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I pocket the phone and walk. When I arrive, it buzzes and chimes. I take the photo, and an open-weight vision model &lt;strong&gt;running on the phone&lt;/strong&gt; checks two things: am I actually outdoors, and is that actually water? If both pass, I get a one-time 6-digit code. I type it into the blocked page, and my feeds open for 30 minutes. Then they lock again.&lt;/p&gt;

&lt;p&gt;The screen is only the lock. Everything that counts happens outside.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Today&lt;/th&gt;
&lt;th&gt;Quest complete&lt;/th&gt;
&lt;th&gt;Field journal&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/http%3A%2F%2Fgithub.com%2Flillygrace-l%2Ftouchwood%2Fblob%2Fmain%2Fapp%2Fscreenshots%2Ftoday.png" alt="Touchwood home screen: a sunny autumn landscape, " width="" height=""&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Flillygrace-l%2Ftouchwood%2Fblob%2Fmain%2Fapp%2Fscreenshots%2Fquest-complete.png" alt="Quest complete: a 6-digit unlock code with a countdown, a " width="" height=""&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Flillygrace-l%2Ftouchwood%2Fblob%2Fmain%2Fapp%2Fscreenshots%2Fjournal.png" alt="Field journal: a grid of quest photos saved on the phone" width="" height=""&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;It's for anyone whose thumb opens a feed before their brain has decided to, which is me. A few things make it more than a gimmick:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Real places, not "go for a walk."&lt;/strong&gt; Quests come from what's actually mapped near you: trees, lakes, parks, benches, viewpoints, public art. Each shows a walking time and direction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pocket navigation.&lt;/strong&gt; A compass arrow that turns with your phone, a progress ring, and a buzz when you arrive, so you aren't staring at the screen on the way.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A field journal.&lt;/strong&gt; Every finished quest is saved with its photo, place and time, on the phone only.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streaks, km walked, minutes outside, and 12 collectible stamps,&lt;/strong&gt; one per quest type.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A home screen that follows the real sky.&lt;/strong&gt; The landscape changes with the time of day and season, with a line like "2h 10m of daylight left · sunset 6:44 PM", worked out on the device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The blocked page keeps count:&lt;/strong&gt; "Try #7 today." Seeing that number does more than any timer did for me.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Flillygrace-l%2Ftouchwood%2Fblob%2Fmain%2Fapp%2Fscreenshots%2Fblocked-page.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Flillygrace-l%2Ftouchwood%2Fblob%2Fmain%2Fapp%2Fscreenshots%2Fblocked-page.png" alt="The browser extension's blocked page: " width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Try it on your phone: &lt;a href="https://touchwood-7q5r.onrender.com/" rel="noopener noreferrer"&gt;https://touchwood-7q5r.onrender.com/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open it in your phone's browser, allow location and camera, and tap &lt;strong&gt;Find me a quest&lt;/strong&gt;. Add it to your home screen to install it. After the first photo check, the vision model is cached and works without signal.&lt;/p&gt;

&lt;p&gt;The app works on its own: quests, the on-device photo check, the journal, streaks and stamps. The browser extension adds the lock, and the 6-digit code from a finished quest unlocks it. Want to try it at your desk? Turn on &lt;strong&gt;Demo mode&lt;/strong&gt; in Settings to skip the walking distance check.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/lillygrace-l" rel="noopener noreferrer"&gt;
        lillygrace-l
      &lt;/a&gt; / &lt;a href="https://github.com/lillygrace-l/touchwood" rel="noopener noreferrer"&gt;
        touchwood
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🌿 Touchwood&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Your feeds stay locked until you go outside.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;▶ Try it: &lt;a href="https://touchwood-7q5r.onrender.com/" rel="nofollow noopener noreferrer"&gt;https://touchwood-7q5r.onrender.com/&lt;/a&gt;&lt;/strong&gt; (open it on your phone)&lt;/p&gt;
&lt;p&gt;A browser extension blocks your doomscroll sites. To get back in, open Touchwood on your phone. It picks a quest from real places near you ("Elk Glen Lake is 430 m southeast, go photograph the water"), then walks you there. An open-weight vision model on your phone checks the photo, and you get a one-time 6-digit code that unlocks your sites for 30 minutes.&lt;/p&gt;
&lt;p&gt;The screen is only the lock. The whole experience happens outside.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What's in it&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;On your phone (PWA)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Real quests from the map:&lt;/strong&gt; trees, lakes, parks, benches, viewpoints and public art near you, from OpenStreetMap, with walking time and direction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pocket navigation:&lt;/strong&gt; a compass arrow that turns with your phone (when it has a compass), a progress ring, OSM walking directions, and a buzz plus chime when…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/lillygrace-l/touchwood" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Repo: &lt;a href="https://github.com/lillygrace-l/touchwood" rel="noopener noreferrer"&gt;https://github.com/lillygrace-l/touchwood&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The whole app is plain HTML, CSS and JavaScript: a PWA you can install, about 100 KB of app code, with no bundler and no backend. The extension is a Chrome Manifest V3 extension.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; Laptop (Chrome extension)                      Phone (PWA)
 declarativeNetRequest blocks feeds             GPS → OpenStreetMap (Overpass) → nearby features
 "Go touch grass" page                          → quest: tree / water / park / bench / art / view
                                                [optional] local LLM writes the quest text
        shared pairing secret                   walk; camera unlocks within ~40–150 m
  ◀──── (typed once, never sent anywhere) ────▶ CLIP ViT-B/32 checks the photo on-device
 checks the 6-digit code offline   ◀── code ──  pass → one-time code (valid 5–10 min)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;1. CLIP ViT-B/32 via transformers.js: the referee.&lt;/strong&gt; The open-weight &lt;a href="https://huggingface.co/Xenova/clip-vit-base-patch32" rel="noopener noreferrer"&gt;CLIP&lt;/a&gt; model runs in the browser through &lt;a href="https://github.com/huggingface/transformers.js" rel="noopener noreferrer"&gt;transformers.js&lt;/a&gt; (about 155 MB, downloaded once and cached). Zero-shot classification means I didn't train anything: the classifier's "knowledge" is just a list of English labels, the same trick described in &lt;a href="https://dev.to/aws-builders/is-this-even-a-valid-card-zero-shot-image-classification-model-in-a-lambda-container-58oj"&gt;Is this even a valid card? Zero-shot image classification model in a lambda container&lt;/a&gt;. Mine runs on the phone instead of in a Lambda.&lt;/p&gt;

&lt;p&gt;Each photo gets two checks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Outdoors?&lt;/strong&gt; "outdoors / nature / a street" vs "indoors / a room / a screen". I tuned this on sample photos: outdoor ones scored 0.56–0.86 and indoor ones 0.20–0.29, so the cutoff is 0.5. It also rejects a photo of a tree on your monitor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is it the target?&lt;/strong&gt; This is where I got it wrong first.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My first version added up the scores of every synonym: &lt;em&gt;water + a river + a pond + a lake + a fountain&lt;/em&gt;. During end-to-end testing with a simulated camera, a photo of &lt;strong&gt;a beach towel and a book on sand&lt;/strong&gt; passed the water quest at 41%. Nothing in the photo was water. With five water labels among thirteen, the target collects about 38% of the probability before the model has looked at anything. My cutoff was 35%.&lt;/p&gt;

&lt;p&gt;The fix uses the fact that softmax keeps logit differences, so &lt;code&gt;ln(p_a / p_b) = logit_a − logit_b&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Best target label must rank top-3 AND beat the median decoy by ~2.7×.&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;logit&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Object&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fromEntries&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;target&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;r&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;label&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;score&lt;/span&gt;&lt;span class="p"&gt;)]));&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;best&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(...&lt;/span&gt;&lt;span class="nx"&gt;quest&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;labels&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;l&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;logit&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;l&lt;/span&gt;&lt;span class="p"&gt;]));&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;decoyLogits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;decoys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;l&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;logit&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;l&lt;/span&gt;&lt;span class="p"&gt;]).&lt;/span&gt;&lt;span class="nf"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;margin&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;best&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;decoyLogits&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;floor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;decoyLogits&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)];&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;rank&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;target&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;findIndex&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;r&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;quest&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;labels&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;label&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;targetOk&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;margin&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nx"&gt;rank&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With 18 decoys ("sand", "a pavement", "an animal", "a book"…), all 7 of my sample photos now land correctly. The towel fails with &lt;em&gt;"Couldn't spot water. It looked more like a book."&lt;/em&gt; A butterfly on a flower and a dog on grass pass. Seven photos is a small set, so these thresholds will keep moving as I test outside. Because they're plain numbers in my own code, I can move them.&lt;/p&gt;

&lt;p&gt;The app shows its working, too. Under every result, "What the on-device model saw" lists the real scores. Here, "an animal" is CLIP's top guess, but grass still ranks #2 and clears the margin easily:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Flillygrace-l%2Ftouchwood%2Fblob%2Fmain%2Fapp%2Fscreenshots%2Fmodel-scores.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Flillygrace-l%2Ftouchwood%2Fblob%2Fmain%2Fapp%2Fscreenshots%2Fmodel-scores.png" alt="The 'What the on-device model saw' panel: Outdoors 58%, Match for grass 92%, and CLIP's top guesses: an animal 25%, grass 18%, a lawn 11%, a person 6%" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. OpenStreetMap via the Overpass API: the quest-giver.&lt;/strong&gt; A single Overpass query pulls trees, water, parks, woods, benches, playgrounds, viewpoints and public art within your chosen radius. Quests are at least 120 m away so you actually walk, and the last map is cached so it keeps working without signal. If nothing is mapped nearby, or you're offline, you get "anywhere" quests: sky, leaf, flower, grass.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. An optional local LLM via WebLLM: the narrator.&lt;/strong&gt; With WebGPU, an open-weight model running in the browser (Gemma 2 2B, Qwen2.5 0.5B or Llama 3.2 1B, swappable in settings) rewrites each quest so it reads like a friend nudging you outside. &lt;strong&gt;The LLM never decides anything that matters.&lt;/strong&gt; Quest types, CLIP labels and geofences are deterministic. The model only gets facts I already have (place name, distance, direction, season) and writes the words. A tiny or swapped model can make the text worse, but it can't send you to a place that doesn't exist.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. No server at all.&lt;/strong&gt; The phone and the extension share a secret once, by link or by typing a 16-character code. Unlock codes are HMAC-SHA256 of that secret and a 5-minute time window, the same idea as TOTP, checked offline on both sides. Each quest gives exactly one code: the extension refuses reuse and rate-limits wrong guesses.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Because the core of this app is &lt;strong&gt;a daily, geotagged photo of where I live and walk.&lt;/strong&gt; Touchwood isn't something I'd ship on a closed vision API.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Touchwood (open, on-device)&lt;/th&gt;
&lt;th&gt;Same idea on a closed API&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Your photos&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Never leave the phone&lt;/td&gt;
&lt;td&gt;A daily photo trail of your neighbourhood on someone else's server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Signal&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Works on a trail after one model download&lt;/td&gt;
&lt;td&gt;Every check needs a connection&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cost&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;$0 per check, no keys, no rate limits&lt;/td&gt;
&lt;td&gt;Paid per image, plus a backend to hide the key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Server&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;Needed for state and for the API key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Control&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;I read the model's scores, retuned the thresholds, and fixed the towel bug in an afternoon&lt;/td&gt;
&lt;td&gt;A yes/no from a black box I can't calibrate&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The last row is where open won the hardest. The beach-towel bug was only fixable because I could see the full probability distribution and work back to the logits. A closed "does this photo contain water?" endpoint would have said &lt;em&gt;yes&lt;/em&gt;, and I'd have had no way to know why.&lt;/p&gt;

&lt;p&gt;There are honest trade-offs. The first CLIP download is about 155 MB, and ViT-B/32 is not the sharpest model available. But it's small enough to run on a phone, and good enough to tell a lake from a towel.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma:&lt;/strong&gt; Gemma 2 2B runs fully in the browser through WebLLM as the quest writer, so no quest text or location context leaves the phone.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Render&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>I built my sister Nissy a private space to write, reflect, and reconnect with her own thoughts—with Gemma running locally</title>
      <dc:creator>Lillygrace</dc:creator>
      <pubDate>Mon, 05 Oct 2026 17:52:05 +0000</pubDate>
      <link>https://dev.to/lillygrace_213530f21c9600/i-built-my-sister-nissy-a-private-space-to-write-reflect-and-reconnect-with-her-own-thoughts-with-22m0</link>
      <guid>https://dev.to/lillygrace_213530f21c9600/i-built-my-sister-nissy-a-private-space-to-write-reflect-and-reconnect-with-her-own-thoughts-with-22m0</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;My Journal Book&lt;/strong&gt; for my sister &lt;strong&gt;Nissy Evangelin&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It started with a problem she told me about: she wanted to journal and get her thoughts out, but sometimes didn't know what to write, and when she did, it was easy to forget about it afterward.&lt;/p&gt;

&lt;p&gt;She wanted a place to write without making everything structured or perfect, and come back to those thoughts later when she needed them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In Nissy's words:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Sometimes I have so many thoughts in my head, but I don't know how to put them into words. And when I write something down, I don't always go back and look at it again.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So I wanted to build something that went beyond:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Write → Save → Forget.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My Journal Book is built around:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WRITE → REFLECT → REVISIT → CONNECT&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can write normally, browse old entries, search and favorite them, explore different writing ideas, and return to thoughts from the past.&lt;/p&gt;

&lt;p&gt;The AI helps with the reflection part.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Gemma?
&lt;/h2&gt;

&lt;p&gt;Journal entries can be extremely personal.&lt;/p&gt;

&lt;p&gt;I didn't want the experience to be:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Private thought → cloud API → third-party server → AI response&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So I built the AI around &lt;strong&gt;Ollama + Gemma&lt;/strong&gt;, running locally on the user's computer.&lt;/p&gt;

&lt;p&gt;Gemma can help with reflection questions, observations, connections between selected entries, and continuing an older thought.&lt;/p&gt;

&lt;p&gt;The important part is that the journal itself doesn't need a cloud AI service.&lt;/p&gt;

&lt;p&gt;And AI isn't required.&lt;/p&gt;

&lt;p&gt;You can still write, edit, search, revisit, favorite, export, and restore your journal without Ollama.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The journal is the product. AI is there when you want another perspective.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Ideas Page
&lt;/h2&gt;

&lt;p&gt;I didn't want to make a page with 100 generic AI-generated prompts.&lt;/p&gt;

&lt;p&gt;Instead, Ideas gives you different ways into writing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Untangle&lt;/strong&gt; — for thoughts that feel tangled&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep&lt;/strong&gt; — for something worth holding onto&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Notice&lt;/strong&gt; — for something you almost missed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Look Back&lt;/strong&gt; — for revisiting the past&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Curious&lt;/strong&gt; — follow a thought further&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Letter&lt;/strong&gt; — write to someone&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Heavy&lt;/strong&gt; — put something down without solving it&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Imagine&lt;/strong&gt; — explore something that isn't true yet&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Surprise Me&lt;/strong&gt; — let the journal choose&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is not to tell you what to think.&lt;/p&gt;

&lt;p&gt;It's to help you start writing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Showing It to My Sister
&lt;/h2&gt;

&lt;p&gt;I showed My Journal Book to Nissy after building the first version.&lt;/p&gt;

&lt;p&gt;She tried the writing page, explored the Ideas section, and then I showed her the local AI reflection.&lt;/p&gt;

&lt;p&gt;Her reaction was:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“I like that I can just write whatever I'm thinking and then have something help me think about it. This is really nice.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That was the part that mattered most to me.&lt;/p&gt;

&lt;p&gt;I wasn't trying to build the most complicated AI application.&lt;/p&gt;

&lt;p&gt;I wanted to build something that &lt;strong&gt;one person I care about would actually use&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keeping It Private
&lt;/h2&gt;

&lt;p&gt;The journal uses browser storage, so there is no account or cloud database required.&lt;/p&gt;

&lt;p&gt;There is also JSON and Markdown export/restore, so the user can keep a backup of their own writing.&lt;/p&gt;

&lt;p&gt;The hosted version serves the application, but the journal data remains in the browser.&lt;/p&gt;

&lt;p&gt;For AI features, the app communicates with the user's local Ollama instance rather than a hosted AI API.&lt;/p&gt;

&lt;p&gt;That was an important requirement for me because I didn't want a private journal to depend on sending private thoughts somewhere else.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;I deliberately kept the stack simple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML&lt;/li&gt;
&lt;li&gt;CSS&lt;/li&gt;
&lt;li&gt;Vanilla JavaScript&lt;/li&gt;
&lt;li&gt;Ollama&lt;/li&gt;
&lt;li&gt;Gemma&lt;/li&gt;
&lt;li&gt;Service Worker&lt;/li&gt;
&lt;li&gt;PWA&lt;/li&gt;
&lt;li&gt;localStorage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The AI layer is separated into &lt;code&gt;ai.js&lt;/code&gt;, while the main journal experience lives in &lt;code&gt;app.js&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The app can also work as a PWA, so the core journal experience remains available offline after the application shell has been cached.&lt;/p&gt;

&lt;p&gt;I didn't use React, Next.js, a cloud database, authentication, LangChain, RAG, or an agent framework.&lt;/p&gt;

&lt;p&gt;For this project, I didn't need them.&lt;/p&gt;

&lt;p&gt;I wanted the technology to stay out of the way of the actual problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/U9ciarmTOMw" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://my-journal-book.onrender.com/" rel="noopener noreferrer"&gt;https://my-journal-book.onrender.com/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/lillygrace-l" rel="noopener noreferrer"&gt;
        lillygrace-l
      &lt;/a&gt; / &lt;a href="https://github.com/lillygrace-l/My-Journal-Book" rel="noopener noreferrer"&gt;
        My-Journal-Book
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;My Journal Book&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A private journal that stays yours.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Write freely, revisit old pages, and use local AI to notice connections in your own words — without an account or a cloud database.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;My Journal Book is an &lt;strong&gt;offline-first journaling PWA&lt;/strong&gt; built for one person. Your journal lives in the browser, while optional AI runs through &lt;strong&gt;Ollama on your own device&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The project is intentionally small and personal: the journal itself is the product, and AI sits behind the experience rather than replacing it.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What makes it different&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;My Journal Book is built around a simple loop:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;WRITE → REFLECT → REVISIT → CONNECT&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Instead of turning journaling into another chatbot, the app helps you return to the pages you already wrote and look at them from a slightly different angle.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Writing&lt;/h3&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Calm notebook-style writing interface.&lt;/li&gt;
&lt;li&gt;Optional mood and tags on new entries.&lt;/li&gt;
&lt;li&gt;Word count and local/offline status…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/lillygrace-l/My-Journal-Book" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;For this project, Gemma isn't just there because I needed an open model for the challenge.&lt;/p&gt;

&lt;p&gt;It changes what the product can be.&lt;/p&gt;

&lt;p&gt;A journal can contain deeply personal thoughts. Running Gemma locally means I can build AI reflection without requiring those thoughts to be sent to a hosted AI provider.&lt;/p&gt;

&lt;p&gt;There is no AI API key in the frontend, no per-request cloud AI cost, and no requirement to create an account with an AI provider.&lt;/p&gt;

&lt;p&gt;For a private journal, &lt;strong&gt;where the AI runs is part of the product&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  One Thing I Learned
&lt;/h2&gt;

&lt;p&gt;Building for one person changes how you make decisions.&lt;/p&gt;

&lt;p&gt;Whenever I wanted to add something, I could ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Would Nissy actually use this?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That question helped me avoid turning the project into another complicated AI dashboard.&lt;/p&gt;

&lt;p&gt;The AI doesn't need to take over the journal.&lt;/p&gt;

&lt;p&gt;It just needs to help the person notice something in their own words.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thought
&lt;/h2&gt;

&lt;p&gt;I started with something my sister told me.&lt;/p&gt;

&lt;p&gt;She wanted somewhere to put her thoughts, but sometimes didn't know how to start, and the things she did write could easily disappear into the past.&lt;/p&gt;

&lt;p&gt;So I built her a place to write them down, come back to them, and sometimes see them from another angle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Write. Reflect. Revisit. Connect.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's &lt;strong&gt;My Journal Book&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gemma&lt;/strong&gt; — AI-powered reflection using Gemma through local Ollama inference.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Render&lt;/strong&gt; — deployed live application.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
