-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup_github.sh
More file actions
69 lines (54 loc) · 1.89 KB
/
setup_github.sh
File metadata and controls
69 lines (54 loc) · 1.89 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
#!/bin/bash
# ============================================
# SatGuard - GitHub Push Script
# ============================================
# Bu scripti çalıştırmadan önce:
# 1. GitHub'da 'satguard' adında boş bir repo oluştur
# 2. GitHub username'ini aşağıya yaz
# ============================================
# BURAYA KENDİ GITHUB KULLANICI ADINI YAZ
GITHUB_USERNAME="KULLANICI_ADIN"
# ============================================
# Script başlıyor
# ============================================
echo "🛡️ SatGuard - GitHub Push Script"
echo "================================"
# Git kontrolü
if ! command -v git &> /dev/null; then
echo "❌ Git kurulu değil! Önce git kur."
exit 1
fi
# Username kontrolü
if [ "$GITHUB_USERNAME" = "KULLANICI_ADIN" ]; then
echo "❌ Lütfen scripti düzenle ve GITHUB_USERNAME değişkenine kendi kullanıcı adını yaz!"
exit 1
fi
echo "📁 Git repo başlatılıyor..."
git init
echo "📝 Git config ayarlanıyor..."
git config user.name "$GITHUB_USERNAME"
echo "E-posta adresini gir (GitHub'daki e-posta):"
read EMAIL
git config user.email "$EMAIL"
echo "📦 Dosyalar ekleniyor..."
git add .
echo "💾 Commit oluşturuluyor..."
git commit -m "🚀 Initial commit - SatGuard v1.0.0
GPS Spoofing Detection & Satellite Telemetry Analysis Toolkit
Features:
- Telemetry parser for Starlink debug data
- Multi-factor spoofing detection algorithm
- Performance impact analyzer
- CLI tool for automation
- React dashboard for visualization
- Turkish documentation
Based on research by Nariman Gharib
https://github.com/narimangharib/starlink-iran-gps-spoofing"
echo "🔗 GitHub remote ekleniyor..."
git branch -M main
git remote add origin "https://github.com/$GITHUB_USERNAME/satguard.git"
echo "🚀 GitHub'a push ediliyor..."
git push -u origin main
echo ""
echo "✅ Tamamlandı!"
echo "🔗 Repo: https://github.com/$GITHUB_USERNAME/satguard"