Home / Market / Compost

Compost

Composting reference — methods, C:N ratio, thermophilic stages, vermicomposting, troubleshooting. Use when building compost systems, optimizing decomposition...

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

#!/usr/bin/env bash

compost — Composting Science & Practice Reference

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

set -euo pipefail

VERSION="1.0.0"

cmd_intro() { cat << 'EOF' === Composting Fundamentals ===

Composting is the controlled biological decomposition of organic matter into a stable, humus-like material called compost. Microorganisms (bacteria, fungi, actinomycetes) break down organic waste under managed conditions.

Why Compost?

The Four Requirements:

  1. Carbon (browns): Energy source for microbes
  2. Nitrogen (greens): Protein for microbial growth
  3. Water: Moisture for microbial activity (40-60%)
  4. Oxygen: Aerobic decomposition (turning/aeration)

Get these four right → compost works. Get them wrong → problems (smell, slow, pests).

Key Microorganisms: Bacteria: Primary decomposers, dominate early stages Fungi: Break down tough materials (cellulose, lignin) Actinomycetes: "White threads" — break down woody material Protozoa: Feed on bacteria, release nutrients Macro-organisms: Worms, beetles, mites (in cold composting)

Timeline: Hot composting: 4-8 weeks (properly managed) Cold composting: 6-24 months (passive, low effort) Vermicomposting: 3-6 months (worm-driven) Bokashi: 2-4 weeks fermentation + 2-4 weeks soil burial EOF }

cmd_ratio() { cat << 'EOF' === Carbon-to-Nitrogen Ratio (C:N) ===

The Most Important Number in Composting: Ideal C:N ratio: 25:1 to 30:1 Microbes need carbon for energy and nitrogen for protein Too much carbon (>40:1): slow decomposition Too much nitrogen (<20:1): ammonia smell, nitrogen loss

C:N Ratios of Common Materials:

HIGH NITROGEN (Greens): Material C:N Notes Grass clippings 15-25:1 Excellent nitrogen source Food scraps (mixed) 15-20:1 Fruit, vegetables, coffee Coffee grounds 20:1 Also adds acidity Chicken manure 5-10:1 Very hot, use sparingly Horse manure 25-30:1 Good balance Cow manure 18-25:1 Well-balanced Fresh alfalfa 12:1 Excellent activator Seaweed/kelp 19:1 Rich in micronutrients

HIGH CARBON (Browns): Material C:N Notes Dry leaves 40-80:1 Shred for faster breakdown Straw 75-100:1 Good bulking agent Cardboard 300-500:1 Shred, remove tape Newspaper 150-200:1 Shred, soy-ink OK Wood chips 200-500:1 Very slow, use for mulch Sawdust 300-500:1 Fine particles, absorbs N Pine needles 60-100:1 Acidic, slow to break down Dryer lint 100:1 Only from natural fibers Corn stalks 60-70:1 Chop into pieces

Practical Mixing Guide: Simple rule: 3 parts browns to 1 part greens by volume (Volume, not weight — browns are lighter)

Example recipe: 5 gallons food scraps (N) → 1 part green 15 gallons dry leaves (C) → 3 parts brown Mix thoroughly, add water until sponge-damp

Quick fixes: Too much nitrogen → add shredded cardboard/leaves Too much carbon → add grass clippings/food scraps Not sure → err on the side of more browns EOF }

cmd_methods() { cat << 'EOF' === Composting Methods ===

Hot Composting (Thermophilic): Temperature: 130-160°F (55-70°C) at peak Time: 4-8 weeks Effort: high (turning, monitoring, building volume) Kills weed seeds and pathogens (at >131°F for 3+ days) Requires: minimum 1 cubic yard (3×3×3 ft) to maintain heat Turn every 3-5 days, maintain 40-60% moisture Best for: large volumes, fast results, clean compost

Cold Composting (Passive): Temperature: ambient Time: 6-24 months Effort: minimal (add materials, wait) Does NOT kill weed seeds or pathogens reliably No minimum size required Turn occasionally or never Best for: small households, low effort, patience available

Vermicomposting (Worm Composting): Uses: red wigglers (Eisenia fetida), NOT earthworms Temperature: 55-77°F (13-25°C), indoor-friendly Time: 3-6 months Feed: fruit/veg scraps, coffee grounds, shredded paper Avoid: citrus, onions, meat, dairy, oils Produces: vermicast (worm castings) — premium fertilizer Worm population doubles every 3-4 months 1 lb worms eats ~0.5 lb food scraps per day

Bokashi: Anaerobic fermentation using Effective Microorganisms (EM) Not true composting — fermentation (pickles the waste) Process:

  1. Layer food waste with bokashi bran in sealed bucket
  2. Drain liquid every 2-3 days (dilute 100:1, use as fertilizer)
  3. After 2-4 weeks, bury in soil for final decomposition

CAN process: meat, dairy, cooked food (unlike traditional compost) Best for: apartments, small spaces, all food types

In-Vessel Composting: Enclosed reactor (drum, tunnel, container) Controlled: temperature, moisture, aeration, turning Fast: 1-3 weeks for initial decomposition Used by: municipalities, commercial operations Capital-intensive but scalable and low-odor EOF }

cmd_stages() { cat << 'EOF' === Decomposition Stages ===

Stage 1 — Mesophilic (Days 1-3): Temperature: 68-113°F (20-45°C) Organisms: mesophilic bacteria, fungi Activity:

Stage 2 — Thermophilic (Days 3-30+): Temperature: 113-160°F (45-70°C) Organisms: thermophilic bacteria, actinomycetes Activity:

Critical temperatures: <90°F: Too cold — add nitrogen, turn, check moisture 113-131°F: Good decomposition but not pathogen-killing 131-150°F: Ideal — pathogens killed, rapid breakdown >160°F: Too hot — kills beneficial microbes, turn immediately >180°F: Fire risk — turn and add water immediately

Stage 3 — Cooling (Weeks 4-8): Temperature: drops back to 113°F and below Organisms: mesophilic bacteria return, fungi increase Activity:

Stage 4 — Curing/Maturation (Weeks 8-16): Temperature: ambient Activity:

DO NOT skip curing — immature compost can:

EOF }

cmd_materials() { cat << 'EOF' === What to Compost ===

✅ GREENS (Nitrogen-Rich): Kitchen:

Garden:

✅ BROWNS (Carbon-Rich): Kitchen:

Garden:

Other:

❌ DO NOT COMPOST:

EOF }

cmd_troubleshoot() { cat << 'EOF' === Troubleshooting Compost Problems ===

Problem: Compost smells like rotten eggs / ammonia Cause: Anaerobic conditions (too wet, too compact, no air) Fix: Turn the pile, add dry browns, improve aeration If ammonia: too much nitrogen → add carbon (cardboard, leaves) If sulfur (rotten eggs): waterlogged → turn, add straw for structure

Problem: Compost is too slow (nothing happening) Causes and fixes: Too dry → add water until sponge-damp Too much carbon → add nitrogen (grass, food scraps) Pieces too large → chop/shred materials smaller Pile too small → needs minimum 3×3×3 ft for heat Cold weather → insulate pile, add more nitrogen

Problem: Attracting flies Cause: Exposed food scraps Fix: Always cover food with 4-6 inches of browns Also: Bury food scraps in center of pile Also: Avoid meat/dairy (unless bokashi or sealed system) Fruit flies: normal in summer, reduce by covering food

Problem: Attracting rodents/raccoons Cause: Meat, dairy, or bread in open pile Fix: Use enclosed bin with secure lid Fix: Don't add cooked food, meat, or dairy Fix: Hardware cloth (1/4") on bottom of bin

Problem: Pile is too wet / soggy Cause: Too much green material, rain, poor drainage Fix: Add shredded browns (cardboard, straw) Fix: Turn to aerate Fix: Cover pile during rain Fix: Elevate bin for drainage

Problem: Pile is too dry Cause: Too much brown material, hot/windy weather Fix: Water thoroughly and turn Fix: Add juicy greens (fruit scraps, fresh grass) Fix: Cover to retain moisture

Problem: White mold / fungus This is NORMAL — actinomycetes (beneficial) White threads = healthy decomposition No action needed

Problem: Fire ants / termites Fire ants: pile too dry → moisten and turn Termites: attracted to woody material → turn more, keep moist Both: normal in warm climates, usually self-limiting EOF }

cmd_quality() { cat << 'EOF' === Compost Quality Assessment ===

Maturity Tests (Is It Ready?): Visual: Dark brown/black, crumbly texture, no recognizable inputs Smell: Earthy, like forest floor (no ammonia or sour smell) Temperature: Ambient (no re-heating after turning) Volume: Reduced to 40-60% of original Squeeze: Handful should hold together but not drip water

Bag Test:

  1. Fill a sealed plastic bag with moist compost
  2. Wait 3 days at room temperature
  3. Open and smell
  4. Earthy = mature, sour/ammonia = immature (needs more time)

Germination Test:

  1. Fill pot with compost, plant 10 radish seeds
  2. Fill another pot with potting soil (control)
  3. Wait 7-10 days
  4. Compare germination rate and seedling vigor
  5. >80% germination matching control = mature compost

Nutrient Content (Typic