GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - sakialabs/sNAKr: A smart fridge and pantry tracker that predicts shortages and simplifies restocking.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
api
api
 
 
db
db
 
 
docs
docs
 
 
mobile
mobile
 
 
scripts
scripts
 
 
supabase
supabase
 
 
tests
tests
 
 
web
web
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

๐Ÿ‡ sNAKr

Stay stocked. Waste less.

License Python Next.js FastAPI Supabase

sNAKr is a people-first app for shared household inventory. It learns from receipts, keeps tracking human with fuzzy stock states, and helps your home restock with less stress, less waste, and fewer "how are we out again?" moments.


๐Ÿ“‘ Table of Contents

  • ๐Ÿฆ Meet Fasoolya
  • โœจ What sNAKr Does
  • ๐ŸŒฑ Why It Exists
  • ๐Ÿš€ Quick Start
  • ๐Ÿ“Š Project Status
  • ๐Ÿ“ธ Screenshots
  • ๐Ÿ› ๏ธ Tech Stack
  • ๐Ÿ“– Documentation
  • ๐Ÿค Contributing
  • ๐Ÿ“„ License

๐Ÿฆ Meet Fasoolya

Fasoolya is your in-app buddy who keeps an eye on your household inventory, notices when essentials are trending toward "uh oh," and helps you restock before it turns into a last-minute scramble. No nagging. No blame. Just the right nudge at the right time.


โœจ What sNAKr Does

  • Tracks shared household inventory for fridge + pantry
  • Uses fuzzy stock states: Plenty, OK, Low, Almost out, Out
  • Ingests receipts (photo or PDF) so inventory stays fresh with minimal effort
  • Flags shortages early with simple, explainable prediction
  • Builds a restock list so essentials don't sneak up on you
  • Designed as a Nimbly satellite for smarter restocking decisions later

๐ŸŒฑ Why It Exists

Households are busy. Groceries are expensive. Food waste is ridiculous.

Most inventory apps either overwhelm you or expect perfect data. And once multiple people share a kitchen, everything gets messy.

sNAKr exists to help everyday people:

  • Waste less without trying so hard
  • Avoid duplicate buys and surprise shortages
  • Keep the household in sync with minimal effort

Small signals. Real relief.


๐Ÿš€ Quick Start

Prerequisites

  • Docker Desktop (Download)
  • Node.js 18+ (for Supabase CLI)
  • Git for version control

Get Running in 3 Steps

# 1. Clone and navigate
git clone https://github.com/sakialabs/snakr.git
cd snakr

# 2. Set up Supabase (local development)
./scripts/setup-supabase.sh  # macOS/Linux
# or
.\scripts\setup-supabase.ps1  # Windows

# 3. Configure OAuth providers (Google, GitHub minimum)
./scripts/setup/configure-oauth.sh  # macOS/Linux
# or
.\scripts\setup\configure-oauth.ps1  # Windows

# 4. Start all services
./scripts/dev/start-all.sh  # macOS/Linux
# or
.\scripts\dev\start-all.ps1  # Windows

Full setup guide: See docs/SETUP.md for detailed instructions including OAuth configuration.

Access Your Services

  • Supabase Studio: http://localhost:54323
  • API Docs: http://localhost:8000/docs (coming soon)
  • Web App: http://localhost:3000 (coming soon)
  • Database: localhost:54322 (Supabase PostgreSQL)

Verify Everything's Running

# Check Supabase services
supabase status

# Check Docker services
docker-compose ps

You should see all Supabase services running (API, DB, Studio, Auth, Storage, etc.)


๐Ÿ“Š Project Status

Phase 0: Foundation โœ… COMPLETE

  • โœ… Repository and Docker setup
  • โœ… CI/CD pipeline
  • โœ… Supabase configuration
  • โœ… Database schema (9 tables, 1 storage bucket)
  • โœ… Multi-tenant isolation with RLS
  • โœ… Authentication (OAuth + magic links)
  • โœ… Fuzzy search for receipt mapping

Phase 1: MVP (In Progress)

  • โณ API endpoints
  • โณ Web app UI
  • โณ Household management
  • โณ Inventory tracking
  • โณ Receipt upload and processing

See docs/CHANGELOG.md for detailed progress


๐Ÿ“ธ Screenshots

๐Ÿ›ฌ Landing Page

Landing Page

๐Ÿ˜๏ธ Households View

Households

๐Ÿ“ฆ Inventory Management

Inventory

๐Ÿงพ Receipts

Receipts

๐Ÿ›’ Restock List

Restock List

โš™๏ธ Settings

Settings


๐Ÿ› ๏ธ Tech Stack

Backend

  • API: FastAPI (Python 3.11)
  • Database: PostgreSQL 15 with RLS
  • Cache: Redis 7
  • Task Queue: Celery
  • Storage: MinIO (S3-compatible)
  • OCR: Tesseract

Frontend

  • Framework: Next.js 15 with React 19
  • Language: TypeScript
  • Styling: Tailwind CSS
  • UI Components: shadcn/ui (Radix UI)
  • Animation: Framer Motion
  • Icons: Lucide React
  • State: Zustand

Infrastructure

  • Containers: Docker Compose
  • CI/CD: GitHub Actions
  • Deployment: Netlify (web), Render (api)

๐Ÿ“š Documentation

Getting Started

  • Setup Guide - Complete setup instructions with OAuth configuration
  • Contributing Guide - How to contribute

Project Vision

  • Vision & Mission - Why sNAKr exists
  • Voice & Tone - How sNAKr speaks
  • Design System - Visual identity

Technical Docs

  • Roadmap - Phases, architecture, API contract
  • ML Strategy - ML pipelines and evaluation
  • Testing Guide - Testing strategy
  • CI/CD - Pipeline documentation
  • Deployment - Production deployment

Development

  • Changelog - Version history
  • API Reference - Interactive API docs (when running)

๐Ÿค Contributing

We welcome contributions! Check out our Contributing Guide to get started.

Good First Issues

Look for issues tagged:

  • good-first-issue - Great for newcomers
  • help-wanted - We need help
  • documentation - Improve docs

Development Workflow

# Start all services
./scripts/dev/start-all.sh  # macOS/Linux
.\scripts\dev\start-all.ps1  # Windows

# View logs
docker-compose logs -f celery  # Celery worker
supabase logs                  # Supabase

# Run tests
cd api && pytest

# Format code
cd api && black . && ruff check .

# Stop services
./scripts/dev/stop-all.sh  # macOS/Linux
.\scripts\dev\stop-all.ps1  # Windows

See docs/SETUP.md for detailed setup instructions and Docker build options.


๐Ÿ“„ License

MIT License


๐Ÿ™ Acknowledgments

Built with ๐Ÿ’– for everyday people tryna stay stocked and not get rocked.

Dedicated to everyone who's ever said "how are we out of milk again?"


Ready to get started? Run ./scripts/dev/start-all.sh and you're off! ๐Ÿš€

About

A smart fridge and pantry tracker that predicts shortages and simplifies restocking.

snakr-demo.netlify.app

Topics

computer-visiondockerfastapifood-waste-reductioninventory-trackingnextjspantry-managementpostgresqlpytorchreceipt-ingestionsmart-kitchensupabasetypescript

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.