Skip to content

Commit 72e4239

Browse files
bokikoclaude
andcommitted
v1.15.0: Add League of Legends and Apex Legends support
New games: - League of Legends: 11 servers across EU, NA, ASIA, SA, ME (Riot Direct) - Apex Legends: 14 servers across EU, NA, ASIA, SA, ME (AWS) PingDiff now supports 9 games total: - Overwatch 2 - Call of Duty - Counter-Strike 2 - Battlefield 6 - Marvel Rivals - Valorant - Fortnite - League of Legends (NEW) - Apex Legends (NEW) Changes: - Added server configurations for both games - Created database migrations - Updated landing page with new game cards 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 675b846 commit 72e4239

4 files changed

Lines changed: 174 additions & 2 deletions

File tree

desktop/src/config.py

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313

1414
# App Version
15-
APP_VERSION = "1.14.0"
15+
APP_VERSION = "1.15.0"
1616

1717
# Ping Configuration
1818
PING_COUNT = 10 # Number of pings per server
@@ -262,6 +262,55 @@
262262
"ME": [
263263
{"id": "me-bhr", "location": "Bahrain", "ip": "15.184.13.113", "port": 443}
264264
]
265+
},
266+
"league-of-legends": {
267+
"EU": [
268+
{"id": "eu-euw", "location": "Amsterdam", "ip": "104.160.141.3", "port": 443},
269+
{"id": "eu-eune", "location": "Frankfurt", "ip": "104.160.142.3", "port": 443},
270+
{"id": "eu-tr", "location": "Istanbul", "ip": "104.160.143.3", "port": 443}
271+
],
272+
"NA": [
273+
{"id": "na-chi", "location": "Chicago", "ip": "104.160.131.3", "port": 443},
274+
{"id": "na-lan", "location": "Miami", "ip": "104.160.136.3", "port": 443}
275+
],
276+
"ASIA": [
277+
{"id": "asia-jp", "location": "Tokyo", "ip": "104.160.129.3", "port": 443},
278+
{"id": "asia-kr", "location": "Seoul", "ip": "104.160.142.1", "port": 443},
279+
{"id": "asia-sgp", "location": "Singapore", "ip": "151.106.248.3", "port": 443},
280+
{"id": "asia-oce", "location": "Sydney", "ip": "104.160.156.1", "port": 443}
281+
],
282+
"SA": [
283+
{"id": "sa-br", "location": "São Paulo", "ip": "104.160.152.3", "port": 443}
284+
],
285+
"ME": [
286+
{"id": "me-tr", "location": "Istanbul", "ip": "104.160.143.3", "port": 443}
287+
]
288+
},
289+
"apex-legends": {
290+
"EU": [
291+
{"id": "eu-lon", "location": "London", "ip": "13.43.48.202", "port": 443},
292+
{"id": "eu-fra", "location": "Frankfurt", "ip": "52.94.141.14", "port": 443},
293+
{"id": "eu-ams", "location": "Amsterdam", "ip": "3.66.90.156", "port": 443},
294+
{"id": "eu-bel", "location": "Belgium", "ip": "13.37.152.32", "port": 443}
295+
],
296+
"NA": [
297+
{"id": "na-vir", "location": "Virginia", "ip": "209.54.182.34", "port": 443},
298+
{"id": "na-ore", "location": "Oregon", "ip": "52.119.174.12", "port": 443},
299+
{"id": "na-ohi", "location": "Ohio", "ip": "3.129.132.172", "port": 443},
300+
{"id": "na-dal", "location": "Dallas", "ip": "44.198.247.11", "port": 443}
301+
],
302+
"ASIA": [
303+
{"id": "asia-tok", "location": "Tokyo", "ip": "99.77.58.84", "port": 443},
304+
{"id": "asia-sgp", "location": "Singapore", "ip": "15.221.8.220", "port": 443},
305+
{"id": "asia-hkg", "location": "Hong Kong", "ip": "99.83.81.12", "port": 443},
306+
{"id": "asia-syd", "location": "Sydney", "ip": "99.83.81.12", "port": 443}
307+
],
308+
"SA": [
309+
{"id": "sa-sao", "location": "São Paulo", "ip": "177.72.245.178", "port": 443}
310+
],
311+
"ME": [
312+
{"id": "me-bhr", "location": "Bahrain", "ip": "99.82.132.91", "port": 443}
313+
]
265314
}
266315
}
267316

@@ -303,5 +352,13 @@
303352
"fortnite": {
304353
"name": "Fortnite",
305354
"short": "FN"
355+
},
356+
"league-of-legends": {
357+
"name": "League of Legends",
358+
"short": "LoL"
359+
},
360+
"apex-legends": {
361+
"name": "Apex Legends",
362+
"short": "APEX"
306363
}
307364
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
-- Add League of Legends game and servers
2+
-- Migration: 009_add_league_of_legends.sql
3+
4+
-- Add League of Legends game (update if exists)
5+
INSERT INTO games (name, slug, icon_url, is_active) VALUES
6+
('League of Legends', 'league-of-legends', '/icons/league-of-legends.png', true)
7+
ON CONFLICT (slug) DO UPDATE SET is_active = true;
8+
9+
-- Insert League of Legends servers (Riot Direct infrastructure)
10+
INSERT INTO game_servers (game_id, region, location, ip_address, port, is_active)
11+
SELECT
12+
g.id,
13+
s.region,
14+
s.location,
15+
s.ip_address,
16+
s.port,
17+
true
18+
FROM games g
19+
CROSS JOIN (VALUES
20+
-- EU - Europe
21+
('EU', 'Amsterdam', '104.160.141.3', 443),
22+
('EU', 'Frankfurt', '104.160.142.3', 443),
23+
('EU', 'Istanbul', '104.160.143.3', 443),
24+
25+
-- NA - North America
26+
('NA', 'Chicago', '104.160.131.3', 443),
27+
('NA', 'Miami', '104.160.136.3', 443),
28+
29+
-- ASIA - Asia Pacific
30+
('ASIA', 'Tokyo', '104.160.129.3', 443),
31+
('ASIA', 'Seoul', '104.160.142.1', 443),
32+
('ASIA', 'Singapore', '151.106.248.3', 443),
33+
('ASIA', 'Sydney', '104.160.156.1', 443),
34+
35+
-- SA - South America
36+
('SA', 'São Paulo', '104.160.152.3', 443),
37+
38+
-- ME - Middle East (uses Turkey server)
39+
('ME', 'Istanbul', '104.160.143.3', 443)
40+
) AS s(region, location, ip_address, port)
41+
WHERE g.slug = 'league-of-legends'
42+
AND NOT EXISTS (
43+
SELECT 1 FROM game_servers gs
44+
WHERE gs.game_id = g.id
45+
AND gs.location = s.location
46+
);
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
-- Add Apex Legends game and servers
2+
-- Migration: 010_add_apex_legends.sql
3+
4+
-- Add Apex Legends game (update if exists)
5+
INSERT INTO games (name, slug, icon_url, is_active) VALUES
6+
('Apex Legends', 'apex-legends', '/icons/apex-legends.png', true)
7+
ON CONFLICT (slug) DO UPDATE SET is_active = true;
8+
9+
-- Insert Apex Legends servers (AWS infrastructure - migrated April 2025)
10+
INSERT INTO game_servers (game_id, region, location, ip_address, port, is_active)
11+
SELECT
12+
g.id,
13+
s.region,
14+
s.location,
15+
s.ip_address,
16+
s.port,
17+
true
18+
FROM games g
19+
CROSS JOIN (VALUES
20+
-- EU - Europe
21+
('EU', 'London', '13.43.48.202', 443),
22+
('EU', 'Frankfurt', '52.94.141.14', 443),
23+
('EU', 'Amsterdam', '3.66.90.156', 443),
24+
('EU', 'Belgium', '13.37.152.32', 443),
25+
26+
-- NA - North America
27+
('NA', 'Virginia', '209.54.182.34', 443),
28+
('NA', 'Oregon', '52.119.174.12', 443),
29+
('NA', 'Ohio', '3.129.132.172', 443),
30+
('NA', 'Dallas', '44.198.247.11', 443),
31+
32+
-- ASIA - Asia Pacific
33+
('ASIA', 'Tokyo', '99.77.58.84', 443),
34+
('ASIA', 'Singapore', '15.221.8.220', 443),
35+
('ASIA', 'Hong Kong', '99.83.81.12', 443),
36+
('ASIA', 'Sydney', '99.83.81.12', 443),
37+
38+
-- SA - South America
39+
('SA', 'São Paulo', '177.72.245.178', 443),
40+
41+
-- ME - Middle East
42+
('ME', 'Bahrain', '99.82.132.91', 443)
43+
) AS s(region, location, ip_address, port)
44+
WHERE g.slug = 'apex-legends'
45+
AND NOT EXISTS (
46+
SELECT 1 FROM game_servers gs
47+
WHERE gs.game_id = g.id
48+
AND gs.location = s.location
49+
);

web/src/app/page.tsx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default function Home() {
8787
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"></span>
8888
<span className="relative inline-flex rounded-full h-2 w-2 bg-green-500"></span>
8989
</span>
90-
<span className="text-sm text-blue-400">Now supporting 7 games: OW2, CoD, CS2, BF6, Marvel Rivals, Valorant & Fortnite</span>
90+
<span className="text-sm text-blue-400">Now supporting 9 games including LoL, Apex, Valorant, Fortnite & more</span>
9191
</div>
9292

9393
<h1 className="text-4xl sm:text-5xl md:text-6xl font-bold mb-6 leading-tight fade-in-delay-1">
@@ -299,6 +299,26 @@ export default function Home() {
299299
Active
300300
</span>
301301
</div>
302+
303+
<div className="bg-zinc-800 border border-zinc-700 rounded-xl p-6 w-44 md:w-48 card-hover">
304+
<div className="w-16 h-16 bg-blue-500/20 rounded-xl mx-auto mb-4 flex items-center justify-center">
305+
<span className="text-3xl">⚔️</span>
306+
</div>
307+
<h3 className="font-semibold mb-2">League of Legends</h3>
308+
<span className="text-xs text-green-500 bg-green-500/20 px-3 py-1 rounded-full font-medium">
309+
Active
310+
</span>
311+
</div>
312+
313+
<div className="bg-zinc-800 border border-zinc-700 rounded-xl p-6 w-44 md:w-48 card-hover">
314+
<div className="w-16 h-16 bg-red-600/20 rounded-xl mx-auto mb-4 flex items-center justify-center">
315+
<span className="text-3xl">🔺</span>
316+
</div>
317+
<h3 className="font-semibold mb-2">Apex Legends</h3>
318+
<span className="text-xs text-green-500 bg-green-500/20 px-3 py-1 rounded-full font-medium">
319+
Active
320+
</span>
321+
</div>
302322
</div>
303323
</div>
304324
</section>

0 commit comments

Comments
 (0)