-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
136 lines (136 loc) · 7.12 KB
/
index.html
File metadata and controls
136 lines (136 loc) · 7.12 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub Connection Analyzer</title>
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23e2e8f0' d='M8 0a8 8 0 0 0-2.53 15.59c.42.08.57-.19.57-.42 0-.21-.07-.77-.15-1.51-2.19.47-2.77-1.07-2.77-1.07-.36-.94-.94-1.2-.94-1.2-.77-.53.08-.52.08-.52.86.08 1.32.88 1.32.88.75 1.28 1.98.91 2.45.69.07-.53.29-.91.51-1.11-1.88-.21-3.86-.94-3.86-4.24 0-.94.34-1.71.91-2.31 0-.23-.35-1.17.76-2.42 0 0 .75-.23 2.45.89.71-.2 1.47-.3 2.23-.3.76 0 1.51.1 2.23.3 1.7-1.12 2.45-.89 2.45-.89.41 1.25.76 2.19.76 2.42.57.61.91 1.37.91 2.31 0 3.31-1.98 3.94-3.87 4.24.3.26.58.76.58 1.53 0 1.11-.07 2.01-.07 2.28 0 .24.15.5.58.42A8 8 0 0 0 16 8a8 8 0 0 0-8-8z'/%3E%3C/svg%3E" type="image/svg+xml">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="header-section">
<h1>
<i class="fab fa-github fa-lg pulse"></i>
GitHub Connection Analyzer
</h1>
<p class="header-subtitle">Analyze and manage your GitHub network efficiently</p>
</div>
<div class="input-section">
<input type="text" id="username" placeholder="Enter GitHub Username" autocomplete="off">
<input type="password" id="pat" placeholder="Enter GitHub PAT Token" autocomplete="off">
<button id="analyzeButton">
<i class="fas fa-search"></i> Analyze
</button>
<button id="showUnfollowsButton" class="recommended-btn">
<i class="fas fa-user-shield"></i> Show Recommended Unfollows
</button>
<button id="showFollowersButton" class="recommended-btn">
<i class="fas fa-user-plus"></i> Show Recommended Followers
</button>
<button onclick="window.location.href='analyzer.html'" class="advanced-btn">
<i class="fas fa-project-diagram"></i> Advanced Following Analysis
</button>
</div>
<div id="loading" class="loading hidden">Analyzing...</div>
<div id="error" class="error hidden"></div>
<div id="results" class="results hidden">
<div class="stats">
<div class="stat-box">
<h3>Followers</h3>
<span id="followers-count">0</span>
</div>
<div class="stat-box">
<h3>Following</h3>
<span id="following-count">0</span>
</div>
<div class="stat-box">
<h3>Mutual Connections</h3>
<span id="mutual-count">0</span>
</div>
</div>
<div class="lists-container">
<div id="recommended-unfollows" class="list hidden">
<div class="list-header">
<h3>Recommended Unfollows</h3>
<div class="info-tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">Users following >2x more people than their followers</span>
</div>
<div class="list-actions">
<input type="checkbox" class="select-all" data-list="recommended-list">
<button class="unfollow-selected" data-list="recommended-list">
<i class="fas fa-user-minus"></i> Unfollow Selected
</button>
</div>
</div>
<ul id="recommended-list"></ul>
</div>
<div class="list">
<div class="list-header">
<h3>Mutual Connections</h3>
<div class="list-actions">
<input type="checkbox" class="select-all" data-list="mutual-list">
<button class="unfollow-selected" data-list="mutual-list">
<i class="fas fa-user-minus"></i> Unfollow Selected
</button>
</div>
</div>
<ul id="mutual-list"></ul>
</div>
<div class="list">
<div class="list-header">
<h3>Followers (Not Following Back)</h3>
<div class="list-actions">
<input type="checkbox" class="select-all" data-list="followers-only-list">
<button class="follow-selected" data-list="followers-only-list">
<i class="fas fa-user-plus"></i> Follow Selected
</button>
</div>
</div>
<ul id="followers-only-list"></ul>
</div>
<div class="list">
<div class="list-header">
<h3>Following (Not Following Back)</h3>
<div class="list-actions">
<input type="checkbox" class="select-all" data-list="following-only-list">
<button class="unfollow-selected" data-list="following-only-list">
<i class="fas fa-user-minus"></i> Unfollow Selected
</button>
</div>
</div>
<ul id="following-only-list"></ul>
</div>
<div id="recommended-followers" class="list hidden">
<div class="list-header">
<h3>Recommended Followers</h3>
<div class="list-actions">
<input type="checkbox" class="select-all" data-list="recommended-followers-list">
<button class="follow-selected" data-list="recommended-followers-list">
<i class="fas fa-user-plus"></i> Follow Selected
</button>
</div>
</div>
<ul id="recommended-followers-list"></ul>
</div>
</div>
</div>
<footer class="footer">
<div class="footer-content">
<p>
Crafted with <i class="fas fa-heart"></i> by
<span class="captain">Captain</span>
<a href="https://github.com/Geek-Cheth" target="_blank" class="github-link">
<i class="fab fa-github"></i> Geek-Cheth
</a>
</p>
<span class="year">2025 - 2026</span>
</div>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>