-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_github.sh
More file actions
executable file
·50 lines (39 loc) · 1.46 KB
/
setup_github.sh
File metadata and controls
executable file
·50 lines (39 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
# Setup script to push git-summary-agent to GitHub
# Run this from the project directory after downloading
set -e
# Configuration
REPO_NAME="git-summary-agent"
GITHUB_USERNAME="kevinxwj" # Change this if different
echo "🚀 Setting up git-summary-agent for GitHub..."
# Initialize git if not already
if [ ! -d ".git" ]; then
echo "📁 Initializing git repository..."
git init
fi
# Add all files
echo "📝 Adding files..."
git add .
# Create initial commit
echo "💾 Creating initial commit..."
git commit -m "Initial commit: AI-powered daily git work summary agent
Features:
- Multi-repo git commit scanning
- AI-powered summaries using Claude Agent SDK
- Standup-ready talking points generation
- Notion database integration
- Flexible scheduling (built-in, systemd, launchd, cron)
- Configurable via JSON, environment variables, or CLI
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>"
# Rename branch to main if needed
git branch -M main
# Create GitHub repo and push
echo "🌐 Creating GitHub repository..."
gh repo create "$REPO_NAME" --public --source=. --remote=origin --push \
--description "AI-powered daily git work summary agent using Claude Agent SDK. Auto-generates standup reports with Notion integration."
echo ""
echo "✅ Done! Your repo is live at:"
echo " https://github.com/$GITHUB_USERNAME/$REPO_NAME"
echo ""
echo "📦 To install from GitHub:"
echo " pip install git+https://github.com/$GITHUB_USERNAME/$REPO_NAME.git"