Skip to content

Commit f17d4b0

Browse files
authored
Merge pull request #4 from EEvanescence
Minor bugs were sent to their room for a timeout ;⁠)
2 parents 928be34 + e70e699 commit f17d4b0

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

harmony.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Last update: Monday, 30 December 2024, 11:59 PM UTC
2+
* Last update: Tuesday, 31 December 2024, 11:59 PM
33
* - Built a v2ray subscription link with the ability to automatically add CF clean IPs to your VLESS configurations.
4-
* - Replace these lines with your uuid and hostname, UUID in line (12) - Hostname in lines (928), (953) and (981) and also SNI in (931), (956) and (986) . Tamam ;)
4+
* - Replace these lines with your uuid and hostname, UUID in line (12) - Hostname in lines (928), (953) and (981) and also SNI in (931), (956) and (984) . Tamam ;)
55
* We are all REvil
66
*/
77

@@ -14,18 +14,18 @@ const defaultConfigvless = {
1414
net: "ws",
1515
type: "none",
1616
host: "",
17-
path: "/api/assets", // Preferred path
17+
path: "/assets", // Preferred path
1818
tls: "tls",
1919
sni: "",
2020
ed: "2560", // Max Early Data, Default set is "2048"
2121
eh: "Sec-WebSocket-Protocol" // Early Data Header Name
2222
};
2323

24-
const fp = ['randomized', 'firefox', 'chrome', 'safari', 'android', 'randomized', 'firefox', 'chrome', 'ios']; // Preferred fingeprints
24+
const fp = ['randomized', 'firefox', 'chrome', 'safari', 'android', 'randomized', 'firefox', 'chrome', 'ios']; // Preferred fingeprints, is better to use chrome, firefox, safari.
2525

2626
const port = ['8443', '2053']; // Preferred TLS Ports for 1st configs ex: ['443', '8443', '2053', '2083', '2087', '2096'];
2727

28-
const IP1 = [ //Cloudflare clean IPv4/IPv6 address OR domains.
28+
const IP1 = [ //1st source of cloudflare clean IPv4/IPv6 addresses.
2929
'[::ffff:be5d:f6f1]',
3030
'[::ffff:5fb3:83ef]',
3131
'[::ffff:8d0:1652]',
@@ -889,8 +889,8 @@ async function handleRequest(request) {
889889
const configsList = [];
890890

891891
const shuffledVLESS = shuffleArray(Array.from(new Set(IP1)));
892-
const ipv4urlRE1 = 'https://raw.githubusercontent.com/NiREvil/vless/refs/heads/main/Cloudflare-IPs.json'; // Second source of CF IP addresses.
893-
const ipv4urlRE2 = 'https://strawberry.victoriacross.ir'; // Third source of CF IP addresses.
892+
const ipv4urlRE1 = 'https://raw.githubusercontent.com/NiREvil/Harmony/refs/heads/main/cf-clean.json'; //Second source of Cloudflare clean IP addresses.
893+
const ipv4urlRE2 = 'https://strawberry.victoriacross.ir'; //3rd source of Cloudflare clean IP addresses.
894894

895895
const [ipv4listRE1, ipv4listRE2] = await Promise.all([
896896
fetch(ipv4urlRE1),
@@ -924,7 +924,7 @@ async function handleRequest(request) {
924924
path: config.path,
925925
security: config.tls,
926926
encryption: config.type,
927-
alpn: 'h3', //Preferred alpn type
927+
alpn: 'h3', // Preferred alpn type
928928
host: 'your-vless.pages.dev', // Set your Host here -1
929929
fp: randomfp,
930930
type: config.net,
@@ -943,13 +943,13 @@ async function handleRequest(request) {
943943
const config = {
944944
...defaultConfigvless,
945945
add: ip,
946-
ps: 'HARMONY-2'
947-
}; // Specify the 2nd set configs name
946+
ps: 'HARMONY-2' // Specify the 2nd set configs name
947+
};
948948
const queryParams = new URLSearchParams({
949949
path: config.path,
950950
security: config.tls,
951951
encryption: config.type,
952-
alpn: 'http/1.1',
952+
alpn: 'http/1.1', // Preferred alpn type
953953
host: 'your-vless.pages.dev', // Set your Host here -2
954954
fp: randomfp,
955955
type: config.net,
@@ -971,13 +971,13 @@ async function handleRequest(request) {
971971
const config = {
972972
...defaultConfigvless,
973973
add: ip,
974-
ps: 'HARMONY-3'
975-
}; // Specify the 3rd set configs name
974+
ps: 'HARMONY-3' // Specify the 3rd set configs name
975+
};
976976
const queryParams = new URLSearchParams({
977977
path: config.path,
978978
security: config.tls,
979979
encryption: config.type,
980-
alpn: 'http/1.1',
980+
alpn: 'http/1.1', // Preferred alpn type
981981
host: 'your-vless.pages.dev', // Set your Host here -3
982982
fp: randomfp,
983983
type: config.net,

0 commit comments

Comments
 (0)