{% extends "base.html" %} {% block title %}Admin Dashboard - Orchid Continuum{% endblock %} {% block content %}

Admin Dashboard

Manage orchid database, uploads, and automation

{{ stats.total_orchids }}

Total Orchids

{{ stats.pending_uploads }}

Pending Uploads

{{ stats.validated_orchids }}

Validated

{{ stats.featured_orchids }}

Featured

Live Scraping Dashboard

0
Total Scraped
0%
Success Rate
0
Current Cycle
Idle
Current Scraper
00:00:00
Uptime
Scraper Status - One Plant at a Time (90s cycles, 9s reinitialize)
🌐 Primary Sources
Gary Yong Gee
idle
Plants: 0 | Images: 0
Roberta Fox
idle
Plants: 0 | Images: 0
🌍 International Sources
OrchidSpecies.com (25K+)
idle
Plants: 0
Singapore Botanic (3K+)
idle
Plants: 0
Kew Gardens (50K+)
idle
Plants: 0
OrchidWire (84K+)
idle
Plants: 0
🏪 Commercial Sources
Ecuagenera
idle
Plants: 0 | Images: 0
Andy's Orchids
idle
Plants: 0 | Images: 0
📸 Photography Sources
Ron Parsons
idle
Plants: 0 | Images: 0
Australian Terrestrial
idle
Plants: 0 | Images: 0
🚨 Vigilant Monitor - 30-second checks
DB Health
Image Check
Backups
0
Uptime
00:00:00
Legacy Web Scraping

Traditional batch scraping for specific websites.

Google Drive Management

Manage Google Drive folder structure and file organization.

Import from Google Drive
Trefle Ecosystem Data Enrichment
Botanical Ecosystem Data Integration

Enrich the 5,975 orchid records with comprehensive ecosystem data from the Trefle botanical API. Priority processing for 1,591 FCOS Google Drive records with smart matching algorithms and rate limiting compliance.

Smart Matching Features:
  • Exact scientific name matching
  • Fuzzy name matching algorithms
  • Genus-level fallback system
  • Skip already enriched records
Data Integration:
  • Habitat research JSON storage
  • Native habitat field updates
  • Climate preference enrichment
  • Data provenance tracking
Enrichment Dashboard Rate limited: 120 API calls/hour
Google Forms Integration Pipeline
Automated Processing Gateway

Process member photo submissions from Google Forms through AI-enhanced taxonomy validation, metadata enhancement, and comprehensive botanical analysis to discover correlations between observed phenomena, genetics, ecology, anatomy, morphology, and species diversity.

Processing Features:
  • Automated taxonomy validation
  • AI-powered metadata enhancement
  • Photo analysis and quality assessment
  • Botanical database cross-referencing
Analysis Capabilities:
  • Morphological correlation discovery
  • Genetic relationship analysis
  • Ecological pattern recognition
  • Species diversity insights
Protected by admin password: jsp191516
Recent Uploads
{% if recent_uploads %}
{% for upload in recent_uploads %} {% endfor %}
Filename Status Size Upload Date Actions
{{ upload.original_filename }} {% if upload.processing_status == 'completed' %} Completed {% elif upload.processing_status == 'processing' %} Processing {% elif upload.processing_status == 'failed' %} Failed {% else %} {{ upload.processing_status|title }} {% endif %} {% if upload.file_size %} {{ "%.1f"|format(upload.file_size / 1024 / 1024) }} MB {% else %} - {% endif %} {{ upload.created_at.strftime('%Y-%m-%d %H:%M') }} {% if upload.orchid_id %} View Orchid {% else %} {% endif %}
{% else %}

No recent uploads found.

{% endif %}
Recent Scraping Activity
{% if recent_scrapes %}
{% for scrape in recent_scrapes %} {% endfor %}
Source Status Items Found Items Processed Date Error
{{ scrape.source|replace('_', ' ')|title }} {% if scrape.status == 'success' %} Success {% elif scrape.status == 'error' %} Error {% elif scrape.status == 'processing' %} Processing {% else %} {{ scrape.status|title }} {% endif %} {{ scrape.items_found or 0 }} {{ scrape.items_processed or 0 }} {{ scrape.created_at.strftime('%Y-%m-%d %H:%M') }} {% if scrape.error_message %} {% else %} - {% endif %}
{% else %}

No scraping activity found.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}