<?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: Rudra pratap singh </title>
    <description>The latest articles on DEV Community by Rudra pratap singh  (@dev_rudra).</description>
    <link>https://dev.to/dev_rudra</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%2F4187248%2F6114142b-21eb-4e48-8cb4-124cbb8f469f.png</url>
      <title>DEV Community: Rudra pratap singh </title>
      <link>https://dev.to/dev_rudra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dev_rudra"/>
    <language>en</language>
    <item>
      <title>AfterTrace: Excavating Forgotten Internet History with Gemma 4</title>
      <dc:creator>Rudra pratap singh </dc:creator>
      <pubDate>Sun, 01 Nov 2026 06:39:45 +0000</pubDate>
      <link>https://dev.to/dev_rudra/aftertrace-excavating-forgotten-internet-history-with-gemma-4-515d</link>
      <guid>https://dev.to/dev_rudra/aftertrace-excavating-forgotten-internet-history-with-gemma-4-515d</guid>
      <description>&lt;p&gt;What if we could travel back through the internet's history and discover what happened to the websites and software projects we left behind?&lt;/p&gt;

&lt;p&gt;The internet is constantly evolving. Websites disappear, communities become inactive, and open-source repositories stop receiving updates. But their digital footprints often remain scattered across archived pages, repository histories, and forgotten documentation.&lt;/p&gt;

&lt;p&gt;I wanted to build something that could explore these forgotten traces.&lt;/p&gt;

&lt;p&gt;That idea became AfterTrace — The Digital Archaeology Lab.&lt;/p&gt;

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

&lt;p&gt;AfterTrace is an AI-powered digital archaeology platform that investigates the historical evolution of websites and open-source software.&lt;/p&gt;

&lt;p&gt;It uses real historical data from the Internet Archive and GitHub, combined with Google's open-weight Gemma 4 model, to reconstruct digital histories and generate evidence-backed research reports.&lt;/p&gt;

&lt;p&gt;The application has two main modes.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Website Archaeology&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Enter a public website URL, and AfterTrace retrieves available historical captures from the Internet Archive Wayback Machine.&lt;/p&gt;

&lt;p&gt;Features include:&lt;/p&gt;

&lt;p&gt;Historical website snapshots and timestamps.&lt;/p&gt;

&lt;p&gt;Extracted content from archived pages.&lt;/p&gt;

&lt;p&gt;Historical evolution timelines.&lt;/p&gt;

&lt;p&gt;Comparisons between two historical snapshots.&lt;/p&gt;

&lt;p&gt;AI-generated historical narratives.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;GitHub Archaeology&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Enter a public GitHub repository URL to investigate its development history.&lt;/p&gt;

&lt;p&gt;AfterTrace retrieves:&lt;/p&gt;

&lt;p&gt;Repository metadata and statistics.&lt;/p&gt;

&lt;p&gt;README documentation.&lt;/p&gt;

&lt;p&gt;Recent commit history.&lt;/p&gt;

&lt;p&gt;Development and maintenance signals.&lt;/p&gt;

&lt;p&gt;Potential preservation and modernization opportunities.&lt;/p&gt;

&lt;p&gt;How I Interpreted Digital Archaeology&lt;/p&gt;

&lt;p&gt;I see forgotten websites and inactive repositories as digital memories.&lt;/p&gt;

&lt;p&gt;A website created in the 1990s might contain traces of an online community that no longer exists. An old repository might preserve engineering decisions that are still useful today.&lt;/p&gt;

&lt;p&gt;AfterTrace attempts to bring these fragments together.&lt;/p&gt;

&lt;p&gt;The goal is not simply to retrieve old data. It is to make that data understandable, searchable, comparable, and useful.&lt;/p&gt;

&lt;p&gt;The Moment It Came Together&lt;/p&gt;

&lt;p&gt;One of the most interesting moments during development was testing AfterTrace against GeoCities.&lt;/p&gt;

&lt;p&gt;The application successfully retrieved historical captures from:&lt;/p&gt;

&lt;p&gt;October 22, 1996&lt;/p&gt;

&lt;p&gt;July 3, 1998&lt;/p&gt;

&lt;p&gt;January 25, 1999&lt;/p&gt;

&lt;p&gt;Seeing actual historical website content from different years was fascinating.&lt;/p&gt;

&lt;p&gt;The Snapshot Comparator also revealed measurable textual differences between the 1996 and 1999 captures:&lt;/p&gt;

&lt;p&gt;37 lines added.&lt;/p&gt;

&lt;p&gt;5 lines removed.&lt;/p&gt;

&lt;p&gt;It turned a forgotten website address into something we could actually investigate.&lt;/p&gt;

&lt;p&gt;Gemma 4: The Intelligence Engine&lt;/p&gt;

&lt;p&gt;Gemma 4 is a central part of AfterTrace.&lt;/p&gt;

&lt;p&gt;I integrated Google's official @google/genai SDK to use the gemma-4-26b-a4b-it model for historical analysis.&lt;/p&gt;

&lt;p&gt;Gemma receives bounded historical evidence and generates structured interpretations, including:&lt;/p&gt;

&lt;p&gt;Historical identity and evolution.&lt;/p&gt;

&lt;p&gt;Notable changes and decay signals.&lt;/p&gt;

&lt;p&gt;Repository development insights.&lt;/p&gt;

&lt;p&gt;Preservation recommendations.&lt;/p&gt;

&lt;p&gt;Digital Resurrection Blueprints.&lt;/p&gt;

&lt;p&gt;However, AI-generated information should not automatically be treated as historical fact.&lt;/p&gt;

&lt;p&gt;That brings me to one of the project's most important engineering components.&lt;/p&gt;

&lt;p&gt;Deterministic Evidence Ledger&lt;/p&gt;

&lt;p&gt;One of my main objectives was to make AfterTrace evidence-driven rather than just another AI chatbot.&lt;/p&gt;

&lt;p&gt;I implemented a Deterministic Evidence Ledger that validates AI-generated claims against actual source records.&lt;/p&gt;

&lt;p&gt;The system separates information into three categories:&lt;/p&gt;

&lt;p&gt;VERIFIED: Claims supported by available primary evidence.&lt;/p&gt;

&lt;p&gt;AI_INFERRED: Reasonable interpretations generated by the model but not independently established as facts.&lt;/p&gt;

&lt;p&gt;UNKNOWN: Information that cannot be established from the available evidence.&lt;/p&gt;

&lt;p&gt;If a generated claim references an invalid or nonexistent source, the application downgrades it instead of presenting it as verified.&lt;/p&gt;

&lt;p&gt;My core engineering principle is:&lt;/p&gt;

&lt;p&gt;AI interprets evidence; deterministic code establishes facts.&lt;/p&gt;

&lt;p&gt;Historical Snapshot Comparator&lt;/p&gt;

&lt;p&gt;AfterTrace also includes an interactive comparison engine.&lt;/p&gt;

&lt;p&gt;Users can select two historical website captures and compare their extracted textual content.&lt;/p&gt;

&lt;p&gt;The system identifies:&lt;/p&gt;

&lt;p&gt;Added content.&lt;/p&gt;

&lt;p&gt;Removed content.&lt;/p&gt;

&lt;p&gt;Changes between historical versions.&lt;/p&gt;

&lt;p&gt;The comparison works on extracted textual data without executing archived website scripts.&lt;/p&gt;

&lt;p&gt;Why Open Innovation Matters&lt;/p&gt;

&lt;p&gt;I believe digital preservation should be accessible to developers, researchers, students, and independent communities.&lt;/p&gt;

&lt;p&gt;Open innovation makes it possible to build on publicly accessible archives, inspect source code, experiment with open-weight AI models, and improve existing tools collaboratively.&lt;/p&gt;

&lt;p&gt;AfterTrace combines:&lt;/p&gt;

&lt;p&gt;The Internet Archive's historical web data.&lt;/p&gt;

&lt;p&gt;GitHub's public repository information.&lt;/p&gt;

&lt;p&gt;Gemma 4's open-weight AI capabilities.&lt;/p&gt;

&lt;p&gt;An independently developed evidence-validation system.&lt;/p&gt;

&lt;p&gt;The combination demonstrates how existing open technologies can be integrated to address a real problem.&lt;/p&gt;

&lt;p&gt;I also want other developers to be able to explore the source code, understand the architecture, and contribute improvements.&lt;/p&gt;

&lt;p&gt;Technology Stack&lt;/p&gt;

&lt;p&gt;Component&lt;/p&gt;

&lt;p&gt;Technology&lt;/p&gt;

&lt;p&gt;Frontend&lt;/p&gt;

&lt;p&gt;Next.js 15&lt;/p&gt;

&lt;p&gt;Language&lt;/p&gt;

&lt;p&gt;TypeScript&lt;/p&gt;

&lt;p&gt;Styling&lt;/p&gt;

&lt;p&gt;Tailwind CSS&lt;/p&gt;

&lt;p&gt;AI Model&lt;/p&gt;

&lt;p&gt;Google Gemma 4&lt;/p&gt;

&lt;p&gt;AI SDK&lt;/p&gt;

&lt;p&gt;@google/genai&lt;/p&gt;

&lt;p&gt;Historical Data&lt;/p&gt;

&lt;p&gt;Internet Archive Wayback CDX API&lt;/p&gt;

&lt;p&gt;Repository Data&lt;/p&gt;

&lt;p&gt;GitHub REST API&lt;/p&gt;

&lt;p&gt;HTML Extraction&lt;/p&gt;

&lt;p&gt;Cheerio&lt;/p&gt;

&lt;p&gt;Validation&lt;/p&gt;

&lt;p&gt;Zod&lt;/p&gt;

&lt;p&gt;Testing&lt;/p&gt;

&lt;p&gt;Vitest&lt;/p&gt;

&lt;p&gt;Deployment&lt;/p&gt;

&lt;p&gt;Vercel&lt;/p&gt;

&lt;p&gt;Security and Engineering Challenges&lt;/p&gt;

&lt;p&gt;Building AfterTrace involved several engineering challenges.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SSRF Protection&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Since users can submit website URLs, I implemented URL validation and server-side protections against requests to private networks, localhost, and cloud metadata endpoints.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Structured AI Responses&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Gemma responses are validated against structured schemas. Malformed responses are handled rather than silently accepted.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Evidence Validation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Evidence Ledger ensures that AI-generated claims cannot introduce fabricated source identifiers and file references.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;API Rate Limits&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;GitHub API requests are bounded and handled with appropriate error states.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Inference Latency&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Large historical HTML payloads can make AI analysis slow. I introduced bounded evidence extraction and prompt optimization to reduce unnecessary input.&lt;/p&gt;

&lt;p&gt;Testing and Verification&lt;/p&gt;

&lt;p&gt;After implementing the application, I ran an automated and live verification process.&lt;/p&gt;

&lt;p&gt;Test&lt;/p&gt;

&lt;p&gt;Result&lt;/p&gt;

&lt;p&gt;Automated test suite&lt;/p&gt;

&lt;p&gt;30/30 passed&lt;/p&gt;

&lt;p&gt;TypeScript typecheck&lt;/p&gt;

&lt;p&gt;0 errors&lt;/p&gt;

&lt;p&gt;Production build&lt;/p&gt;

&lt;p&gt;Passed&lt;/p&gt;

&lt;p&gt;Live Wayback integration&lt;/p&gt;

&lt;p&gt;Passed&lt;/p&gt;

&lt;p&gt;Live GitHub integration&lt;/p&gt;

&lt;p&gt;Passed&lt;/p&gt;

&lt;p&gt;Gemma 4 inference&lt;/p&gt;

&lt;p&gt;Passed&lt;/p&gt;

&lt;p&gt;SSRF security tests&lt;/p&gt;

&lt;p&gt;Passed&lt;/p&gt;

&lt;p&gt;Snapshot comparison&lt;/p&gt;

&lt;p&gt;Passed&lt;/p&gt;

&lt;p&gt;The application is deployed and publicly accessible.&lt;/p&gt;

&lt;p&gt;What's Next?&lt;/p&gt;

&lt;p&gt;AfterTrace is an evolving project. Some areas I would like to explore further include:&lt;/p&gt;

&lt;p&gt;More historical archive providers.&lt;/p&gt;

&lt;p&gt;Better website reconstruction.&lt;/p&gt;

&lt;p&gt;Deeper repository evolution analysis.&lt;/p&gt;

&lt;p&gt;Improved preservation workflows.&lt;/p&gt;

&lt;p&gt;More advanced historical visualization.&lt;/p&gt;

&lt;p&gt;Explore AfterTrace&lt;/p&gt;

&lt;p&gt;Live Application:&lt;br&gt;
&lt;a href="https://after-trace-delta.vercel.app" rel="noopener noreferrer"&gt;https://after-trace-delta.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub Repository:&lt;br&gt;
&lt;a href="https://github.com/rudraarcadeskills-art/AfterTrace" rel="noopener noreferrer"&gt;https://github.com/rudraarcadeskills-art/AfterTrace&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I built AfterTrace with one simple idea in mind:&lt;/p&gt;

&lt;p&gt;The internet has a memory. Even when websites disappear, their stories deserve to be explored.&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2fnd8qccov94pus5fyng.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2fnd8qccov94pus5fyng.png" alt=" " width="799" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>new to here</title>
      <dc:creator>Rudra pratap singh </dc:creator>
      <pubDate>Thu, 15 Oct 2026 17:34:49 +0000</pubDate>
      <link>https://dev.to/dev_rudra/new-to-here-f4e</link>
      <guid>https://dev.to/dev_rudra/new-to-here-f4e</guid>
      <description></description>
    </item>
  </channel>
</rss>
