Skip to main content

Gitty

Gitty ist ein TLS-verschlüsselter Terminal-Messenger mit verifizierter GitHub-Anmeldung, Chatrooms, gespeicherten Freunden und Admin-Rechten.

Installation & Start

pip install gitty-messenger
gitty

Beim ersten Start meldest du dich einmalig per GitHub Device Flow (https://github.com/login/device) an. Das Token wird lokal unter ~/.gitty/token gespeichert (alternativ GITHUB_TOKEN setzen). Der Server speichert keine Tokens.

Optional mit eigenem Host oder Port:

gitty chat.jankirschke.de -p 5555

Funktionen

  • TLS-Transport: Alle Verbindungen laufen ausschließlich über TLS (ab TLS 1.2).
  • GitHub-Anmeldung: Verifizierte Identität via GitHub OAuth Device Flow mit lokalem Login-Cache (~/.gitty/token).
  • Chatrooms & Direktnachrichten: Ephemere Räume (/create, /join, /leave, /users, /rooms) und private DMs (/msg) mit Zeitstempeln.
  • Gespeicherte Freunde: Persistente Kontaktliste in SQLite anhand unveränderlicher GitHub-IDs (/friends, /friend add, /friend remove).
  • Admin-Rechte: Gebunden an die numerische GitHub-User-ID (GITTY_ADMIN_ID) für /admin online, /admin kick und /admin broadcast.

Befehle im Client

Chat & Räume

Befehl Beschreibung
/rooms Aktive Räume anzeigen
/create RAUM Neuen Raum erstellen
/join RAUM Raum betreten
/leave Aktuellen Raum verlassen
/users Teilnehmer im Raum anzeigen
/msg NAME TEXT Direktnachricht senden

Freunde

Befehl Beschreibung
/friends Freundesliste & Online-Status anzeigen
/friend add NAME GitHub-Nutzer hinzufügen
/friend remove NAME Freund entfernen

Admin

Befehl Beschreibung
/admin online Alle verbundenen Nutzer anzeigen
/admin kick NAME Nutzer vom Server trennen
/admin broadcast TEXT Ankündigung an alle senden

Allgemein

Befehl Beschreibung
/help Hilfe anzeigen
/exit Verbindung trennen

Im Raum einfach schreiben. Räume und Nachrichten werden nicht gespeichert.

Server betreiben

Mit Docker Compose

  1. TLS-Zertifikat und Schlüssel unter ./certs/ ablegen (fullchain.pem und privkey.pem).
  2. Numerische GitHub-ID als Admin setzen und starten:
export GITTY_ADMIN_ID=12345678
docker compose up -d --build
docker compose logs -f gitty

Direkt mit Python

gitty-server --cert certs/fullchain.pem --key certs/privkey.pem --admin-id 12345678

Neue Version auf PyPI veröffentlichen

python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/*

Metadata

Release files for gitty-messenger 5.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitty-messenger 5.0.0
File Size Uploaded Provenance Actions
gitty_messenger-5.0.0.tar.gz 20.3 kB Without provenance Details for gitty_messenger-5.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gitty-messenger 5.0.0
File Interpreter ABI Platform Actions
gitty_messenger-5.0.0-py3-none-any.whl Python 3 none any Details for gitty_messenger-5.0.0-py3-none-any.whl

Total release size: 39.1 kB

Release files / gitty_messenger-5.0.0.tar.gz

Download URL gitty_messenger-5.0.0.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f227c352c23b8d606cc265585bfa8d10f0679d8c86130ad5770fcf37cf0f4add
BLAKE2b-256 checksum
How to use checksums
1f602b2c19d59fe4bfd2f888b3bf0d85c483a1778572ec3f8af53c2b02211af9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / gitty_messenger-5.0.0-py3-none-any.whl

Download URL gitty_messenger-5.0.0-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f102ce8338828b9805b2ee999eef7d6764b785b518521ec21ecfe33d18dc9a2d
BLAKE2b-256 checksum
How to use checksums
7a5dd02ca63320e5bf189c0524671f0d767261a2a86d47da3a8a1da6dd55ab6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Security for gitty-messenger 5.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page