Skip to content

erezak/rwf

Repository files navigation

🍳 rwf — Recipes Without the Fluff

A CLI tool that extracts recipes from any URL, skipping the life stories and ads. Powered by the GitHub Copilot SDK.

rwf demo

Demo video

  ┌──┐  Recipes Without the Fluff
  ├▪▪┤  Extract recipes, skip the stories.
  └──┘  Enter a URL to get started.

Features

  • 📖 Extract recipes from any URL — just paste and go
  • 🛒 Generate shopping lists grouped by category
  • 📐 Adjust servings — double, halve, or set exact amounts
  • 💾 Export to Markdown — save recipes for offline use
  • 💬 Ask questions — get cooking tips, substitutions, and more
  • 🌶️ Spiciness indicators — know what you're getting into
  • Animated status — fun cooking-themed messages while processing

Requirements

Installation

From source

git clone https://github.com/yourusername/rwf.git
cd rwf
go build -o rwf .

Pre-built binaries

Download from the Releases page.

Usage

./rwf

Optional flags:

# Override Copilot request timeout (default: 2m)
./rwf -copilot-timeout=3m

Then paste a recipe URL when prompted. The CLI will:

  1. Fetch and parse the webpage
  2. Extract the recipe using Copilot
  3. Display a summary with emoji, category, servings, and spiciness
  4. Present a menu of actions

Build

# Development
go run .

# Production binary
go build -o rwf .

# Cross-compile for all platforms
make all

Cross-compilation

# macOS (Apple Silicon)
GOOS=darwin GOARCH=arm64 go build -o dist/rwf-macos-arm64 .

# macOS (Intel)
GOOS=darwin GOARCH=amd64 go build -o dist/rwf-macos-amd64 .

# Linux
GOOS=linux GOARCH=amd64 go build -o dist/rwf-linux .

# Windows
GOOS=windows GOARCH=amd64 go build -o dist/rwf.exe .

Tech Stack

  • Go — Fast, statically-linked binaries with no runtime dependencies
  • GitHub Copilot SDK — Agentic AI for recipe extraction and transformations
  • goquery — HTML parsing and content extraction

License

MIT

About

A CLI tool that extracts recipes from any URL, skipping the life stories and ads. Powered by the GitHub Copilot SDK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors