Skip to content
premsinghsodha7Public

About

Offline-first Kotlin/Compose pantry app with Room storage, search, category filters, and expiry tracking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

PantryPal

PantryPal logo

An offline-first pantry companion built with Kotlin and Jetpack Compose.

Keep track of what's on the shelf, spot food that's best used soon, and remove items as you cook. Pantry entries are stored locally in a Room database; there is no account or cloud service.

App preview

PantryPal running on the Android emulator with sample pantry items

Live screenshot captured from a Pixel 9 Pro emulator running Android 15 (API 35).

Features

  • Search the pantry by item name and filter by category.
  • See total items, items expiring within three days, and expired items.
  • Add an item with its category, quantity, and days until expiry.
  • Mark an item used to remove it from the list.
  • Keep a shopping list, add items, and check them off as you shop.
  • Use a weekly meal planner and send meal ingredients to the shopping list.
  • Switch between Sage, Coast, and Apricot palettes.
  • Room persistence keeps the pantry on the device across app restarts.
  • Kotlin-only sources under app/src/main/kotlin.

Run

Open this project in Android Studio (JDK 17, Android SDK 35) and run the app configuration. From a terminal, run ./gradlew :app:installDebug. Unit tests: ./gradlew testDebugUnitTest.

Structure

app/src/main/kotlin/com/premsingh/pantrypal/
  data/       Room database, DAO and ViewModel
  domain/     Expiry summaries and display rules
  MainActivity.kt  Pantry, shopping list, meal planner, settings, and add-item form

GitHub Actions runs unit tests and assembles the debug app on pushes and pull requests.

Scope

PantryPal stores data locally and does not request an account, location, camera, or network access. Expiry dates are planning reminders; use the food label and your own judgment for food safety.

License

MIT. See LICENSE.

About

Offline-first Kotlin/Compose pantry app with Room storage, search, category filters, and expiry tracking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages