Skip to content

Discover edible, medicinal, and nutritional uses of common wild plants. Learn to identify weeds with quizzes and a full plant library.

License

Notifications You must be signed in to change notification settings

michaelsboost/Urban-Forager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Urban Forager

Learn the wild plants growing around you.

Urban Forager Screenshot

License Stars Issues


๐Ÿš€ About Urban Forager

Urban Forager is an educational, offline-friendly foraging app designed to help people learn about the edible, medicinal, and nutritional uses of common wild plants โ€” especially the โ€œweedsโ€ most people overlook.

Built entirely with kodeWeave, the app features:

  • A full plant library with multiple verified images per plant
  • Detailed edibility, medicinal, and safety information
  • Clear identification features & warning notes for toxic lookalikes
  • A quiz mode to help users learn through play
  • Runs 100% client-side โ€” no server required

The goal: free survival knowledge for everyone.


๐ŸŒŸ Features

โœ… Full Plant Library โ€“ Explore detailed profiles of wild edible & medicinal plants
โœ… High-Quality Plant Images โ€“ Multiple verified photos per plant
โœ… Identification Guidance โ€“ Leaf shapes, flowers, stems, growth patterns & more
โœ… Look-Alike Warnings โ€“ Toxic vs edible distinctions made clear
โœ… Edible Parts & Uses โ€“ Culinary, nutritional, and historical medicinal info
โœ… Safety First โ€“ Strong caution notes where risk exists
โœ… Interactive Quiz Mode โ€“ Learn through fun questions
โœ… Offline-Friendly โ€“ Works in your browser, no internet required
โœ… Lightweight & Fast โ€“ No bloat, no tracking, no nonsense


๐ŸŽฎ Learn By Playing

Urban Forager includes a built-in quiz system to help users actually learn, not just read.

Quiz categories include:

  • ๐Ÿ•ต๏ธ Identification
  • ๐Ÿฅ— Edible Uses
  • ๐ŸŒฟ Medicinal Uses
  • โ˜ ๏ธ Toxic Plants
  • ๐Ÿ‘ฏ Look-Alikes
  • ๐ŸŒ Habitat
  • ๐Ÿณ Preparation & Processing

Each question includes:

  • Multiple-choice answers
  • A correct answer
  • A short explanation that actually teaches something

๐ŸŒฟ Plant Data Structure

Plant data lives in the weeds array.

Each plant is stored as an object like this:

{
  id: 37,
  commonName: "Queen Anne's Lace (Wild Carrot)",
  emoji: "๐Ÿค",
  images: [...],
  scientificName: "Daucus carota",
  family: "Apiaceae",
  description: "A wild ancestor of cultivated carrot...",
  season: "Summer",
  habitat: "Fields, roadsides, disturbed ground",
  difficulty: "Advanced",

  tags: ["Edible (Caution)", "Medicinal", "Carrot Family"],

  identifyingFeatures: [...],
  lookAlikes: "...",
  edibleParts: [...],
  harvestingNotes: "...",
  culinaryUses: [...],
  recipes: [...],
  medicinalUses: [...],
  preparationMethods: [...],
  safetyNotes: "...",

  nutritionalSummary: "",
  nutrients: [...],
  healthBenefits: [...]
}

๐Ÿง  Quiz Data Structure

Quiz questions are stored in categorized arrays:

questions: {
  identification: [
    {
      text: "Which weed has yellow flowers that become white puffballs?",
      options: ["Plantain", "Dandelion", "Chickweed", "Curly Dock"],
      correctAnswer: "Dandelion",
      explanation: "Dandelion forms iconic white puffball seed heads.",
    }
  ],
  edible: [...],
  medicinal: [...],
  toxic: [...],
  lookalikes: [...],
  habitat: [...],
  preparation: [...]
}

๐Ÿ“ฅ Installation & Setup

Urban Forager is fully web-based.
No installation. No server. Just open and use.

Run Online

Link coming soon once published ๐Ÿ™‚

Run Locally

Clone the repo:

git clone https://github.com/michaelsboost/UrbanForager.git
cd UrbanForager

Run a simple local server (example using Python):

python3 -m http.server 8000

Then open:

http://localhost:8000

Thatโ€™s it.


๐Ÿค Contributing

Contributions are welcome and appreciated โค๏ธ

You can help by:

  • ๐Ÿ“ธ Adding accurate plant images
  • ๐ŸŒฟ Submitting new plant data
  • ๐Ÿง  Writing quiz questions
  • ๐Ÿž Fixing mistakes or improving accuracy

โš ๏ธ Disclaimer

This app is for educational purposes only.

  • Never consume a plant unless you are 100% certain of identification
  • Many plants have dangerous or deadly look-alikes
  • Some plants are only edible in certain seasons or stages
  • People may experience allergic reactions
  • Always verify using multiple trusted sources

You are responsible for your own safety.


๐Ÿงช Tech Stack

Urban Forager is built to be lightweight, fast, and easy to contribute to:

  • โšก AlpineJS โ€“ simple reactive UI without large frameworks
  • ๐ŸŽจ Tailwind CSS โ€“ clean styling with utility classes
  • โญ Font Awesome โ€“ icons used throughout the interface
  • ๐ŸŒ 100% Client-Side
  • ๐Ÿ“ฆ No build tools, no backend, no dependencies

Runs anywhere a browser runs.


๐Ÿ“œ License

Urban Forager is open-source under the MIT License.
See the full license: LICENSE


๐Ÿ’ก Want to Contribute?

Awesome! Urban Forager is free and open-source, and contributions are always welcome.

How You Can Help:

๐Ÿ”น Submit a Pull Request โ€“ Found a bug? Have a feature idea? Let's build together!
๐Ÿ”น Spread the Word โ€“ Share Urban Forager with fellow developers, creators and nature lovers.
๐Ÿ”น Fork & Experiment โ€“ Urban Forager is yours to play withโ€”have fun with it!

If Urban Forager has been helpful to you, here are some ways you can show support:

ko-fi

โ˜• Buy me a coffee: ko-fi.com/michaelsboost
๐ŸŽจ Grab some of my art prints: DeviantArt Store
๐Ÿ‘• Get a kodeWeave T-shirt or gear: Merch Store
๐Ÿ“š Check out my Graphic Design Course: Learn Design
๐Ÿ›’ Register as a customer on my store: Visit Store
๐Ÿ’™ Donate via PayPal: Support via PayPal
๐Ÿ’ธ Donate via Cash App: Support via SquareCash

Your support helps keep Urban Forager free, open-source, and constantly improving. ๐Ÿš€


๐Ÿ“ง Contact

Created by: Michael Schwartz - https://michaelsboost.com Maintained by: The Open Source Community

About

Discover edible, medicinal, and nutritional uses of common wild plants. Learn to identify weeds with quizzes and a full plant library.

Topics

Resources

License

Stars

Watchers

Forks

Contributors