nini-relay 0.4.1__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.
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: nini-relay
|
|
3
|
+
Version: 0.4.1
|
|
4
|
+
Summary: Stateless public relay for NAT traversal (skeleton)
|
|
5
|
+
Project-URL: Homepage, https://nini.flygpt.cc
|
|
6
|
+
Project-URL: Repository, https://github.com/xusai2014/Nini
|
|
7
|
+
Author-email: Jerry xu <jerryxu521@gmail.com>
|
|
8
|
+
License: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Environment :: Console
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Requires-Python: >=3.12
|
|
15
|
+
Requires-Dist: fastapi>=0.115
|
|
16
|
+
Requires-Dist: redis>=5
|
|
17
|
+
Requires-Dist: uvicorn[standard]>=0.32
|
|
18
|
+
Requires-Dist: websockets>=13
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# nini-relay
|
|
22
|
+
|
|
23
|
+
A stateless public relay for NAT traversal. Two endpoints that cannot reach each
|
|
24
|
+
other pair up through it, and the relay only ever forwards ciphertext — it holds
|
|
25
|
+
no session state and needs only Redis for connection affinity.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install nini-relay
|
|
29
|
+
nini-relay --port 8787 # see the repo docs for the Redis/URL setup
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
- Self-host it if you do not want to use `relay.flygpt.cc`.
|
|
33
|
+
- Payloads are end-to-end encrypted by the daemon and clients; the relay routes
|
|
34
|
+
frames and nothing else.
|
|
35
|
+
- One process + one Redis is enough for a small team; scale out by adding nodes
|
|
36
|
+
behind a TCP load balancer.
|
|
37
|
+
|
|
38
|
+
Deployment notes (Docker image, nginx front, health checks) live in the repository.
|
|
39
|
+
|
|
40
|
+
Docs: <https://github.com/xusai2014/Nini> · License: MIT
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
nini_relay-0.4.1.dist-info/METADATA,sha256=j7o85-gPxN_fZpMf2gdgXoXFljdkxB-mxiqqucGmqO4,1450
|
|
2
|
+
nini_relay-0.4.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
3
|
+
nini_relay-0.4.1.dist-info/entry_points.txt,sha256=Kg-wJVBKGvZDhz_4L0xInC4W6dcPH0zYjl9Xg5INe-c,56
|
|
4
|
+
nini_relay-0.4.1.dist-info/licenses/LICENSE,sha256=5f3sOYhMgYZO4voPIGNBOCJZjTBdIOdZaqSEh8rv8TQ,1074
|
|
5
|
+
nini_relay-0.4.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nini contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|