Skip to content

rhysmarsh/LAfungi

Repository files navigation

🍄 LA County Fungi Field Guide

lafungi.org — A comprehensive PWA field guide to 723 species of mushrooms, fungi, and slime molds documented in Los Angeles County, California.

Overview

Stat Value
Species 724 across 10 taxa groups
Architecture Two-file PWA (index.html + species-data.json)
Version v3.004
Data sources iNaturalist, MycoPortal, Mushroom Observer
Photo source iNaturalist CC-licensed via API
Maps Leaflet + ESRI satellite + iNat observation tiles
Offline Service worker with network-first caching

Taxa Groups

Group Species Description
🍄 Agarics 337 Gilled mushrooms — Amanita, Russula, Cortinarius, etc.
🪵 Polypores 76 Bracket fungi — Trametes, Ganoderma, Fomitopsis
🌰 Boletes 40 Sponge-capped mushrooms — Boletus, Suillus, Xerocomellus
☁️ Puffballs 37 Puffballs, stinkhorns, earthstars, bird's nests
🍽️ Cup Fungi 46 Cups, morels, elfin saddles — Peziza, Helvella, Morchella
🫧 Jelly Fungi 24 Gelatinous fungi — Tremella, Auricularia, Dacrymyces
🦠 Slime Molds 30 Myxomycetes — Physarum, Stemonitis, Fuligo
🔬 Ascomycetes 73 Sac fungi, cordyceps, xylaria, hypoxylon
🪸 Coral & Club 26 Coral fungi, club fungi — Ramaria, Clavaria, Clavulina
🧫 Crust Fungi 34 Corticioid/resupinate fungi — Stereum, Phlebia, Peniophora

Key Metrics

Metric Coverage
Establishment (est) 100% — 636 native, 83 introduced, 4 invasive
Ecology notes (hp) 100% unique across all original species
Elevation (elev) 100% — all species assigned substantiated elevation bands
Edibility 100% — 9 deadly, 68 toxic, 102 caution, 123 edible, 421 inedible
Trophic mode (dur) 100% — 507 saprobic, 145 mycorrhizal, 72 parasitic
Cross-guide links 31 PLANT_LINKS entries, 163 oak-associated species

Features

  • Species cards with iNaturalist photos, rarity badges, and establishment status (native/introduced/invasive)
  • Detail sheets with descriptions, field marks, ecology notes, fruiting phenology, elevation ranges, and embedded observation maps
  • Edibility & toxicity warnings — prominent alerts for deadly and toxic species
  • iNaturalist life list — connect your username to track observed species with progress bars
  • Filters — rarity, edibility, establishment (native/intro/invasive), elevation band (coast/low/foot/mid/high), family, observed/unobserved. All filters update life list numerator/denominator.
  • Cross-guide deep links — 31 host tree terms link to la-flora.org; inbound ?species= URLs open species directly
  • Search with 150ms debounce and cross-taxon matching
  • **Offline support — three-tier fallback: network → IndexedDB → CacheStorage. Survives iOS Safari 7-day SW cache eviction

Architecture

lafungi.org/
├── index.html          (~75 KB — app shell, UI, all JS logic)
├── species-data.json   (~656 KB — 723 species with full field data)
├── sw.js               (~631 B — network-first service worker)
├── manifest.json       (PWA manifest)
├── icon-16.png         (favicon)
├── icon-32.png         (favicon)
├── icon-128.png        (PWA icon)
├── icon-180.png        (Apple touch icon)
├── icon-192.png        (PWA icon)
├── icon-512.png        (PWA icon / OG image)
└── icon-1024.png       (source icon)

Cross-Guide Ecosystem

Part of the LA County Natural History Guide series:

Guide URL Species
🌿 Flora la-flora.org 1,476+ plants, mosses & lichens
🍄 Fungi lafungi.org 723 mushrooms, fungi & slimes
🦋 Bugs labugs.org 3,439 butterflies, moths & insects
🦎 Fauna la-fauna.org 252+ vertebrates

Pre-Publication Audit

All 32 checks passed:

  • 0 duplicate IDs, 0 duplicate scientific names
  • 100% coverage: est, hp, elev, edibility, dur
  • 0 lowercase CN/hp starts, 0 CN restated in desc
  • Version synced across HTML + SW
  • Braces/parens balanced
  • Full SEO (OG, Twitter, canonical, theme-color)
  • All features verified (filters, deep links, debounce, badge-col, BL#23 fix)
  • 0 dead PLANT_LINKS (31 alive)
  • Single-pass rHP cross-link replacement (no nested HTML bug)

References

  • Desjardin, Wood & Stevens. California Mushrooms: The Comprehensive Identification Guide (2015)
  • Arora. Mushrooms Demystified (2nd ed.)
  • Siegel & Schwarz. Mushrooms of the Redwood Coast
  • iNaturalist — observation data, photos, species counts
  • MycoPortal — herbarium specimen records
  • Mushroom Observer — community observations

License

See LICENSE for terms. Species data derived from iNaturalist (CC-licensed). Photos fetched via iNaturalist API under original CC licenses with attribution.

About

Open-source hyperlocal checklist & field guide to fungi with live iNaturalist integration, built for Los Angeles Co. FORK THIS: see README for details to adapt (with Claude) for your county, your park, your backyard. Designed as a community-owned biodiversity tool to spark additional awareness and curiosity; contributions welcome

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors