| Crates.io | fedco-trees |
| lib.rs | fedco-trees |
| version | 0.1.0 |
| created_at | 2025-11-18 02:43:37.672051+00 |
| updated_at | 2025-11-18 02:43:37.672051+00 |
| description | CLI tool for scraping and searching the Fedco Seeds tree catalog |
| homepage | |
| repository | https://github.com/alexjokela/fedco-trees |
| max_upload_size | |
| id | 1937807 |
| size | 120,850 |
A command-line tool for scraping and searching the Fedco Seeds tree catalog with advanced filtering capabilities.
cd fedco-trees
cargo build --release
The binary will be at target/release/fedco-trees
Scrape all default categories (apples, pears, cherries, plums, peaches, apricots):
./target/release/fedco-trees scrape
Scrape specific categories:
./target/release/fedco-trees scrape --categories apples,pears
./target/release/fedco-trees scrape --categories cherries
Save to a custom file:
./target/release/fedco-trees scrape --output my-trees.json
Browse trees interactively with keyboard navigation and real-time filtering:
./target/release/fedco-trees browse
Or browse a custom data file:
./target/release/fedco-trees browse --input my-trees.json
Keyboard Controls:
↑/↓ or j/k: Navigate tree listz: Filter by USDA hardiness zones: Filter by rootstock size (dwarf/semi-dwarf/standard)c: Filter by category (apples, pears, etc.)/: Search by keyword (searches names, descriptions, and characteristics)r: Reset all filtersq or Ctrl+C: QuitTUI Display:
Search all trees:
./target/release/fedco-trees search
Filter by USDA hardiness zone (case-insensitive):
./target/release/fedco-trees search --zone Z3
./target/release/fedco-trees search --zone z4
Filter by tree size:
./target/release/fedco-trees search --size dwarf
./target/release/fedco-trees search --size semi-dwarf
./target/release/fedco-trees search --size standard
Filter by category:
./target/release/fedco-trees search --category apples
./target/release/fedco-trees search --category pears
Filter by harvest season:
./target/release/fedco-trees search --season summer
./target/release/fedco-trees search --season fall
./target/release/fedco-trees search --season winter
Filter by maximum price:
./target/release/fedco-trees search --max-price 35.00
Full-text search (case-insensitive):
./target/release/fedco-trees search --query "scab resistant"
./target/release/fedco-trees search --query "cider"
./target/release/fedco-trees search --query "Ashmead"
Combine multiple filters:
./target/release/fedco-trees search --zone Z4 --size semi-dwarf --category apples --max-price 40.00
./target/release/fedco-trees search --query "disease resistant" --zone z3 --season fall
Show detailed information:
./target/release/fedco-trees search --zone Z3 --detailed
./target/release/fedco-trees search --query "Cox" --detailed
Use a custom data file:
./target/release/fedco-trees search --input my-trees.json --zone Z4
The tool collects the following information for each tree:
Found 2 matching trees:
Liberty (apples)
Zone: Z4 | Season: Late summer-fall | Sizes: Semi-Dwarf, Standard | Price: $36.00
Medium size, crisp white flesh. All-purpose. Keeps till late fall. Scab-immune. Annual bearer.
Ashmead's Kernel (apples)
Zone: Z4 | Season: Winter | Sizes: Semi-Dwarf, Standard | Price: $36.00
An after-dinner apple of unparalleled quality. Intense aromatic sting of sharp and sweet.
=== Ashmead's Kernel Apple ===
Category: apples
URL: https://fedcoseeds.com/trees/ashmeads-kernel-apple-7204
Product ID: 7204
Hardiness Zone: Z4
Season: Summer
Scientific Name: Malus domestica
Origin: Unknown parentage. Gloucester, England, about 1700. Possibly a seedling of Nonpareil.
Description:
Winter. An after-dinner apple of unparalleled quality. Not for those who like sweet mild
apples. Each bite is an intense aromatic sting of sharp and sweet, with hints of other
indescribable but absolutely wonderful tastes and aftertastes. Beginning to show up here
and there in commercial orchards. A good sharp addition to hard cider. Medium-small oblate
and lopsided orange-gold-green russet fruits ripen in October. Store until New Year to reach
perfection. Keeps until they're all gone. Moderately vigorous tree may bear irregularly, but
it's worth the wait. Somewhat scab resistant. Blooms midseason. Z4.
ships in spring
Rootstock Options:
standard rootstock (Standard): $36.00 [7204-A]
M111 semi-dwarfing rootstock (Semi-Dwarf): $36.00 [7204-C]
Characteristics:
• Scab resistant
The tool automatically categorizes rootstocks based on their type:
./target/release/fedco-trees search --zone Z3 --query "cider" --category apples
./target/release/fedco-trees browse --input trees.json
# Then press 's' and enter "dwarf"
./target/release/fedco-trees search --query "scab resistant" --detailed
./target/release/fedco-trees search --query "disease resistant"
./target/release/fedco-trees search --query "Ashmead" --detailed
# Shows item codes like [7204-A] for standard, [7204-C] for semi-dwarf
./target/release/fedco-trees search --max-price 35.00 --detailed
After scraping, you'll have JSON files containing tree data:
trees.json - Default output fileContributions are welcome! Areas for improvement:
BSD 3-Clause License - See LICENSE file for details
This tool is not affiliated with Fedco Seeds. It is an independent project created to help gardeners and orchardists research and compare fruit tree varieties. Please respect Fedco's website by using reasonable scraping intervals and consider purchasing trees through their official ordering system to support their work.
Created for personal orchard planning and variety research.