Skip to content

Cannabis strain search database with 1,000+ strains featuring real-time filtering and detailed strain information. Check out a real world use in the link below:

License

Notifications You must be signed in to change notification settings

Shannon-Goddard/grow_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

54 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Cannabis Strain Search Database

A comprehensive interactive search application featuring detailed information on 1,000+ cannabis strains. This powerful tool provides real-time search functionality with extensive strain data including genetics, effects, THC/CBD levels, and growing information sourced from the Wikileaf database.

πŸ” Live Demo

View Live Application

Part of the GrowApp Cannabis ecosystem - growappcannabis.guide

πŸ“‹ Table of Contents

✨ Features

  • Comprehensive Database: 1,000+ cannabis strains with detailed information
  • Real-Time Search: Instant filtering as you type strain names
  • Detailed Strain Information: THC/CBD levels, genetics, effects, and growing data
  • Visual Strain Gallery: High-quality images for each strain
  • Responsive Design: Mobile-friendly interface with Bootstrap framework
  • Professional Branding: Loyal9 LLC branded cultivation tool
  • Data Integration: Seamlessly connects with other GrowApp components

🌿 Database Overview

Strain Information Includes:

  • Strain Name & Genetics: Complete lineage and breeding information
  • Cannabinoid Profile: THC and CBD percentages
  • Strain Type: Indica, Sativa, or Hybrid classifications with percentages
  • Growing Information: Flowering time and cultivation difficulty
  • Effects & Description: Detailed effects, flavors, and medical applications
  • Visual Reference: High-quality strain images

Data Source

  • Primary Source: Wikileaf Cannabis Database
  • Data Processing: Python-based extraction and transformation
  • Total Records: 1,000+ unique cannabis strains
  • Data Points: 36,312 individual data entries across all strains

πŸ›  Technology Stack

  • Frontend: HTML5, CSS3, JavaScript (ES6)
  • Framework: Bootstrap 4.0.0
  • Libraries: jQuery 2.1.1, D3.js 4.11.0
  • Icons: Font Awesome 4.7.0
  • Data Processing: Python, Pandas (for data transformation)
  • Search Algorithm: Real-time JavaScript filtering
  • Styling: Custom CSS with responsive design

πŸš€ Installation

  1. Clone the repository:

    git clone https://github.com/Shannon-Goddard/grow_search.git
    cd grow_search
  2. Open in browser:

    # Simply open index.html in your web browser
    open index.html
  3. Or serve locally:

    # Using Python
    python -m http.server 8000
    
    # Using Node.js
    npx serve .

πŸ“– Usage

Basic Search

  1. Start Typing: Enter strain name in the search box
  2. Real-Time Results: See filtered results appear instantly
  3. Select Strain: Click on any strain from the dropdown list
  4. View Details: Complete strain information displays automatically

Search Features

  • Fuzzy Matching: Finds strains even with partial or misspelled names
  • Auto-Hide: Search dropdown hides when not in use
  • Instant Clear: Search clears automatically after selection
  • Mobile Optimized: Touch-friendly interface for mobile devices

Strain Information Display

Each strain selection provides:

  • Visual Identification: High-quality strain image
  • Genetic Information: Indica/Sativa/Hybrid percentages
  • Cannabinoid Levels: THC and CBD percentages
  • Growing Data: Flowering time in weeks
  • Detailed Description: Effects, flavors, and background information
  • Additional Information: Extended strain details and history

πŸ“Š Data Structure

Strain Object Format

{
  index: "0",
  strain: "Green Crack",
  info: "Detailed strain description and effects...",
  more_info: "Extended information and background...",
  THC: "24",
  CBD: "0",
  Indica: "",
  Hybrid: "",
  Sativa: "65% SATIVA",
  Grow: "8",
  logo: "static/images/Green_Crack.jpg"
}

Search Implementation

  • Real-time filtering using JavaScript indexOf() method
  • Case-insensitive search with toUpperCase() normalization
  • Dynamic display control showing/hiding results based on input
  • Event-driven updates using jQuery keyup and click handlers

πŸ“ Project Structure

grow_search/
β”œβ”€β”€ pics/                    # Header images and graphics
β”‚   β”œβ”€β”€ gif.gif
β”‚   └── header.png
β”œβ”€β”€ static/
β”‚   β”œβ”€β”€ CSS/
β”‚   β”‚   └── style.css       # Custom styling
β”‚   β”œβ”€β”€ images/             # Strain images (1000+ files)
β”‚   β”‚   β”œβ”€β”€ Green_Crack.jpg
β”‚   β”‚   β”œβ”€β”€ Blue_Dream.jpg
β”‚   β”‚   β”œβ”€β”€ Sour_Diesel.jpg
β”‚   β”‚   └── ... (1000+ strain images)
β”‚   └── js/
β”‚       β”œβ”€β”€ app.js          # Search and interaction logic
β”‚       └── data.js         # Complete strain database
β”œβ”€β”€ index.html              # Main application interface
β”œβ”€β”€ LICENSE                 # MIT License
└── README.md              # Project documentation

πŸ”— Integration

GrowApp Ecosystem Integration

This search database serves as the foundation for:

  • grow_data: Raw strain data processing and CSV generation
  • grow_filter: Advanced filtering and table interface
  • grow_nutrients: Nutrient recommendations by strain type
  • grow_plant: Size planning based on strain characteristics

API Compatibility

  • Data Format: JSON-structured strain objects
  • Search Interface: RESTful-style query capabilities
  • Mobile Support: Responsive design for all devices
  • Cross-Platform: Works with modern web browsers

Data Pipeline

Wikileaf Database β†’ Python Processing β†’ CSV Export β†’ JavaScript Integration β†’ Search Interface

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/strain-enhancement)
  3. Commit changes (git commit -am 'Add new strain data')
  4. Push to branch (git push origin feature/strain-enhancement)
  5. Create a Pull Request

Data Contributions

  • New Strains: Submit strain data following the established format
  • Image Updates: High-quality strain photos welcome
  • Information Updates: Corrections and enhancements to existing data
  • Search Improvements: Algorithm enhancements and UI improvements

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2025 Shannon Goddard | Loyal9 LLC

⚠️ Disclaimer

This application is for educational and informational purposes only. Always follow local laws and regulations regarding cannabis cultivation and use. Strain information is provided for reference - effects may vary based on individual tolerance, growing conditions, and other factors.

πŸ“š Data Sources & References

  • Primary Database: Wikileaf Cannabis Strain Database
  • Data Processing: Custom Python scripts for web scraping and data transformation
  • Image Sources: Wikileaf and various cannabis databases
  • Genetic Information: Breeder and cultivation community contributions

πŸ”„ Updates & Maintenance

  • Regular Updates: Database refreshed with new strain discoveries
  • Quality Assurance: Ongoing verification of strain information
  • Performance Optimization: Continuous improvements to search speed
  • Mobile Enhancement: Regular updates for mobile user experience

Built with πŸ” by Shannon Goddard | Loyal9 LLC

About

Cannabis strain search database with 1,000+ strains featuring real-time filtering and detailed strain information. Check out a real world use in the link below:

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published