<?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: Niranjan Pal</title>
    <description>The latest articles on DEV Community by Niranjan Pal (@niranjan_pal_26).</description>
    <link>https://dev.to/niranjan_pal_26</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%2F4161678%2F7a4e6575-afd1-4eb3-a2c6-2b3b55fd078c.png</url>
      <title>DEV Community: Niranjan Pal</title>
      <link>https://dev.to/niranjan_pal_26</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/niranjan_pal_26"/>
    <language>en</language>
    <item>
      <title>AstroGrass AI — Dark-Sky Stargazing &amp; Meteor Lookout</title>
      <dc:creator>Niranjan Pal</dc:creator>
      <pubDate>Wed, 07 Oct 2026 06:50:43 +0000</pubDate>
      <link>https://dev.to/niranjan_pal_26/astrograss-ai-dark-sky-stargazing-meteor-lookout-4egf</link>
      <guid>https://dev.to/niranjan_pal_26/astrograss-ai-dark-sky-stargazing-meteor-lookout-4egf</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;AstroGrass AI&lt;/strong&gt; is an offline-first dark-sky stargazing and meteor lookout companion designed around a strict anti-screen philosophy: getting people to lie down on open grass under the autumn night sky without blinding themselves with phone screens.&lt;/p&gt;

&lt;p&gt;Modern astronomy applications paradoxically trap stargazers into staring down at glowing screens. Screen blue light bleaches rhodopsin in human retinal rod cells, destroying dark adaptation for up to 30 minutes.&lt;/p&gt;

&lt;p&gt;AstroGrass AI flips this dynamic using &lt;strong&gt;open-weight models via Ollama&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You select your celestial targets (October Orionid meteors, Cassiopeia/Pegasus autumn constellations, Saturn/Jupiter, or deep-sky objects like the Pleiades and Andromeda Galaxy M31) and your Bortle darkness level.&lt;/li&gt;
&lt;li&gt;The AI generates a 3-step naked-eye visual finding guide in 15 seconds.&lt;/li&gt;
&lt;li&gt;You activate &lt;strong&gt;Astro Red Mode&lt;/strong&gt;, which converts the entire interface into deep scotopic red (&lt;code&gt;#ff4444&lt;/code&gt; on &lt;code&gt;#070000&lt;/code&gt;), preserving rhodopsin.&lt;/li&gt;
&lt;li&gt;You start the &lt;strong&gt;Hands-Free Dark Adaptation Timer&lt;/strong&gt;: a 15-minute countdown that rings gentle harmonic Web Audio singing-bowl bells at 5-minute milestones so you can keep your phone face down on the grass.&lt;/li&gt;
&lt;li&gt;A rapid pocket meteor tally button and offline Grass-Watch Journal record your real-world sightings without looking at a screen.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Web App&lt;/strong&gt;: &lt;a href="https://astrograss-ai.vercel.app/" rel="noopener noreferrer"&gt;https://astrograss-ai.vercel.app/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/ahanghosh77/astrograss-ai.git" rel="noopener noreferrer"&gt;https://github.com/ahanghosh77/astrograss-ai.git&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The web app includes an integrated astronomical knowledge engine fallback if Ollama is not running locally, allowing instant use anywhere in the world.&lt;/p&gt;

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

&lt;p&gt;You can explore the full open-source codebase on GitHub:&lt;/p&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/ahanghosh77" rel="noopener noreferrer"&gt;
        ahanghosh77
      &lt;/a&gt; / &lt;a href="https://github.com/ahanghosh77/astrograss-ai" rel="noopener noreferrer"&gt;
        astrograss-ai
      &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;AstroGrass AI 🔭🌌&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Dark-Sky Stargazing &amp;amp; Meteor Lookout — Powered by Open-Weight Models via Ollama&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Built for Hacktoberfest 2026 Open-Source AI Challenge Week 1: Touch Grass&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/e007c12041dc8e8da8d3bfe82d173295de9c56ea2b3b4d4f9d5c30ae8bda7019/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d323032362532305765656b253230312d626c75652e737667" alt="Hacktoberfest 2026"&gt;&lt;/a&gt;
&lt;a href="https://ollama.ai" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/f6df99d222373d889dcfec7ae43c5f9bd1104c1123fae8f5b2c0c2c62d5d9a86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e666572656e63652d4f6c6c616d612532304c6f63616c2d737563636573732e737667" alt="Inference Engine"&gt;&lt;/a&gt;
&lt;a href="https://github.com/ahanghosh77/astrograss-ai#" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/cb7ba74f9e889033ea793fec287d4603cde3edb39724b9c84a2ca5856b4921c3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f64656c732d4c6c616d61253230332e3225323025324625323047656d6d61253230322d707572706c652e737667" alt="Models"&gt;&lt;/a&gt;
&lt;a href="https://github.com/ahanghosh77/astrograss-ai#" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/badea432ec8d7b7fd55f6ada21ea13b969fb94ce3df1a5ca6864ce24a65b3f06/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f415049253230436f7374732d253234302e30302d627269676874677265656e2e737667" alt="Zero Cloud Fees"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🍃 Overview&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Stargazing and experiencing the autumn cosmos requires literally &lt;strong&gt;touching grass&lt;/strong&gt; in open meadows and dark-sky parks away from artificial lights.&lt;/p&gt;
&lt;p&gt;However, modern stargazing apps flood users with intense screen blue-light that instantly destroys retinal rod rhodopsin (night-vision adaptation), forcing users to stare at phone screens rather than the actual stars above.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;AstroGrass AI&lt;/strong&gt; is designed with an anti-screen philosophy:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Select your celestial targets&lt;/strong&gt; (October Orionid meteors, Cassiopeia/Pegasus asterisms, Saturn/Jupiter, or deep-sky objects like the Pleiades and Andromeda Galaxy M31).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Synthesize an observation plan in 15 seconds&lt;/strong&gt; using local open-weight models (&lt;code&gt;llama3.2:3b&lt;/code&gt;, &lt;code&gt;gemma2:2b&lt;/code&gt;) running via &lt;strong&gt;Ollama&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Toggle Astro Red Mode&lt;/strong&gt; to eliminate blue-light and preserve retinal night adaptation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Start the Hands-Free Dark Adaptation Timer&lt;/strong&gt;: Lie on the grass…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/ahanghosh77/astrograss-ai" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The repository contains:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;index.html&lt;/code&gt;: Complete semantic dark-sky observatory workstation featuring observation dispatcher, red night-vision mode, dark adaptation timer, SVG sky chart, and meteor counter.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;style.css&lt;/code&gt;: Cosmic midnight indigo theme with custom photopic/scotopic deep-red night-vision filter and responsive glassmorphic cards.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;app.js&lt;/code&gt;: Local Ollama integration (&lt;code&gt;llama3.2:3b&lt;/code&gt; / &lt;code&gt;gemma2:2b&lt;/code&gt;), fallback astronomical matrix, Web Audio API harmonic bell synthesizer, and persistent &lt;code&gt;localStorage&lt;/code&gt; journal tracker.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;AstroGrass AI is built with an offline-first, private edge architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local Open-Source Inference&lt;/strong&gt;: Powered by open-weight models (&lt;code&gt;Meta Llama 3.2 3B&lt;/code&gt; and &lt;code&gt;Google Gemma 2 2B&lt;/code&gt;) running locally via &lt;strong&gt;Ollama&lt;/strong&gt; (&lt;code&gt;http://localhost:11434/api/generate&lt;/code&gt;) with structured JSON schema responses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep Red Scotopic Spectrum Mode&lt;/strong&gt;: An accessible CSS night-vision filter matching astronomical red flashlight standards to prevent night blindness.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Harmonic Audio Synthesizer&lt;/strong&gt;: Implemented using the browser's native &lt;strong&gt;Web Audio API&lt;/strong&gt; (&lt;code&gt;OscillatorNode&lt;/code&gt; + &lt;code&gt;GainNode&lt;/code&gt;), synthesizing 528Hz harmonic singing-bowl chimes to mark dark-adaptation milestones hands-free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Sky Chart SVG&lt;/strong&gt;: Visualizes constellation vectors, stellar magnitudes, and meteor radiants.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Cloud Dependence&lt;/strong&gt;: 100% offline capable when stargazing in remote wilderness pastures with no cell signal.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Open innovation and open-weight models via &lt;strong&gt;Ollama&lt;/strong&gt; are vital for outdoor stargazing:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Remote Wilderness Independence&lt;/strong&gt;: The best stargazing locations (Bortle Class 1-3 dark-sky preserves, mountain pastures, national parks) inherently have zero cellular service. Local inference through Ollama ensures stargazers can query and generate observation plans completely offline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Commercial Distractions&lt;/strong&gt;: Closed-source commercial astronomy apps are bloated with in-app purchases, invasive ad tracking, and bright pop-ups that ruin night vision. Open-source AI keeps the experience pure, serene, and distraction-free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hardware Freedom &amp;amp; Zero API Cost&lt;/strong&gt;: Running lightweight open models like Llama 3.2 3B costs $0.00 and runs smoothly on standard laptops and edge devices.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;This project was built pair-programming with Google Antigravity. The agent structured the observation dispatcher, designed the deep-red night-vision theme and celestial SVG chart, engineered the prompt schema for Ollama, implemented the Web Audio API singing-bowl chime synthesizer, and prepared this submission post.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Ollama&lt;/strong&gt; ($200 USD)&lt;/li&gt;
&lt;/ul&gt;

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