Skip to content

thinkshake/ripple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŠ Ripple - Micro-Impact Calculator

See how small positive actions compound into massive impact over time.

Ripple visualizes the compound effect of everyday good deeds. Plant a tree, teach someone to code, donate $5, or simply be kindโ€”watch how these small actions ripple out to affect hundreds, thousands, or even millions of lives over time.

Ripple

โœจ Features

  • ๐Ÿ“ˆ Compound Impact Calculation - See how actions multiply over years
  • ๐ŸŒŠ Ripple Effect Analysis - Understand secondary impacts (CO2 absorbed, meals provided, etc.)
  • ๐Ÿ‘ฅ Human Impact Estimation - Roughly how many lives you'll touch
  • โš–๏ธ Relatable Comparisons - "Equal to X flights offset" or "Y meals provided"
  • ๐Ÿ’ก Inspiring Facts - Random facts to motivate continued action
  • ๐Ÿ–ฅ๏ธ Beautiful CLI - Colorful terminal visualization
  • ๐ŸŒ Web Interface - Gorgeous browser-based calculator

๐Ÿš€ Quick Start

CLI Usage

# Basic: plant 1 tree, see 10-year impact
bun run cli plant-tree

# Plant 5 trees, 25-year projection
bun run cli plant-tree 5 25

# Teach 2 people to code, see 20-year impact
bun run cli teach-code 2 20

# Quick summary (less verbose)
bun run cli donate 10 --quick

# List all available actions
bun run cli --list

# Calculate all actions at once
bun run cli --all 1 10

Web Interface

# Start the web server
bun run server

# Open http://localhost:3000 in your browser

๐Ÿ“‹ Available Actions

Action Emoji Description
plant-tree ๐ŸŒณ Plant a tree - grows and multiplies over decades
teach-code ๐Ÿ’ป Teach someone to code - knowledge multiplies
donate ๐Ÿ’ Donate $5 - compounds through effective giving
open-source ๐Ÿ”“ Contribute to open source - helps developers worldwide
mentor ๐ŸŽ“ Mentor someone - creates chains of guidance
recycle โ™ป๏ธ Recycle consistently - lifetime of waste diverted
kindness ๐Ÿ’ซ Random act of kindness - spreads through networks
vote ๐Ÿ—ณ๏ธ Vote & encourage voting - civic participation multiplies

๐Ÿงฎ How It Works

Each action has:

  1. Base Impact - The immediate effect of one action
  2. Compound Rate - How much the impact grows per year (e.g., trees seed new trees, mentees become mentors)
  3. Ripple Effects - Secondary impacts (CO2 absorbed, meals provided, confidence boosted)
  4. Human Impact Multiplier - Estimated number of lives touched

The calculator projects these forward, showing you the exponential growth of your good deeds.

๐Ÿ“Š Example Output

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘      ๐ŸŒณ  RIPPLE IMPACT CALCULATOR  ๐ŸŒณ                          โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

  YOUR ACTION:
  ๐ŸŒณ Plant a Tree ร— 5 actions
  โ†ณ One tree grows and multiplies its impact over decades

  TIME HORIZON:
  โฑ๏ธ  25 years into the future

  ๐Ÿ“ˆ IMPACT GROWTH OVER TIME
  Year 1   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘         5 trees equivalent
  Year 5   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘         6 trees equivalent
  Year 15  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘        10 trees equivalent
  Year 25  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ        17 trees equivalent

  ๐ŸŒŠ RIPPLE EFFECTS
  โ†’ CO2 Absorbed: 374 kg CO2/year
  โ†’ Oxygen Produced: 2,006 kg O2/year
  โ†’ Wildlife Homes: 1,360 species supported

  ๐Ÿ’ก DID YOU KNOW?
  A tree planted today will still be absorbing CO2 for your grandchildren

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘  ๐ŸŒŸ Small actions, compounded over time, change the world. ๐ŸŒŸ  โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿ› ๏ธ Development

# Install dependencies
bun install

# Run CLI in watch mode
bun run --watch src/cli.ts plant-tree

# Run web server in watch mode
bun run dev

# Type check
bun run typecheck

# Build standalone binary
bun run build

๐Ÿค Contributing

Want to add more impact models? They're defined in src/impacts.ts. Each model needs:

  • Unique ID and name
  • Base impact value and unit
  • Compound rate (1.0 = no growth, 1.1 = 10%/year)
  • Ripple effects with multipliers
  • Fun facts

๐Ÿ“œ License

MIT - Use this to inspire positive action everywhere!

๐Ÿ’ญ Philosophy

"We are not combatants in a war, but gardeners in a garden. Our job is not to eliminate evil, but to cultivate good." โ€” Unknown

Small actions feel insignificant in the moment. But compound them over years, decades, a lifetimeโ€”and you've changed the world. This tool exists to make that invisible impact visible.

What will you start today?


Built with ๐Ÿ’™ by Aston - A public good for visualizing positive impact.

About

๐ŸŒŠ Micro-Impact Calculator - See how small positive actions compound into massive impact over time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors