{
  "id": 13713376,
  "title": "TrailRelay: Offline-First Trail Hazard Reporting with Gemma and Temporal",
  "url": "https://urgent.news/2026/10/11/trailrelay-offline-first-trail-hazard-reporting-with-gemma-and",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-11T12:31:04.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/akshaj_shetty/trailrelay-offline-first-trail-hazard-reporting-with-gemma-and-temporal-3h59"
  },
  "original_language": "en",
  "account": "TrailRelay is an offline-first trail hazard reporting system that allows users to report issues such as fallen trees, flooding, and damaged trails through a web interface, even when they have no internet connection. The system stores reports locally in the browser using IndexedDB, ensuring availability when connectivity is unavailable. When the backend is reachable, pending reports are synchronized for processing.\n\nThe core of TrailRelay lies in its combination of local AI, durable workflow orchestration, and GitHub integration. The locally running Gemma 3 1B model classifies the hazard descriptions without requiring a hosted AI API, while Temporal orchestrates the report-processing workflow, manages activity execution, and retries failed operations. GitHub Issues provides a way to track processed reports.\n\nThe project demonstrates how local AI and durable workflows can work together to create a more resilient system for outdoor safety. By running Gemma locally, the application gains more control over AI inference and enables local experimentation without depending on a paid inference service. Temporal, on the other hand, ensures that workflow activities are resilient to failures through orchestration and retries. Browser-based storage preserves reports during connectivity issues, ensuring they can be processed once internet access is restored.\n\nThe use of open technologies in TrailRelay allows for inspection, local running, and adaptation, making it easier to understand and modify the system. This open innovation approach enables users to build and adapt the application using tools that meet their specific needs. By combining Google's open-weight Gemma model with Temporal workflow orchestration and GitHub tracking, TrailRelay addresses the challenge of reporting trail hazards in remote areas, contributing to safer outdoor exploration without the need for constant internet connectivity.",
  "summary": "This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass TrailRelay: Offline-First Trail Hazard Reporting with Local AI What I Built Imagine hiking in a remote area and finding a fallen tree blocking the trail, but you have no internet connection to report it. TrailRelay is an offline-first trail hazard reporting system that combines local AI, durable workflow…",
  "key_points": [
    "TrailRelay enables offline reporting of trail hazards like fallen trees and flooding.",
    "Gemma 3 1B model classifies hazard descriptions locally without hosted AI API.",
    "Temporal orchestrates report-processing workflow with GitHub Issues for tracking."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}