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.10.0.tar.gz (201.5 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.10.0-py3-none-any.whl (167.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nightwatch_chat-0.10.0.tar.gz
  • Upload date:
  • Size: 201.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for nightwatch_chat-0.10.0.tar.gz
Algorithm Hash digest
SHA256 d36dc7342ef806b4b3c90e884b1b1c966427939d9ff695545fcdcb6cf5c093b9
MD5 27895fbbe3c9b8f1732d1cfbea1c3ef4
BLAKE2b-256 664c27ad3aebb1275a737abdebd3ec12246c33824a1e7267597350c6f2352ba1

See more details on using hashes here.

Provenance

The following attestation bundles were made for nightwatch_chat-0.10.0.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.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nightwatch_chat-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 994558c60e23ee136f99d67d08f29dfb18cff2e5ed6f36140dcdccb888551af5
MD5 a9226fe1354eaab8ac76b1a849f53402
BLAKE2b-256 71eb72871d07d329cefe5b82a0917a89dc1d7a1973c036f91b7818eeb5e65429

See more details on using hashes here.

Provenance

The following attestation bundles were made for nightwatch_chat-0.10.0-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