Skip to main content

The chatting application to end all chatting applications.

Project description

Nightwatch

Python Rust

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 nightwatch in your terminal.
  • Browser App

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nightwatch_chat-0.11.3.tar.gz (271.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nightwatch_chat-0.11.3-py3-none-any.whl (240.1 kB view details)

Uploaded Python 3

File details

Details for the file nightwatch_chat-0.11.3.tar.gz.

File metadata

  • Download URL: nightwatch_chat-0.11.3.tar.gz
  • Upload date:
  • Size: 271.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for nightwatch_chat-0.11.3.tar.gz
Algorithm Hash digest
SHA256 f9c04e52354e5dbdc9f65fb1e45a203ce1ba4ef4fbff33cdef20dc6429378430
MD5 fa480f0483f78de28fab8c0ab5e34e5b
BLAKE2b-256 40dc00477666d5f6b89aaa4b6e99952eb4f9c0ed05827aab7d57959b84060a35

See more details on using hashes here.

Provenance

The following attestation bundles were made for nightwatch_chat-0.11.3.tar.gz:

Publisher: pypi.yml on iiPythonx/nightwatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nightwatch_chat-0.11.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nightwatch_chat-0.11.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bac00dded91f429f4ecae1d846719a72ae38cc22b6006daa8e495e7eaeb6e9f1
MD5 e011496ca7b1a50fb8a27c80b4e55ba9
BLAKE2b-256 a8dbc34c35d27636946d37969bab3fe18170511db64497ed0fb72f4f9eb24e47

See more details on using hashes here.

Provenance

The following attestation bundles were made for nightwatch_chat-0.11.3-py3-none-any.whl:

Publisher: pypi.yml on iiPythonx/nightwatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page