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.4.tar.gz (201.3 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.4-py3-none-any.whl (167.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nightwatch_chat-0.10.4.tar.gz
  • Upload date:
  • Size: 201.3 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.4.tar.gz
Algorithm Hash digest
SHA256 6aaa7d55f393e30765c344a3ce4248c7c4a403dc24fcae1993a51b2d5efbbdbc
MD5 e9b599add8055e0045dbf38584b6b9fe
BLAKE2b-256 75e7057a1c8ed84c66f90f560bc7df79cfa5cbdecfa340905fc7e19be0198a77

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for nightwatch_chat-0.10.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ff1c22f1723ad4f65fa1d26a0255df53184f64fd2269480993ef02efcdbba4e2
MD5 9b0e3cb533b417c89e2e3de9e320fb0b
BLAKE2b-256 70afb7aafacfe8f3a506a1e975014e773a5ec4cb864b2c368e3ef185aae17226

See more details on using hashes here.

Provenance

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