NitroExpose 1.4__tar.gz → 1.6__tar.gz

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.

Potentially problematic release.


This version of NitroExpose might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: NitroExpose
3
- Version: 1.4
3
+ Version: 1.6
4
4
  Summary: Advanced CLI To Expose Port To Your Domain.
5
5
  Home-page: https://github.com/yuvrajmodz/NitroExpose
6
6
  Author: @NacDevs
@@ -25,19 +25,18 @@ Dynamic: summary
25
25
 
26
26
  ## NitroExpose
27
27
 
28
- **Letest Version:** 1.4
28
+ **Letest Version:** 1.6
29
29
  **Developer:** @Nactire
30
30
  **Git Repo:** [NitroExpose](https://github.com/yuvrajmodz/NitroExpose)
31
31
 
32
- ---
33
32
 
34
33
  ## 🚀 Overview
35
34
 
36
- **NitroExpose** is an advanced CLI tool that allows you to **instantly expose any local port to your custom domain** — with **automatic SSL installation** Powered by Let's Encrypt.
35
+ **NitroExpose** is an advanced CLI tool that allows you to **instantly expose any local port to your custom domain,**
36
+ **automatic SSL installation** Powered by Let's Encrypt.
37
37
 
38
38
  It provides a **one-command deployment system** for developers who want to run their local apps (Flask, FastAPI, Node.js, etc.) directly on a live domain without manually configuring NGINX or DNS records.
39
39
 
40
- ---
41
40
 
42
41
  ## ⚡ Key Features
43
42
 
@@ -48,7 +47,6 @@ It provides a **one-command deployment system** for developers who want to run t
48
47
  • Intelligent error handling with Fast Speed.
49
48
  • Lightweight and Fast Completes setup in under 10 Sec
50
49
 
51
- ---
52
50
 
53
51
  ## 🛠️ System Requirements
54
52
 
@@ -57,7 +55,6 @@ It provides a **one-command deployment system** for developers who want to run t
57
55
  - **Root** or **Sudo** privileges
58
56
  - **apt** Package Manager Required
59
57
 
60
- ---
61
58
 
62
59
  ## Installation
63
60
 
@@ -76,23 +73,27 @@ sudo apt install python3-certbot-nginx -y
76
73
 
77
74
  ## 🧭 Usage Guide
78
75
 
79
- **Note**: Point Your Vps/Server IP On Your Domain.
76
+ Step 1 – Point Your Vps/Server IP in Your Domain Records:
77
+ **Type**: **A**
78
+ **Name**: *
79
+ **IPv4**: **Your Vps/Server IP**
80
+ **TTL**: Auto
80
81
 
81
- Step 1 – **Lauch NitroExpose**
82
+ Step 2 – **Lauch NitroExpose**
82
83
  ```bash
83
84
  NitroExpose
84
85
  ```
85
86
 
86
- Step 2 – **Enter Your Domain Or Subdomain**
87
+ Step 3 – **Enter Your Domain Or Subdomain**
87
88
  ```bash
88
89
  ┌─╼ Enter Domain Or Subdomain
89
90
  └────╼ ❯❯❯ myproject.example.com
90
91
  ```
91
92
 
92
- Step 3 – **Enter the Local Port to Expose**
93
+ Step 4 – **Enter the Local Port to Expose**
93
94
  ```bash
94
95
  ┌─╼ Enter Port To Expose
95
96
  └────╼ ❯❯❯ 8000
96
97
  ```
97
98
 
98
- ✨ **Now it Will Take 8 to 9 Seconds For Verification And Then Boom 💥 Your Local Port Successfully Exposed To Your Public Domain/Subdomain**.
99
+ ✨ **Now it Will Take 8 to 9 Seconds For Verification And Then Boom! Your Local Port Successfully Exposed To Your Public Domain/Subdomain**.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: NitroExpose
3
- Version: 1.4
3
+ Version: 1.6
4
4
  Summary: Advanced CLI To Expose Port To Your Domain.
5
5
  Home-page: https://github.com/yuvrajmodz/NitroExpose
6
6
  Author: @NacDevs
@@ -25,19 +25,18 @@ Dynamic: summary
25
25
 
26
26
  ## NitroExpose
27
27
 
28
- **Letest Version:** 1.4
28
+ **Letest Version:** 1.6
29
29
  **Developer:** @Nactire
30
30
  **Git Repo:** [NitroExpose](https://github.com/yuvrajmodz/NitroExpose)
31
31
 
32
- ---
33
32
 
34
33
  ## 🚀 Overview
35
34
 
36
- **NitroExpose** is an advanced CLI tool that allows you to **instantly expose any local port to your custom domain** — with **automatic SSL installation** Powered by Let's Encrypt.
35
+ **NitroExpose** is an advanced CLI tool that allows you to **instantly expose any local port to your custom domain,**
36
+ **automatic SSL installation** Powered by Let's Encrypt.
37
37
 
38
38
  It provides a **one-command deployment system** for developers who want to run their local apps (Flask, FastAPI, Node.js, etc.) directly on a live domain without manually configuring NGINX or DNS records.
39
39
 
40
- ---
41
40
 
42
41
  ## ⚡ Key Features
43
42
 
@@ -48,7 +47,6 @@ It provides a **one-command deployment system** for developers who want to run t
48
47
  • Intelligent error handling with Fast Speed.
49
48
  • Lightweight and Fast Completes setup in under 10 Sec
50
49
 
51
- ---
52
50
 
53
51
  ## 🛠️ System Requirements
54
52
 
@@ -57,7 +55,6 @@ It provides a **one-command deployment system** for developers who want to run t
57
55
  - **Root** or **Sudo** privileges
58
56
  - **apt** Package Manager Required
59
57
 
60
- ---
61
58
 
62
59
  ## Installation
63
60
 
@@ -76,23 +73,27 @@ sudo apt install python3-certbot-nginx -y
76
73
 
77
74
  ## 🧭 Usage Guide
78
75
 
79
- **Note**: Point Your Vps/Server IP On Your Domain.
76
+ Step 1 – Point Your Vps/Server IP in Your Domain Records:
77
+ **Type**: **A**
78
+ **Name**: *
79
+ **IPv4**: **Your Vps/Server IP**
80
+ **TTL**: Auto
80
81
 
81
- Step 1 – **Lauch NitroExpose**
82
+ Step 2 – **Lauch NitroExpose**
82
83
  ```bash
83
84
  NitroExpose
84
85
  ```
85
86
 
86
- Step 2 – **Enter Your Domain Or Subdomain**
87
+ Step 3 – **Enter Your Domain Or Subdomain**
87
88
  ```bash
88
89
  ┌─╼ Enter Domain Or Subdomain
89
90
  └────╼ ❯❯❯ myproject.example.com
90
91
  ```
91
92
 
92
- Step 3 – **Enter the Local Port to Expose**
93
+ Step 4 – **Enter the Local Port to Expose**
93
94
  ```bash
94
95
  ┌─╼ Enter Port To Expose
95
96
  └────╼ ❯❯❯ 8000
96
97
  ```
97
98
 
98
- ✨ **Now it Will Take 8 to 9 Seconds For Verification And Then Boom 💥 Your Local Port Successfully Exposed To Your Public Domain/Subdomain**.
99
+ ✨ **Now it Will Take 8 to 9 Seconds For Verification And Then Boom! Your Local Port Successfully Exposed To Your Public Domain/Subdomain**.
@@ -1,18 +1,17 @@
1
1
  ## NitroExpose
2
2
 
3
- **Letest Version:** 1.4
3
+ **Letest Version:** 1.6
4
4
  **Developer:** @Nactire
5
5
  **Git Repo:** [NitroExpose](https://github.com/yuvrajmodz/NitroExpose)
6
6
 
7
- ---
8
7
 
9
8
  ## 🚀 Overview
10
9
 
11
- **NitroExpose** is an advanced CLI tool that allows you to **instantly expose any local port to your custom domain** — with **automatic SSL installation** Powered by Let's Encrypt.
10
+ **NitroExpose** is an advanced CLI tool that allows you to **instantly expose any local port to your custom domain,**
11
+ **automatic SSL installation** Powered by Let's Encrypt.
12
12
 
13
13
  It provides a **one-command deployment system** for developers who want to run their local apps (Flask, FastAPI, Node.js, etc.) directly on a live domain without manually configuring NGINX or DNS records.
14
14
 
15
- ---
16
15
 
17
16
  ## ⚡ Key Features
18
17
 
@@ -23,7 +22,6 @@ It provides a **one-command deployment system** for developers who want to run t
23
22
  • Intelligent error handling with Fast Speed.
24
23
  • Lightweight and Fast Completes setup in under 10 Sec
25
24
 
26
- ---
27
25
 
28
26
  ## 🛠️ System Requirements
29
27
 
@@ -32,7 +30,6 @@ It provides a **one-command deployment system** for developers who want to run t
32
30
  - **Root** or **Sudo** privileges
33
31
  - **apt** Package Manager Required
34
32
 
35
- ---
36
33
 
37
34
  ## Installation
38
35
 
@@ -51,23 +48,27 @@ sudo apt install python3-certbot-nginx -y
51
48
 
52
49
  ## 🧭 Usage Guide
53
50
 
54
- **Note**: Point Your Vps/Server IP On Your Domain.
51
+ Step 1 – Point Your Vps/Server IP in Your Domain Records:
52
+ **Type**: **A**
53
+ **Name**: *
54
+ **IPv4**: **Your Vps/Server IP**
55
+ **TTL**: Auto
55
56
 
56
- Step 1 – **Lauch NitroExpose**
57
+ Step 2 – **Lauch NitroExpose**
57
58
  ```bash
58
59
  NitroExpose
59
60
  ```
60
61
 
61
- Step 2 – **Enter Your Domain Or Subdomain**
62
+ Step 3 – **Enter Your Domain Or Subdomain**
62
63
  ```bash
63
64
  ┌─╼ Enter Domain Or Subdomain
64
65
  └────╼ ❯❯❯ myproject.example.com
65
66
  ```
66
67
 
67
- Step 3 – **Enter the Local Port to Expose**
68
+ Step 4 – **Enter the Local Port to Expose**
68
69
  ```bash
69
70
  ┌─╼ Enter Port To Expose
70
71
  └────╼ ❯❯❯ 8000
71
72
  ```
72
73
 
73
- ✨ **Now it Will Take 8 to 9 Seconds For Verification And Then Boom 💥 Your Local Port Successfully Exposed To Your Public Domain/Subdomain**.
74
+ ✨ **Now it Will Take 8 to 9 Seconds For Verification And Then Boom! Your Local Port Successfully Exposed To Your Public Domain/Subdomain**.
@@ -20,6 +20,9 @@ def print_red(text):
20
20
 
21
21
  def print_yellow(text):
22
22
  print("\033[1;33m" + text + "\033[0m")
23
+
24
+ def print_turquoise(text):
25
+ print("\033[38;2;0;255;234m" + text + "\033[0m")
23
26
 
24
27
  def run_command(cmd):
25
28
  process = subprocess.Popen(cmd, shell=True)
@@ -91,7 +94,7 @@ def restricted_input(prompt, allowed_pattern):
91
94
 
92
95
  def main():
93
96
  if os.geteuid() != 0:
94
- print_red("Please Use Root Environment.")
97
+ print_red("\nPlease Use Root Environment.\n")
95
98
  sys.exit(1)
96
99
 
97
100
  if not is_installed("nginx -v"):
@@ -118,8 +121,8 @@ def main():
118
121
  print_green("python3-certbot-nginx plugin installed.")
119
122
  print("\n")
120
123
 
121
- print_yellow("┌─╼ Enter Domain Or Subdomain")
122
- domain = restricted_input("\033[1;33m└────╼ ❯❯❯ \033[0m", r"[a-zA-Z0-9\.\-]")
124
+ print_turquoise("┌─╼ Enter Domain Or Subdomain")
125
+ domain = restricted_input("\033[38;2;0;255;234m└────╼ ❯❯❯ \033[0m", r"[a-zA-Z0-9\.\-]")
123
126
 
124
127
  print("\n")
125
128
 
@@ -127,8 +130,8 @@ def main():
127
130
  print_red("Domain is invalid, Operation Failed.")
128
131
  sys.exit(1)
129
132
 
130
- print_yellow("┌─╼ Enter Port To Expose")
131
- port = restricted_input("\033[1;33m└────╼ ❯❯❯ \033[0m", r"[0-9]+")
133
+ print_turquoise("┌─╼ Enter Port To Expose")
134
+ port = restricted_input("\033[38;2;0;255;234m└────╼ ❯❯❯ \033[0m", r"[0-9]+")
132
135
 
133
136
  print("\n")
134
137
 
@@ -228,7 +231,12 @@ server {{
228
231
  print_green(f"Exposed Successfully To Domain\n")
229
232
  print_green(f"Exposed On: https://{domain}\n")
230
233
  print_green(f"Port: {port}\n")
231
- print_green(f"SSL Installed Using Let's Encrypt.\n\n")
234
+ print_green(f"SSL Installed Using Let's Encrypt.\n")
235
+ print_yellow(f"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -")
236
+ print_yellow(f"If You Like NitroExpose, Please Support Us by:\n")
237
+ print_yellow(f" * Join Our Telegram Channel: https://t.me/NacDevs")
238
+ print_yellow(f" * Please Star Our Project: https://github.com/yuvrajmodz/NitroExpose")
239
+ print_yellow(f"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n")
232
240
  else:
233
241
  print_green(f"Exposed Successfully To Domain\n")
234
242
  print_green(f"Exposed On: http://{domain}\n")
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="NitroExpose",
5
- version="1.4",
5
+ version="1.6",
6
6
  author="@NacDevs",
7
7
  author_email="yuvrajmodz@gmail.com",
8
8
  description="Advanced CLI To Expose Port To Your Domain.",
File without changes
File without changes
File without changes