Skip to main content

Delta Chat client for the command line

Project description

Cursed Delta

ncurses Delta Chat client developed in Python with the urwid library.

screenshot of Cursed Delta

Latest Release Supported Versions Downloads License CI Code style: black

Installation

Install Cursed Delta with pip:

$ pip install -U deltachat-cursed

Usage

After installation the command delta should be available, or you can use python3 -m deltachat-cursed. The first time you use Cursed Delta you need to configure your account:

$ delta init me@example.com YourStrongPassword  # omit password to use OAuth2

Then run delta command to start the application with your configured account.

If you want to use an already existent account, for example to open an account created with the official Delta Chat client:

$ delta --db ~/.config/DeltaChat/accounts/XXXXXXXXX/dc.db

Tips

  • Messages will be displayed in red if someone mentions you.
  • You will get a notification if someone mentions you in a group.
  • The message marker > will be gray if the message is encrypted, or red if message is not encrypted.
  • Message will be gray until it is sent.
  • You will see at the end of the message if it was send, ✓✓ when the message was noticed, or if message failed to send.
  • You can tweak the app colors editing ~/.curseddelta/theme.json
  • You can tweak the app keymap editing ~/.curseddelta/keymap.json
  • Put global theme, keymap, and config files in /etc/curseddelta/
  • You can have per-folder config files, the application search for this files in the current working directory: ./curseddelta-theme.json, ./curseddelta-keymap.json, ./curseddelta.conf
  • If you like to use the mouse, you can use the mouse to select chats in the chat list, select the draft area or scroll in the message history.

Default Shortcuts

  • Press Esc to leave the draft/editing area.
  • Press q to quit Cursed Delta.
  • Press Ctrl + x to toggle the chat list.
  • Use Meta + Enter to send the message.
  • Use Ctrl + r to reply last message in chat.
  • Use Ctrl + o to open attachemnt in the last message in chat.
  • You can navigate the chat list with Meta + and Meta + .
  • Vim-like key bindings are also available, use h j k l to navigate between lists, use i to select the draft area and Esc to leave it.
  • For shortcuts in the draft/editing area see: urwid_readline

Commands

This are some temporal commands to do things that are not implemented yet using a menu:

  • Send /query user@example.com to start a chat with user@example.com
  • Send /add user@example.com to add user@example.com to the group where the command is sent.
  • Send /kick user@example.com to remove user@example.com from the group where the command is sent.
  • Send /part in a group to leave it.
  • Send /names in a group to get the member list in the buffer, use Ctrl + l to clear.
  • Use /join GroupName to create a group named GroupName
  • Send /id in a chat to get the chat's ID
  • Use /send /path/to/file.txt to send a file attachment
  • To send a message starting with / use //

Credits

The user interface is based on ncTelegram

License

Licensed GPLv3+, see the LICENSE file for details.

Copyright © 2020-2022 Cursed Delta contributors.

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

deltachat_cursed-0.4.1.tar.gz (292.5 kB view details)

Uploaded Source

Built Distribution

deltachat_cursed-0.4.1-py3-none-any.whl (53.5 kB view details)

Uploaded Python 3

File details

Details for the file deltachat_cursed-0.4.1.tar.gz.

File metadata

  • Download URL: deltachat_cursed-0.4.1.tar.gz
  • Upload date:
  • Size: 292.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for deltachat_cursed-0.4.1.tar.gz
Algorithm Hash digest
SHA256 07edc3b06cbd0b93284b6f91fe7030da77117c98b580749119b79c7db5275366
MD5 b2bada3fbaddcf9c5f5b8aaf98464546
BLAKE2b-256 74b0f8d5168923107641747f42c5e6827d6c244be17846af96a0f690a098c445

See more details on using hashes here.

Provenance

File details

Details for the file deltachat_cursed-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for deltachat_cursed-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9b7fae469eee6d165eb3168a6967807440a9d9f9186350bb831e397a84fe083
MD5 4c7d9cf9a52f8d9f3ab2ec81c3903594
BLAKE2b-256 5eefd4ee7a70c05a131ff7deecf630b6a87ae3959d4ec4d00f27bf7a8e9bc750

See more details on using hashes here.

Provenance

Supported by

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