NitroExpose 1.3__tar.gz → 1.5__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.

@@ -0,0 +1,98 @@
1
+ Metadata-Version: 2.4
2
+ Name: NitroExpose
3
+ Version: 1.5
4
+ Summary: Advanced CLI To Expose Port To Your Domain.
5
+ Home-page: https://github.com/yuvrajmodz/NitroExpose
6
+ Author: @NacDevs
7
+ Author-email: yuvrajmodz@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: POSIX :: Linux
11
+ Requires-Python: >=3.8
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: requests
15
+ Dynamic: author
16
+ Dynamic: author-email
17
+ Dynamic: classifier
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: home-page
21
+ Dynamic: license-file
22
+ Dynamic: requires-dist
23
+ Dynamic: requires-python
24
+ Dynamic: summary
25
+
26
+ ## NitroExpose
27
+
28
+ **Letest Version:** 1.5
29
+ **Developer:** @Nactire
30
+ **Git Repo:** [NitroExpose](https://github.com/yuvrajmodz/NitroExpose)
31
+
32
+
33
+ ## 🚀 Overview
34
+
35
+ **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.
36
+
37
+ 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.
38
+
39
+
40
+ ## ⚡ Key Features
41
+
42
+ • Easily Expose Your Local Port to Your Domain.
43
+ • Automatic **NGINX** configuration
44
+ • Automatic **SSL (Let's Encrypt)** installation
45
+ • Required **Root (Sudo)** Environment
46
+ • Intelligent error handling with Fast Speed.
47
+ • Lightweight and Fast Completes setup in under 10 Sec
48
+
49
+
50
+ ## 🛠️ System Requirements
51
+
52
+ - Python **3.8+**
53
+ - **Ubuntu** or **Debian-based** System
54
+ - **Root** or **Sudo** privileges
55
+ - **apt** Package Manager Required
56
+
57
+
58
+ ## Installation
59
+
60
+ ```bash
61
+ pip install NitroExpose --break-system-packages
62
+ ```
63
+
64
+ ## Optional installation
65
+
66
+ ```bash
67
+ sudo apt update -y
68
+ sudo apt install nginx -y
69
+ sudo apt install certbot -y
70
+ sudo apt install python3-certbot-nginx -y
71
+ ```
72
+
73
+ ## 🧭 Usage Guide
74
+
75
+ Step 1 – Point Your Vps/Server IP in Your Domain Records:
76
+ **Type**: **A**
77
+ **Name**: *
78
+ **IPv4**: **Your Vps/Server IP**
79
+ **TTL**: Auto
80
+
81
+ Step 2 – **Lauch NitroExpose**
82
+ ```bash
83
+ NitroExpose
84
+ ```
85
+
86
+ Step 3 – **Enter Your Domain Or Subdomain**
87
+ ```bash
88
+ ┌─╼ Enter Domain Or Subdomain
89
+ └────╼ ❯❯❯ myproject.example.com
90
+ ```
91
+
92
+ Step 4 – **Enter the Local Port to Expose**
93
+ ```bash
94
+ ┌─╼ Enter Port To Expose
95
+ └────╼ ❯❯❯ 8000
96
+ ```
97
+
98
+ ✨ **Now it Will Take 8 to 9 Seconds For Verification And Then Boom! Your Local Port Successfully Exposed To Your Public Domain/Subdomain**.
@@ -0,0 +1,98 @@
1
+ Metadata-Version: 2.4
2
+ Name: NitroExpose
3
+ Version: 1.5
4
+ Summary: Advanced CLI To Expose Port To Your Domain.
5
+ Home-page: https://github.com/yuvrajmodz/NitroExpose
6
+ Author: @NacDevs
7
+ Author-email: yuvrajmodz@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: POSIX :: Linux
11
+ Requires-Python: >=3.8
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: requests
15
+ Dynamic: author
16
+ Dynamic: author-email
17
+ Dynamic: classifier
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: home-page
21
+ Dynamic: license-file
22
+ Dynamic: requires-dist
23
+ Dynamic: requires-python
24
+ Dynamic: summary
25
+
26
+ ## NitroExpose
27
+
28
+ **Letest Version:** 1.5
29
+ **Developer:** @Nactire
30
+ **Git Repo:** [NitroExpose](https://github.com/yuvrajmodz/NitroExpose)
31
+
32
+
33
+ ## 🚀 Overview
34
+
35
+ **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.
36
+
37
+ 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.
38
+
39
+
40
+ ## ⚡ Key Features
41
+
42
+ • Easily Expose Your Local Port to Your Domain.
43
+ • Automatic **NGINX** configuration
44
+ • Automatic **SSL (Let's Encrypt)** installation
45
+ • Required **Root (Sudo)** Environment
46
+ • Intelligent error handling with Fast Speed.
47
+ • Lightweight and Fast Completes setup in under 10 Sec
48
+
49
+
50
+ ## 🛠️ System Requirements
51
+
52
+ - Python **3.8+**
53
+ - **Ubuntu** or **Debian-based** System
54
+ - **Root** or **Sudo** privileges
55
+ - **apt** Package Manager Required
56
+
57
+
58
+ ## Installation
59
+
60
+ ```bash
61
+ pip install NitroExpose --break-system-packages
62
+ ```
63
+
64
+ ## Optional installation
65
+
66
+ ```bash
67
+ sudo apt update -y
68
+ sudo apt install nginx -y
69
+ sudo apt install certbot -y
70
+ sudo apt install python3-certbot-nginx -y
71
+ ```
72
+
73
+ ## 🧭 Usage Guide
74
+
75
+ Step 1 – Point Your Vps/Server IP in Your Domain Records:
76
+ **Type**: **A**
77
+ **Name**: *
78
+ **IPv4**: **Your Vps/Server IP**
79
+ **TTL**: Auto
80
+
81
+ Step 2 – **Lauch NitroExpose**
82
+ ```bash
83
+ NitroExpose
84
+ ```
85
+
86
+ Step 3 – **Enter Your Domain Or Subdomain**
87
+ ```bash
88
+ ┌─╼ Enter Domain Or Subdomain
89
+ └────╼ ❯❯❯ myproject.example.com
90
+ ```
91
+
92
+ Step 4 – **Enter the Local Port to Expose**
93
+ ```bash
94
+ ┌─╼ Enter Port To Expose
95
+ └────╼ ❯❯❯ 8000
96
+ ```
97
+
98
+ ✨ **Now it Will Take 8 to 9 Seconds For Verification And Then Boom! Your Local Port Successfully Exposed To Your Public Domain/Subdomain**.
@@ -0,0 +1,73 @@
1
+ ## NitroExpose
2
+
3
+ **Letest Version:** 1.5
4
+ **Developer:** @Nactire
5
+ **Git Repo:** [NitroExpose](https://github.com/yuvrajmodz/NitroExpose)
6
+
7
+
8
+ ## 🚀 Overview
9
+
10
+ **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.
11
+
12
+ 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.
13
+
14
+
15
+ ## ⚡ Key Features
16
+
17
+ • Easily Expose Your Local Port to Your Domain.
18
+ • Automatic **NGINX** configuration
19
+ • Automatic **SSL (Let's Encrypt)** installation
20
+ • Required **Root (Sudo)** Environment
21
+ • Intelligent error handling with Fast Speed.
22
+ • Lightweight and Fast Completes setup in under 10 Sec
23
+
24
+
25
+ ## 🛠️ System Requirements
26
+
27
+ - Python **3.8+**
28
+ - **Ubuntu** or **Debian-based** System
29
+ - **Root** or **Sudo** privileges
30
+ - **apt** Package Manager Required
31
+
32
+
33
+ ## Installation
34
+
35
+ ```bash
36
+ pip install NitroExpose --break-system-packages
37
+ ```
38
+
39
+ ## Optional installation
40
+
41
+ ```bash
42
+ sudo apt update -y
43
+ sudo apt install nginx -y
44
+ sudo apt install certbot -y
45
+ sudo apt install python3-certbot-nginx -y
46
+ ```
47
+
48
+ ## 🧭 Usage Guide
49
+
50
+ Step 1 – Point Your Vps/Server IP in Your Domain Records:
51
+ **Type**: **A**
52
+ **Name**: *
53
+ **IPv4**: **Your Vps/Server IP**
54
+ **TTL**: Auto
55
+
56
+ Step 2 – **Lauch NitroExpose**
57
+ ```bash
58
+ NitroExpose
59
+ ```
60
+
61
+ Step 3 – **Enter Your Domain Or Subdomain**
62
+ ```bash
63
+ ┌─╼ Enter Domain Or Subdomain
64
+ └────╼ ❯❯❯ myproject.example.com
65
+ ```
66
+
67
+ Step 4 – **Enter the Local Port to Expose**
68
+ ```bash
69
+ ┌─╼ Enter Port To Expose
70
+ └────╼ ❯❯❯ 8000
71
+ ```
72
+
73
+ ✨ **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.3",
5
+ version="1.5",
6
6
  author="@NacDevs",
7
7
  author_email="yuvrajmodz@gmail.com",
8
8
  description="Advanced CLI To Expose Port To Your Domain.",
@@ -1,57 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: NitroExpose
3
- Version: 1.3
4
- Summary: Advanced CLI To Expose Port To Your Domain.
5
- Home-page: https://github.com/yuvrajmodz/NitroExpose
6
- Author: @NacDevs
7
- Author-email: yuvrajmodz@gmail.com
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Operating System :: POSIX :: Linux
11
- Requires-Python: >=3.8
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Requires-Dist: requests
15
- Dynamic: author
16
- Dynamic: author-email
17
- Dynamic: classifier
18
- Dynamic: description
19
- Dynamic: description-content-type
20
- Dynamic: home-page
21
- Dynamic: license-file
22
- Dynamic: requires-dist
23
- Dynamic: requires-python
24
- Dynamic: summary
25
-
26
- # NitroExpose
27
-
28
- **Letest Version:** 1.3
29
- **Developer:** @Nactire
30
- **Git Repo:** [GitHub](https://github.com/yuvrajmodz/NitroExpose)
31
-
32
- • Easily Expose Your Local Port to Your Domain.
33
- • Automatic SSL installation.
34
- • Automatic Tests To Your Site.
35
- • Expose Within 4 Seconds.
36
- • Our Software Needs Root Environment.
37
-
38
- ## Installation
39
-
40
- ```bash
41
- pip install NitroExpose --break-system-packages
42
- ```
43
-
44
- ## Usage
45
-
46
- ```bash
47
- NitroExpose
48
- ```
49
-
50
- ## Optional installation
51
-
52
- ```bash
53
- sudo apt update -y
54
- sudo apt install nginx -y
55
- sudo apt install certbot -y
56
- sudo apt install python3-certbot-nginx -y
57
- ```
nitroexpose-1.3/PKG-INFO DELETED
@@ -1,57 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: NitroExpose
3
- Version: 1.3
4
- Summary: Advanced CLI To Expose Port To Your Domain.
5
- Home-page: https://github.com/yuvrajmodz/NitroExpose
6
- Author: @NacDevs
7
- Author-email: yuvrajmodz@gmail.com
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Operating System :: POSIX :: Linux
11
- Requires-Python: >=3.8
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Requires-Dist: requests
15
- Dynamic: author
16
- Dynamic: author-email
17
- Dynamic: classifier
18
- Dynamic: description
19
- Dynamic: description-content-type
20
- Dynamic: home-page
21
- Dynamic: license-file
22
- Dynamic: requires-dist
23
- Dynamic: requires-python
24
- Dynamic: summary
25
-
26
- # NitroExpose
27
-
28
- **Letest Version:** 1.3
29
- **Developer:** @Nactire
30
- **Git Repo:** [GitHub](https://github.com/yuvrajmodz/NitroExpose)
31
-
32
- • Easily Expose Your Local Port to Your Domain.
33
- • Automatic SSL installation.
34
- • Automatic Tests To Your Site.
35
- • Expose Within 4 Seconds.
36
- • Our Software Needs Root Environment.
37
-
38
- ## Installation
39
-
40
- ```bash
41
- pip install NitroExpose --break-system-packages
42
- ```
43
-
44
- ## Usage
45
-
46
- ```bash
47
- NitroExpose
48
- ```
49
-
50
- ## Optional installation
51
-
52
- ```bash
53
- sudo apt update -y
54
- sudo apt install nginx -y
55
- sudo apt install certbot -y
56
- sudo apt install python3-certbot-nginx -y
57
- ```
nitroexpose-1.3/README.md DELETED
@@ -1,32 +0,0 @@
1
- # NitroExpose
2
-
3
- **Letest Version:** 1.3
4
- **Developer:** @Nactire
5
- **Git Repo:** [GitHub](https://github.com/yuvrajmodz/NitroExpose)
6
-
7
- • Easily Expose Your Local Port to Your Domain.
8
- • Automatic SSL installation.
9
- • Automatic Tests To Your Site.
10
- • Expose Within 4 Seconds.
11
- • Our Software Needs Root Environment.
12
-
13
- ## Installation
14
-
15
- ```bash
16
- pip install NitroExpose --break-system-packages
17
- ```
18
-
19
- ## Usage
20
-
21
- ```bash
22
- NitroExpose
23
- ```
24
-
25
- ## Optional installation
26
-
27
- ```bash
28
- sudo apt update -y
29
- sudo apt install nginx -y
30
- sudo apt install certbot -y
31
- sudo apt install python3-certbot-nginx -y
32
- ```
File without changes
File without changes
File without changes