portacode 0.3.25__py3-none-any.whl → 1.3.26__py3-none-any.whl
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.
- portacode/_version.py +2 -2
- portacode/cli.py +2 -2
- portacode/connection/client.py +1 -1
- {portacode-0.3.25.dist-info → portacode-1.3.26.dist-info}/METADATA +20 -43
- {portacode-0.3.25.dist-info → portacode-1.3.26.dist-info}/RECORD +9 -9
- {portacode-0.3.25.dist-info → portacode-1.3.26.dist-info}/WHEEL +0 -0
- {portacode-0.3.25.dist-info → portacode-1.3.26.dist-info}/entry_points.txt +0 -0
- {portacode-0.3.25.dist-info → portacode-1.3.26.dist-info}/licenses/LICENSE +0 -0
- {portacode-0.3.25.dist-info → portacode-1.3.26.dist-info}/top_level.txt +0 -0
portacode/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '
|
|
32
|
-
__version_tuple__ = version_tuple = (
|
|
31
|
+
__version__ = version = '1.3.26'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 3, 26)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
portacode/cli.py
CHANGED
|
@@ -16,7 +16,7 @@ from .data import get_pid_file, is_process_running
|
|
|
16
16
|
from .keypair import get_or_create_keypair, fingerprint_public_key
|
|
17
17
|
from .connection.client import ConnectionManager, run_until_interrupt
|
|
18
18
|
|
|
19
|
-
GATEWAY_URL = "wss://
|
|
19
|
+
GATEWAY_URL = "wss://portacode.com/gateway"
|
|
20
20
|
GATEWAY_ENV = "PORTACODE_GATEWAY"
|
|
21
21
|
|
|
22
22
|
|
|
@@ -115,7 +115,7 @@ def connect(gateway: str | None, detach: bool, debug: bool, log_categories: str
|
|
|
115
115
|
click.echo(click.style("🚀 Welcome to Portacode!", fg="bright_blue", bold=True))
|
|
116
116
|
click.echo()
|
|
117
117
|
click.echo(click.style("📱 Next steps:", fg="bright_cyan", bold=True))
|
|
118
|
-
click.echo(click.style(" 1. Visit ", fg="white") + click.style("https://
|
|
118
|
+
click.echo(click.style(" 1. Visit ", fg="white") + click.style("https://portacode.com", fg="bright_blue", underline=True))
|
|
119
119
|
click.echo(click.style(" 2. Create your free account or sign in", fg="white"))
|
|
120
120
|
click.echo(click.style(" 3. Add this device using the key below", fg="white"))
|
|
121
121
|
click.echo()
|
portacode/connection/client.py
CHANGED
|
@@ -25,7 +25,7 @@ class ConnectionManager:
|
|
|
25
25
|
Parameters
|
|
26
26
|
----------
|
|
27
27
|
gateway_url: str
|
|
28
|
-
WebSocket URL, e.g. ``wss://
|
|
28
|
+
WebSocket URL, e.g. ``wss://portacode.com/gateway``
|
|
29
29
|
keypair: KeyPair
|
|
30
30
|
User's public/private keypair used for authentication.
|
|
31
31
|
reconnect_delay: float
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: portacode
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.3.26
|
|
4
4
|
Summary: Portacode CLI client and SDK
|
|
5
5
|
Home-page: https://github.com/portacode/portacode
|
|
6
6
|
Author: Meena Erian
|
|
@@ -43,7 +43,7 @@ Dynamic: summary
|
|
|
43
43
|
|
|
44
44
|
**An AI-first, mobile-first IDE and admin tool, made with love and passion by software engineers, for software engineers.**
|
|
45
45
|
|
|
46
|
-
Portacode transforms any
|
|
46
|
+
Portacode transforms any device with python into a remotely accessible development environment. Access your home lab, server or even embedded system chip from your phone, code on your desktop or your smartphone from anywhere, or help a colleague debug their server - all through a beautiful web interface designed for the modern developer.
|
|
47
47
|
|
|
48
48
|
## ✨ Why Portacode?
|
|
49
49
|
|
|
@@ -71,7 +71,7 @@ portacode connect
|
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
Follow the on-screen instructions to:
|
|
74
|
-
- Visit [https://
|
|
74
|
+
- Visit [https://portacode.com](https://portacode.com)
|
|
75
75
|
- Create your free account
|
|
76
76
|
- Add your device using the generated key
|
|
77
77
|
- Start coding and administrating!
|
|
@@ -86,40 +86,9 @@ Once connected, you can:
|
|
|
86
86
|
|
|
87
87
|
## 💡 Use Cases
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
portacode connect
|
|
93
|
-
|
|
94
|
-
# Now code, build, and debug from anywhere - even your phone
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### Server Administration
|
|
98
|
-
```bash
|
|
99
|
-
# For a persistent connection, install system-wide first
|
|
100
|
-
sudo pip install portacode --system
|
|
101
|
-
|
|
102
|
-
# Then install as a service
|
|
103
|
-
sudo portacode service install
|
|
104
|
-
|
|
105
|
-
# Your server is now accessible 24/7 from the web dashboard
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### Mobile Development
|
|
109
|
-
```bash
|
|
110
|
-
# Connect your desktop/laptop
|
|
111
|
-
portacode connect
|
|
112
|
-
|
|
113
|
-
# Code on-the-go from your mobile device with a full IDE experience
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### Team Collaboration
|
|
117
|
-
```bash
|
|
118
|
-
# Connect shared development environments
|
|
119
|
-
portacode connect
|
|
120
|
-
|
|
121
|
-
# Enable team members to access shared resources securely
|
|
122
|
-
```
|
|
89
|
+
- **Remote Development**: Code, build, and debug from anywhere - even your phone
|
|
90
|
+
- **Server Administration**: 24/7 server access with persistent service installation
|
|
91
|
+
- **Mobile Development**: Full IDE experience on mobile devices
|
|
123
92
|
|
|
124
93
|
## 🔧 Essential Commands
|
|
125
94
|
|
|
@@ -140,25 +109,27 @@ portacode --help
|
|
|
140
109
|
|
|
141
110
|
### Service Management
|
|
142
111
|
```bash
|
|
143
|
-
#
|
|
112
|
+
# First, authenticate your device
|
|
113
|
+
portacode connect
|
|
114
|
+
|
|
115
|
+
# For system services, install package system-wide
|
|
144
116
|
sudo pip install portacode --system
|
|
145
117
|
|
|
146
118
|
# Install persistent service (auto-start on boot)
|
|
147
119
|
sudo portacode service install
|
|
148
120
|
|
|
149
|
-
# Check service status
|
|
121
|
+
# Check service status (use -v for verbose debugging)
|
|
150
122
|
sudo portacode service status
|
|
123
|
+
sudo portacode service status -v
|
|
151
124
|
|
|
152
|
-
# Stop the service
|
|
125
|
+
# Stop/remove the service
|
|
153
126
|
sudo portacode service stop
|
|
154
|
-
|
|
155
|
-
# Remove the service
|
|
156
127
|
sudo portacode service uninstall
|
|
157
128
|
```
|
|
158
129
|
|
|
159
130
|
## 🌐 Web Dashboard
|
|
160
131
|
|
|
161
|
-
Access your connected devices at [https://
|
|
132
|
+
Access your connected devices at [https://portacode.com](https://portacode.com)
|
|
162
133
|
|
|
163
134
|
**Current Features:**
|
|
164
135
|
- Real-time terminal access
|
|
@@ -194,11 +165,17 @@ sudo portacode service status --verbose
|
|
|
194
165
|
|
|
195
166
|
### Service Installation Issues
|
|
196
167
|
```bash
|
|
168
|
+
# First authenticate your device
|
|
169
|
+
portacode connect
|
|
170
|
+
|
|
197
171
|
# If service commands fail, ensure system-wide installation
|
|
198
172
|
sudo pip install portacode --system
|
|
199
173
|
|
|
200
174
|
# Then try service installation again
|
|
201
175
|
sudo portacode service install
|
|
176
|
+
|
|
177
|
+
# Use verbose status to debug connection issues
|
|
178
|
+
sudo portacode service status -v
|
|
202
179
|
```
|
|
203
180
|
|
|
204
181
|
### Clipboard Issues (Linux)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
portacode/README.md,sha256=4dKtpvR8LNgZPVz37GmkQCMWIr_u25Ao63iW56s7Ke4,775
|
|
2
2
|
portacode/__init__.py,sha256=oB3sV1wXr-um-RXio73UG8E5Xx6cF2ZVJveqjNmC-vQ,1086
|
|
3
3
|
portacode/__main__.py,sha256=jmHTGC1hzmo9iKJLv-SSYe9BSIbPPZ2IOpecI03PlTs,296
|
|
4
|
-
portacode/_version.py,sha256=
|
|
5
|
-
portacode/cli.py,sha256=
|
|
4
|
+
portacode/_version.py,sha256=SuapxdEzR3ZIC18_-TLYJjA4kj4DA2PG_8e-FJuLuQA,706
|
|
5
|
+
portacode/cli.py,sha256=eDqcZMVFHKzqqWxedhhx8ylu5WMVCLqeJQkbPR7RcJE,16333
|
|
6
6
|
portacode/data.py,sha256=5-s291bv8J354myaHm1Y7CQZTZyRzMU3TGe5U4hb-FA,1591
|
|
7
7
|
portacode/keypair.py,sha256=PAcOYqlVLOoZTPYi6LvLjfsY6BkrWbLOhSZLb8r5sHs,3635
|
|
8
8
|
portacode/logging_categories.py,sha256=9m-BYrjyHh1vjZYBQT4JhAh6b_oYUhIWayO-noH1cSE,5063
|
|
9
9
|
portacode/service.py,sha256=p-HHMOAl20QsdcJydcZ74Iqes-wl8G8HItdSim30pUk,16537
|
|
10
10
|
portacode/connection/README.md,sha256=f9rbuIEKa7cTm9C98rCiBbEtbiIXQU11esGSNhSMiJg,883
|
|
11
11
|
portacode/connection/__init__.py,sha256=atqcVGkViIEd7pRa6cP2do07RJOM0UWpbnz5zXjGktU,250
|
|
12
|
-
portacode/connection/client.py,sha256=
|
|
12
|
+
portacode/connection/client.py,sha256=P5ubshMFbyV8PkGZxU2o_70gIYEy3Pv_R5blmF2ylWs,8006
|
|
13
13
|
portacode/connection/multiplex.py,sha256=L-TxqJ_ZEbfNEfu1cwxgJ5vUdyRzZjsMy2Kx1diiZys,5237
|
|
14
14
|
portacode/connection/terminal.py,sha256=euST6O_3hm9qsBk52xTXORTKfKqsMYnTHuZjvlitYSE,42307
|
|
15
15
|
portacode/connection/handlers/README.md,sha256=HsLZG1QK1JNm67HsgL6WoDg9nxzKXxwkc5fJPFJdX5g,12169
|
|
@@ -33,7 +33,7 @@ portacode/connection/handlers/project_state/handlers.py,sha256=nkednSbCC-0n3Ztze
|
|
|
33
33
|
portacode/connection/handlers/project_state/manager.py,sha256=03mN0H9TqVa_ohD5U5-5ZywDGj0s8-y1IxGdb07dZn8,57636
|
|
34
34
|
portacode/connection/handlers/project_state/models.py,sha256=EZTKvxHKs8QlQUbzI0u2IqfzfRRXZixUIDBwTGCJATI,4313
|
|
35
35
|
portacode/connection/handlers/project_state/utils.py,sha256=LsbQr9TH9Bz30FqikmtTxco4PlB_n0kUIuPKQ6Fb_mo,1665
|
|
36
|
-
portacode-
|
|
36
|
+
portacode-1.3.26.dist-info/licenses/LICENSE,sha256=2FGbCnUDgRYuQTkB1O1dUUpu5CVAjK1j4_p6ack9Z54,1066
|
|
37
37
|
test_modules/README.md,sha256=Do_agkm9WhSzueXjRAkV_xEj6Emy5zB3N3VKY5Roce8,9274
|
|
38
38
|
test_modules/__init__.py,sha256=1LcbHodIHsB0g-g4NGjSn6AMuCoGbymvXPYLOb6Z7F0,53
|
|
39
39
|
test_modules/test_device_online.py,sha256=yiSyVaMwKAugqIX_ZIxmLXiOlmA_8IRXiUp12YmpB98,1653
|
|
@@ -58,8 +58,8 @@ testing_framework/core/playwright_manager.py,sha256=9kGXJtRpRNEhaSlV7XVXvx4UQSHS
|
|
|
58
58
|
testing_framework/core/runner.py,sha256=j2QwNJmAxVBmJvcbVS7DgPJUKPNzqfLmt_4NNdaKmZU,19297
|
|
59
59
|
testing_framework/core/shared_cli_manager.py,sha256=BESSNtyQb7BOlaOvZmm04T8Uezjms4KCBs2MzTxvzYQ,8790
|
|
60
60
|
testing_framework/core/test_discovery.py,sha256=2FZ9fJ8Dp5dloA-fkgXoJ_gCMC_nYPBnA3Hs2xlagzM,4928
|
|
61
|
-
portacode-
|
|
62
|
-
portacode-
|
|
63
|
-
portacode-
|
|
64
|
-
portacode-
|
|
65
|
-
portacode-
|
|
61
|
+
portacode-1.3.26.dist-info/METADATA,sha256=-cJuyxEf9rr4AcyR-NcnZj-48wrOo2MVlFKrkF2vO6E,6960
|
|
62
|
+
portacode-1.3.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
63
|
+
portacode-1.3.26.dist-info/entry_points.txt,sha256=lLUUL-BM6_wwe44Xv0__5NQ1BnAz6jWjSMFvZdWW3zU,48
|
|
64
|
+
portacode-1.3.26.dist-info/top_level.txt,sha256=TGhTYUxfW8SyVZc_zGgzjzc24gGT7nSw8Qf73liVRKM,41
|
|
65
|
+
portacode-1.3.26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|