-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_github.sh
More file actions
81 lines (71 loc) Β· 2.44 KB
/
setup_github.sh
File metadata and controls
81 lines (71 loc) Β· 2.44 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/bin/bash
# VibeGuard GitHub Setup Script
# Run this in the vibeguard folder after extracting the zip
echo "π‘οΈ VibeGuard GitHub Setup"
echo "========================="
echo ""
# Check if git is installed
if ! command -v git &> /dev/null; then
echo "β Git is not installed. Please install git first."
exit 1
fi
# Check if we're in the right directory
if [ ! -f "pyproject.toml" ]; then
echo "β Please run this script from the vibeguard folder"
echo " cd vibeguard"
echo " ./setup_github.sh"
exit 1
fi
echo "Step 1: Initializing git repository..."
git init
echo ""
echo "Step 2: Configuring git (if needed)..."
# Check if user.name is set
if [ -z "$(git config user.name)" ]; then
echo "β οΈ Git user.name not set. Please run:"
echo ' git config --global user.name "Your Name"'
echo ' git config --global user.email "your.email@example.com"'
echo ""
fi
echo "Step 3: Adding all files..."
git add .
echo ""
echo "Step 4: Creating initial commit..."
git commit -m "π Initial release: VibeGuard v0.1.0
Features:
- Prompt injection detection with ML support
- PII detection and redaction
- Secrets scanning (20+ patterns)
- Token counting and limits
- MCP tool security scanning
- Toxicity detection
- Hallucination detection
- OpenAI, Anthropic, LangChain integrations
- Policy engine for custom rules
- Agent action authorization
- Web dashboard for monitoring
- CLI tool"
echo ""
echo "Step 5: Setting up main branch..."
git branch -M main
echo ""
echo "β
Local repository ready!"
echo ""
echo "ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ"
echo "NEXT STEPS - Run these commands:"
echo "ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ"
echo ""
echo "1. Connect to GitHub (replace YOUR_USERNAME with your GitHub username):"
echo ""
echo " git remote add origin https://github.com/YOUR_USERNAME/vibeguard.git"
echo ""
echo "2. Push to GitHub:"
echo ""
echo " git push -u origin main"
echo ""
echo "3. (Optional) Create a release tag:"
echo ""
echo " git tag v0.1.0"
echo " git push --tags"
echo ""
echo "ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ"