This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass
Noxara: Touch Grass, Look Up, and Let the Universe Tell You a Story 🌌
An offline-first AI stargazing companion that wants you to spend less time looking at your screen and more time looking at the sky.
What I Built
We've built an incredible amount of technology designed to keep us looking down.
Another notification. Another feed. Another reason to spend five more minutes scrolling.
Meanwhile, there's an entire universe above us.
I built Noxara around a simple question:
What if AI could encourage us to spend more time experiencing the real world instead of pulling us further into our screens?
Noxara is a mobile-first stargazing companion that helps you identify celestial objects by pointing your phone at the night sky, then uses on-device AI to tell you their stories.
It's a little astronomy guide, a little storyteller, and hopefully, a reason to go outside tonight.
Touch grass. Or better yet, touch stars. ✨
Okay, you can't actually touch the stars.
But you can leave your room, find somewhere quiet, and look at them.
Stargazing is one of those rare activities that gets better the farther you get from civilization. Away from streetlights, buildings, and light pollution.
Unfortunately, those are also places where a reliable internet connection isn't guaranteed.
That shaped one of Noxara's most important design decisions:
The AI shouldn't need a server to tell you about the stars.
How it works
1. Go outside and look up
Point your phone toward something interesting in the night sky.
Noxara uses your geographic location, device orientation, and astronomical calculations to identify celestial objects in the direction you're pointing.
No camera-based image recognition is required.
2. Discover what you're seeing
That tiny point of light might be a star hundreds of light-years away, a planet, or something that has guided travelers for centuries.
Noxara uses the Yale Bright Star Catalogue, containing 9,110 entries, alongside enriched astronomical metadata to provide context about your discovery.
3. Let the universe tell you a story
This is where AI comes in.
Rather than displaying only a catalogue of measurements, Noxara uses a locally running Gemma model to generate a short narrative based on astronomical context.
Piper text-to-speech then narrates it aloud.
The idea is simple: listen while looking at the actual sky instead of reading paragraphs on your phone.
4. Stay curious
Want to know why a star has a particular name? How far away it is? Why ancient civilizations considered it important?
Ask a follow-up question and let your local AI guide respond.
Demo
The demo walks through the initial model installation, identifying a celestial object, generating a story, and listening to it through Piper.
Noxara is designed for mobile browsers, where location and motion sensors make the experience possible.
Code
GitHub: https://github.com/CosmicAlison/Noxara
Noxara is built with React, TypeScript, Vite, astronomical calculation libraries, and browser-based AI inference.
The repository includes the application source, model worker implementations, astronomical catalogue integration, and tests.
How I Built It
My goal was to create an experience where AI supports an activity happening in the physical world, without depending on a remote inference API.
Gemma: The local storyteller
Noxara uses Gemma 3 270M for generating short astronomical narratives and answering follow-up questions.
Gemma runs in the browser through Transformers.js, using WebGPU where supported or a WebAssembly/CPU fallback.
Instead of sending every discovery to an external language model service, Noxara constructs a prompt using the identified celestial object and available astronomical facts.
The model generates its response directly on the device.
Piper: Giving the universe a voice
For narration, I use Piper, an open-source neural text-to-speech engine that can run locally.
Getting this right was one of the more interesting technical challenges.
My first implementation used Kokoro. While the generated audio was promising, inference on my Samsung Galaxy A55 introduced long pauses between sentences.
I experimented with chunking and performance comparisons before switching to Piper.
Piper delivered a much more practical narration experience on my device, without requiring an external speech API.
That mattered because Noxara isn't supposed to feel like another chatbot.
It's supposed to feel like a companion you can listen to while exploring the night sky.
Astronomy without a cloud recognition service
The object identification process doesn't depend on an AI image recognition API.
Instead, Noxara combines:
- Device location and orientation
- Astronomical position calculations
- The Yale Bright Star Catalogue
- Curated astronomical facts and historical context
This provides the factual foundation for Gemma's storytelling.
Installing both models
On first launch, Noxara guides users through installing Gemma and Piper.
Both models are initialized during setup, with model resources cached locally for later use.
The language model and speech engine run in separate workers, helping keep expensive inference operations away from the main interface.
The current offline boundary is important: after setup, AI text generation and speech synthesis can run locally without cloud inference. However, reliably reopening the entire web application with no connection still requires additional application-shell caching.
Why Does Open Innovation Matter?
For Noxara, open innovation isn't just about which libraries I imported.
It's what makes the product's entire philosophy possible.
1. The best stargazing locations aren't necessarily connected
Imagine driving away from the city, finding a quiet place with minimal light pollution, and looking up at a sky full of stars.
Now imagine your astronomy guide refusing to work because it can't reach an AI server.
That would defeat the point.
By running Gemma and Piper on the device, Noxara can generate narratives and speech without making cloud inference requests once the models are installed.
A closed, API-only approach would require connectivity whenever the user wanted a new story or answer.
Open models allow me to move that intelligence onto the phone.
2. Your location shouldn't have to become someone else's data
Location is essential to Noxara because the stars visible above you depend on where you are.
But knowing where someone is stargazing doesn't mean an AI provider needs to receive their coordinates.
Noxara performs its astronomical calculations locally and doesn't need to send the user's location to a cloud language model.
There's no account requirement, and the AI inference workflow doesn't require a remote server to process the user's questions.
This is especially meaningful for an application built around exploration.
Your curiosity about the world shouldn't require giving up your privacy.
3. I can choose the model that actually works
This was perhaps the most practical benefit I experienced.
When Kokoro proved too slow for comfortable narration on my phone, I wasn't locked into a proprietary speech provider.
I could experiment with different open-source implementations, compare performance, and switch to Piper.
The result was a better experience for the hardware I actually had.
Open innovation gave me control over the trade-offs between model size, latency, and output quality.
I can continue experimenting with the language model, voice, prompts, and inference strategy without redesigning the application around a vendor's API.
4. No per-request AI bill
Cloud inference APIs introduce a recurring cost every time users generate content.
Noxara's local approach avoids per-request cloud inference charges for its Gemma storytelling and Piper narration.
That doesn't make the project literally free to operate: hosting, development, initial downloads, and users' device resources still have costs.
But it changes the economics of experimentation.
I can build and test an AI experience without paying a provider every time someone asks about a star.
And for a small, independent project, that freedom matters.
5. Open AI can help people disconnect
There's an interesting contradiction at the heart of Noxara.
I'm using AI to encourage people to spend less time interacting with technology.
Not another feed. Not another endless conversation. Not another screen demanding attention.
Just enough intelligence to make the physical world a little more interesting.
That's what excites me about open innovation: the freedom to build AI experiences that don't have to revolve around keeping users connected to a platform.
Sometimes the best thing an AI can do is give you a reason to put your phone down.
Taking Noxara Outside: A Night on Mauritius's West Coast 🌌
Of course, I couldn't build an app about touching grass and then only test it from my desk! So one night, I headed out to the west coast of Mauritius to give Noxara a proper field test. I pointed my phone toward the night sky, and Noxara identified HR 5191, a star in the Yale Bright Star Catalogue. That star is Alkaid, part of the constellation Ursa Major and located at the tip of the Big Dipper's handle. What I find especially fascinating about Alkaid is its history in traditional Arabic astronomy: the stars of the Big Dipper were once imagined as a funeral procession, with Alkaid representing the leader of the mourners. Noxara successfully generated a story for my discovery, although the audio initially failed, which gave me a real-world issue to work on. It was a small but exciting moment: standing outside, looking at an actual star, and seeing something I'd built connect that point of light to thousands of years of astronomy and human storytelling. That's exactly the kind of experience I wanted Noxara to create.
What's Next?
Noxara is still evolving, and there are a few areas I'd love to improve:
- Richer cultural astronomy: Expand carefully sourced stories about how different civilizations interpreted the same stars.
- Better mobile performance: Continue improving inference speed and memory usage on midrange phones.
- More outdoor testing: Test the experience in genuinely dark, low-connectivity locations.
One of my favorite things about astronomy is that the same sky has inspired people across thousands of years.
The stars have been calendars, navigational tools, scientific mysteries, and characters in stories passed down through generations.
I wanted Noxara to bring a little of that wonder back.
And if it convinces even a few people to step outside tonight, find somewhere dark, and look up for a while, I'll consider that a pretty good outcome.
Touch grass. Look up. The universe has stories to tell. 🌌
Built for the Hacktoberfest Open-Source AI Challenge — Week 1: Touch Grass.





Top comments (0)