Skip to content

Instantly share code, notes, and snippets.

@seabass011
Created September 9, 2025 16:25
Show Gist options
  • Select an option

  • Save seabass011/10bd3a10b4ed52e50df2d0cd513c71e0 to your computer and use it in GitHub Desktop.

Select an option

Save seabass011/10bd3a10b4ed52e50df2d0cd513c71e0 to your computer and use it in GitHub Desktop.
Nova CI-Rescue Demo Launcher - Run all demos with one command

πŸš€ Nova CI-Rescue Demo - Quick Start Guide

One Command to Rule Them All

Just run this in your terminal:

curl -sL https://gist.github.com/seabass011/LAUNCHER_GIST_ID/raw | bash

That's it! The interactive launcher will guide you through everything.

What You'll Need

  • Python 3.8+ (check with python3 --version)
  • Git (check with git --version)
  • OpenAI API Key - Get one at https://platform.openai.com/api-keys
  • GitHub Account (optional, for demos 2 & 3)

The Demos

🟒 Demo 1: Local Test Fixing (2 mins)

Perfect for first-timers! Nova fixes broken calculator functions locally.

Direct command:

curl -sL https://gist.github.com/seabass011/edc611ade84f12b0679bc35e342c239f/raw | bash

πŸ”΅ Demo 2: CI Integration (3 mins)

Nova creates a GitHub repo, breaks code, and auto-fixes via PR.

Direct command:

curl -sL https://gist.github.com/seabass011/95aeb5e8f007358506892eb1076f1326/raw | bash

🟑 Demo 3: Full GitHub Actions (5 mins)

Complete workflow with GitHub Actions integration.

Direct command:

curl -sL https://gist.github.com/seabass011/ca4a89add8a76308877a7410c5b2162e/raw | bash

Troubleshooting

"Command not found" errors:

  • Mac: Install Homebrew, then brew install python git
  • Linux: sudo apt update && sudo apt install python3 git
  • Windows: Use WSL or Git Bash

"Invalid API key" error:

  • Make sure you copied the full key from OpenAI
  • Keys start with sk-

GitHub permission errors:

What Nova Does

Nova CI-Rescue is an AI agent that:

  • πŸ” Detects failing tests automatically
  • πŸ€– Understands what the code should do
  • πŸ”§ Fixes the implementation
  • βœ… Validates all tests pass
  • πŸ“ Creates pull requests (in CI mode)

Learn More


Questions? Join our Discord or email support@joinnova.ai

#!/usr/bin/env bash
# Nova CI-Rescue Demo Launcher
# One-click demo runner that always uses the latest version
set -euo pipefail
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
CYAN='\033[0;36m'
BOLD='\033[1m'
NC='\033[0m'
# Emoji
ROCKET="πŸš€"
SPARKLE="✨"
CHECK="βœ…"
PACKAGE="πŸ“¦"
MAGIC="πŸͺ„"
echo
echo -e "${BOLD}${CYAN}Nova CI-Rescue Demo Launcher${NC}"
echo -e "${BOLD}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
echo
echo -e "${BOLD}Available Demos:${NC}"
echo
echo -e " ${BOLD}1)${NC} ${GREEN}Local Demo${NC} - Fix broken tests locally (simplest)"
echo -e " ${BOLD}2)${NC} ${BLUE}CI Demo${NC} - GitHub integration with auto-PR"
echo -e " ${BOLD}3)${NC} ${YELLOW}Full Demo${NC} - Complete GitHub Actions workflow"
echo
echo -e "${BOLD}Prerequisites:${NC}"
echo -e " ${CHECK} Python 3.8+"
echo -e " ${CHECK} Git"
echo -e " ${CHECK} OpenAI API Key (you'll be prompted)"
echo -e " ${CHECK} GitHub account (for demos 2 & 3)"
echo
# Function to run demo
run_demo() {
local demo_num=$1
local gist_url=""
local demo_name=""
case $demo_num in
1)
gist_url="https://gist.github.com/seabass011/edc611ade84f12b0679bc35e342c239f/raw"
demo_name="Local Demo"
;;
2)
gist_url="https://gist.github.com/seabass011/95aeb5e8f007358506892eb1076f1326/raw"
demo_name="CI Demo"
;;
3)
gist_url="https://gist.github.com/seabass011/ca4a89add8a76308877a7410c5b2162e/raw"
demo_name="Full Demo"
;;
*)
echo -e "${RED}Invalid choice!${NC}"
exit 1
;;
esac
echo
echo -e "${BOLD}${ROCKET} Launching $demo_name...${NC}"
echo
# Download and run the latest version
curl -sL "$gist_url" | bash
}
# Interactive menu
while true; do
printf "${BOLD}Select a demo (1-3) or 'q' to quit:${NC} "
read -r choice
case $choice in
1|2|3)
run_demo "$choice"
break
;;
q|Q)
echo -e "\n${CYAN}Thanks for trying Nova CI-Rescue!${NC}"
exit 0
;;
*)
echo -e "${RED}Please enter 1, 2, 3, or q${NC}"
;;
esac
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment