Nightwatch
The chatting application to end all chatting applications.
Installation
As an end-user, you have multiple clients to pick from when it comes to accessing Nightwatch.
Here are two of the standard clients for you to choose from:
-
Terminal Client (based on urwid)
- Installation is as simple as
pip install nightwatch-chat. - The client can be started by running
nightwatchin your terminal.
- Installation is as simple as
-
Browser App
- Available in the
nightwatch/webfolder. - Alternatively, access it at nightwatch.iipython.dev.
- Available in the
Server Installation
Running a Nightwatch server can be a bit trickier then running the client, but follow along:
git clone https://github.com/iiPythonx/nightwatch && cd nightwatch
git checkout release
uv venv
uv pip install -e .
uvicorn nightwatch.rics:app --host 0.0.0.0
An example NGINX configuration:
server {
# SSL
listen 443 ssl;
ssl_certificate /etc/ssl/nightwatch.pem;
ssl_certificate_key /etc/ssl/nightwatch.key;
# Setup location
server_name nightwatch.iipython.dev;
location /api {
proxy_pass http://192.168.0.1:8000;
proxy_http_version 1.1;
}
location /api/ws {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_pass http://192.168.0.1:8000/api/ws;
proxy_http_version 1.1;
}
}
Configuration
Configuration is available at:
- *nix systems: ~/.config/nightwatch
- Windows: %LocalAppData%\Nightwatch
Client (terminal) configuration is available at client.json, while the server configuration is stored in server.json.
The Nightwatch client uses the JSON for username, coloring, and more. Check the /config command for more information.
The backend chat server uses the config file for the server name, although more is sure to come.
Release files for nightwatch-chat 0.11.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nightwatch_chat-0.11.3.tar.gz | 271.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nightwatch_chat-0.11.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 511.8 kB
Release files / nightwatch_chat-0.11.3.tar.gz
| Download URL | nightwatch_chat-0.11.3.tar.gz |
|---|---|
| Size | 271.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9c04e52354e5dbdc9f65fb1e45a203ce1ba4ef4fbff33cdef20dc6429378430
|
|
BLAKE2b-256 checksum How to use checksums |
40dc00477666d5f6b89aaa4b6e99952eb4f9c0ed05827aab7d57959b84060a35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 14, 2024.
Transparency logRelease files / nightwatch_chat-0.11.3-py3-none-any.whl
| Download URL | nightwatch_chat-0.11.3-py3-none-any.whl |
|---|---|
| Size | 240.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bac00dded91f429f4ecae1d846719a72ae38cc22b6006daa8e495e7eaeb6e9f1
|
|
BLAKE2b-256 checksum How to use checksums |
a8dbc34c35d27636946d37969bab3fe18170511db64497ed0fb72f4f9eb24e47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 14, 2024.
Transparency log