<?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: Achintya singh </title>
    <description>The latest articles on DEV Community by Achintya singh  (@achintyasingh412).</description>
    <link>https://dev.to/achintyasingh412</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%2F4155555%2Fb176fecd-cf1b-47e6-b7bc-73ea276b0d3a.png</url>
      <title>DEV Community: Achintya singh </title>
      <link>https://dev.to/achintyasingh412</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/achintyasingh412"/>
    <language>en</language>
    <item>
      <title>My roommate kept stealing the 7 PM court slot, so I built an AI warden to settle our wars.</title>
      <dc:creator>Achintya singh </dc:creator>
      <pubDate>Sun, 04 Oct 2026 18:46:03 +0000</pubDate>
      <link>https://dev.to/achintyasingh412/my-roommate-kept-stealing-the-7-pm-court-slot-so-i-built-an-ai-warden-to-settle-our-wars-560h</link>
      <guid>https://dev.to/achintyasingh412/my-roommate-kept-stealing-the-7-pm-court-slot-so-i-built-an-ai-warden-to-settle-our-wars-560h</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;h3&gt;
  
  
  🏸 My hostel mates were treating the badminton sign-up sheet like a death note, so I built an AI dictator to stop the bloodshed
&lt;/h3&gt;

&lt;p&gt;If you've ever set foot in a college hostel, you know the physical sign-up sheet for the badminton court is less of a schedule and more of a psychological thriller. Someone writes &lt;em&gt;"7 PM - Me,"&lt;/em&gt; someone else aggressively scribbles it out, slathers three layers of whiteout over it, and suddenly a casual rally turns into a full-scale hallway turf war.&lt;/p&gt;

&lt;p&gt;My floor was descending into absolute lawlessness. People were forging signatures, hiding pens, and nearly throwing hands over a court slot. Pen and paper had failed us. Democracy had failed us.&lt;/p&gt;

&lt;p&gt;So, instead of getting accidentally clocked in the face with a graphite racket, I built &lt;strong&gt;Hostel Nexus&lt;/strong&gt;—an unyielding, AI-powered hostel warden that brings absolute, emotionless judicial tyranny back to campus living.&lt;/p&gt;




&lt;h3&gt;
  
  
  What Hostel Nexus actually does:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Supreme Court of Campus Sports:&lt;/strong&gt; Instead of letting roommates scream at each other in the corridor at midnight, they submit their dramatic grievances straight to an AI Warden powered by local &lt;strong&gt;Gemma&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Drama Verdicts:&lt;/strong&gt; The AI doesn't care that your roommate "called dibs" or that they shared their snacks with you yesterday. It weighs the data, drops a binding final sentence, and shuts down the debate permanently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apocalypse-Proof Reliability:&lt;/strong&gt; Even when cloud deployment serverless functions tried to throw tantrums, our graceful offline fallback logic ensured the AI Warden kept dropping judgments like a cold-hearted digital overlord.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdc7giff7098m1mik7x3e.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%2Fdc7giff7098m1mik7x3e.png" alt=" " width="800" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

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


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://hacktoberfest-1.vercel.app?_vercel_share=3WWe3LAgiugcZzkFiYSrgYtj3WWbsVNo" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;hacktoberfest-1.vercel.app&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;video demo -   &lt;iframe src="https://www.youtube.com/embed/qJSiH2yTFsg" width="710" height="399"&gt;
  &lt;/iframe&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/Achintyasingh412" rel="noopener noreferrer"&gt;
        Achintyasingh412
      &lt;/a&gt; / &lt;a href="https://github.com/Achintyasingh412/hacktoberfest" rel="noopener noreferrer"&gt;
        hacktoberfest
      &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;AI-Powered Hostel Management with a Local, Open-Weight AI Warden&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;"My roommate Arjun and I kept fighting over the badminton court. Every evening, 40 students raced to book 2 courts between 7–10 PM, and the group chat turned into a war zone. So I built Hostel Nexus — with a local Gemma-powered AI warden that arbitrates fairly, so nobody has to."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;📖 The Story Behind Hostel Nexus&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Campus hostel life revolves around shared amenities — badminton courts, table tennis blades, basketballs, and late-night study lounge speakers. But peak evening hours (7:00 PM – 10:00 PM) consistently turn into booking chaos. With no impartial authority on site, WhatsApp group chats degrade into shouting matches over slot claims, equipment hoarding, and curfew violations.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Hostel Nexus&lt;/strong&gt; solves this human problem with technology. It combines a real-time 5:00 PM – 11:00 PM booking matrix, a weekly 4-credit quota system, and an automated &lt;strong&gt;Local Gemma AI&lt;/strong&gt;…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Achintyasingh412/hacktoberfest" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;Open-Source AI &amp;amp; Architecture Used:&lt;br&gt;
Open-Weight Model: Gemma (running locally via Ollama).&lt;/p&gt;

&lt;p&gt;Inference &amp;amp; Execution: Local inference via Ollama, allowing students and hostel wardens to query the model directly on local hardware without incurring cloud token costs or latency.&lt;/p&gt;

&lt;p&gt;Frameworks &amp;amp; Stack: Built with a Next.js frontend and backend API routes, deployed on Vercel, paired with a custom-engineered graceful-fallback architecture.&lt;/p&gt;

&lt;p&gt;How the Project is Built Around It:&lt;br&gt;
Hostel Nexus is built entirely around Gemma acting as an Impartial AI Warden.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3xpsop9jljwfnjnaw74f.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%2F3xpsop9jljwfnjnaw74f.png" alt=" " width="800" height="386"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Autonomous Dispute Arbitration: Instead of relying on manual sign-up sheets that lead to hallway arguments and crossed-out badminton court slots, students feed their scheduling conflicts directly into the web app.&lt;/p&gt;

&lt;p&gt;Local Intelligence for Campus Living: The application leverages Gemma to analyze time constraints, review competing claims, and output a strict, emotionless, and binding verdict.&lt;/p&gt;

&lt;p&gt;Robust Production Fallback: Because local models (Ollama) run on localhost:11434, cloud-hosted environments like Vercel serverless functions cannot directly query local endpoints. To solve this, we built a smart fallback layer that seamlessly switches to pre-scripted demo states when offline, ensuring the AI Warden's judgment is always available for evaluation without crashing.&lt;/p&gt;

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

&lt;p&gt;Why Open Innovation Matters for Hostel Nexus:&lt;br&gt;
Open innovation and open-weight models like Gemma were the absolute backbone of Hostel Nexus. Without them, building a decentralized, student-first campus arbiter would have been practically impossible using a closed-source corporate API.&lt;/p&gt;

&lt;p&gt;Here is what open innovation made possible that a closed API simply couldn't:&lt;/p&gt;

&lt;p&gt;Zero Cost for Student Budgets: Closed-source APIs (like OpenAI or Anthropic) charge per-token fees. In a college hostel setting where students are already low on cash, charging a subscription or per-query fee every time two roommates argue over a badminton court slot is completely unviable. Open innovation made AI 100% free and accessible to run locally on student hardware.&lt;/p&gt;

&lt;p&gt;Radical Privacy &amp;amp; Data Sovereignty: Sending sensitive campus schedules, room numbers, and personal student disputes to a third-party closed server raises major privacy concerns. Running Gemma locally means student data stays where it belongs—under local control, without being harvested by a corporate monolith.&lt;/p&gt;

&lt;p&gt;Zero Rate Limits and Vendor Lock-in: Closed APIs come with strict rate limits, sudden pricing changes, and unpredictable downtime. By leveraging an open-weight model via Ollama, we had total freedom to customize the AI Warden's strict, impartial persona, iterate rapidly during the hackathon sprint, and experiment without hitting a corporate paywall or API block.&lt;/p&gt;

&lt;p&gt;Built with AI Collaboration (Best Use of Entire)&lt;br&gt;
To build Hostel Nexus in record time during this hackathon, I didn't code in a silo—I collaborated closely with an AI agent as my co-pilot to architect, debug, and refine the entire application from scratch.&lt;/p&gt;

&lt;p&gt;Here is a look at how our agent sessions and interactive problem-solving shaped the final project:&lt;/p&gt;

&lt;p&gt;Solving the Cloud vs. Local Dilemma: When deploying our Next.js frontend to Vercel, we hit a major engineering wall: cloud serverless functions couldn't query local machine endpoints (localhost:11434 for Ollama/Gemma). Through our agent sessions, we designed and implemented a graceful-fallback architecture that automatically detects unreachable endpoints and switches to pre-scripted demo states, ensuring zero downtime for judges.&lt;/p&gt;

&lt;p&gt;Crafting the Narrative &amp;amp; Tone: The agent helped pivot our project framing from a dry, boring technical feature list into a human-centric story focused on real-world college hostel roommate disputes over badminton court bookings.&lt;/p&gt;

&lt;p&gt;Streamlining Secret Handling: We used agent-assisted debugging sessions to cleanly separate sensitive API credentials—like our ElevenLabs voice synthesis keys—from the source code, securing them properly via Vercel environment variables.&lt;/p&gt;

&lt;p&gt;By leaning on transparent, iterative agent collaboration, we turned a complex offline-to-cloud architecture challenge into a smooth, production-ready submission!&lt;/p&gt;

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

&lt;p&gt;Best Use of Gemma — Because your app is built entirely around local Gemma acting as an impartial AI Warden via Ollama.&lt;/p&gt;

&lt;p&gt;Best Use of Entire — Because you leveraged transparent agent sessions and AI collaboration workflows to architect, build, and debug the application.&lt;/p&gt;

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