A browser extension that lets you summarize any webpage and ask questions using AI.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

updated icon

Made-with: Cursor

+36 -16
+36 -16
icons/create_icons.sh
··· 1 1 #!/bin/bash 2 - # This script creates simple icon files for testing 3 - # In production, replace with proper designed icons 2 + set -euo pipefail 3 + 4 + # Regenerate extension icons from icon128.png. 5 + # Usage: ./create_icons.sh [source_file] 4 6 5 - # Using ImageMagick if available, otherwise manual creation 6 - if command -v convert &> /dev/null; then 7 - # Create a simple colored square icon 8 - for size in 16 32 48 128; do 9 - convert -size ${size}x${size} xc:'#e94560' -pointsize $((size/3)) -fill white -gravity center -annotate +0+0 "AI" "icon${size}.png" 10 - done 11 - echo "Icons created with ImageMagick" 7 + SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" 8 + cd "$SCRIPT_DIR" 9 + 10 + SOURCE="${1:-icon128.png}" 11 + 12 + if [ ! -f "$SOURCE" ]; then 13 + echo "Source icon not found: $SOURCE" 14 + echo "Usage: ./create_icons.sh [source_file]" 15 + exit 1 16 + fi 17 + 18 + if command -v sips >/dev/null 2>&1; then 19 + for size in 16 32 48; do 20 + sips -z "$size" "$size" "$SOURCE" --out "icon${size}.png" >/dev/null 21 + done 22 + if [ "$SOURCE" != "icon128.png" ]; then 23 + cp "$SOURCE" "icon128.png" 24 + fi 25 + echo "Generated icon16.png, icon32.png, icon48.png from $SOURCE" 26 + elif command -v convert >/dev/null 2>&1; then 27 + for size in 16 32 48; do 28 + convert "$SOURCE" -resize "${size}x${size}" "icon${size}.png" 29 + done 30 + if [ "$SOURCE" != "icon128.png" ]; then 31 + cp "$SOURCE" "icon128.png" 32 + fi 33 + echo "Generated icon16.png, icon32.png, icon48.png from $SOURCE" 12 34 else 13 - echo "ImageMagick not found. Please manually create icons:" 14 - echo "- icon16.png (16x16)" 15 - echo "- icon32.png (32x32)" 16 - echo "- icon48.png (48x48)" 17 - echo "- icon128.png (128x128)" 18 - echo "" 19 - echo "Or install ImageMagick: brew install imagemagick (macOS)" 35 + echo "No image resize tool found." 36 + echo "Install one of:" 37 + echo "- macOS: sips (already included)" 38 + echo "- ImageMagick: brew install imagemagick" 39 + exit 1 20 40 fi
icons/icon128.png

This is a binary file and will not be displayed.

icons/icon16.png

This is a binary file and will not be displayed.

icons/icon32.png

This is a binary file and will not be displayed.

icons/icon48.png

This is a binary file and will not be displayed.