Skip to main content

briar cli-messenger for briar:headless

Project description

briar_repl

async python repl cli chat client, to be used with briar-headless:

https://code.briarproject.org/briar/briar/tree/master/briar-headless

usage:

currently it features:

  • contact listing
  • contact adding
  • contact removing
  • contact renaming
  • contacts pending list
  • contacts display online status
  • contacts display unread message count (currently per session only)
  • direct chat with contacts
  • briar link display
  • command help

two modes:

  • command mode (blue bottom bar)
  • chat mode (green bottom bar)

commands in chat mode are called by pre-pending / so a /back or /exit_chat brings you back to command mode

commands are auto completed thanks to the amazing prompt_toolkit package:

https://github.com/prompt-toolkit/python-prompt-toolkit

installation:

install via pip:

needs python3.7 or higher: python3 -m pip install briar_repl

briar-headless.jar (1.2.12 or higher) would need to be available in:

~/.briar/headless/briar-headless.jar

install via flatpak

needs flatpak and flatpak builder, briar-headless is bundled in the flatpak.

build flatpak

with supplied yaml instructions: flatpak-builder --repo=build/flatpak/repo --install-deps-from=flathub --user --force-clean build/flatpak/build org.briarproject.briar_repl.yaml

build flatpak bundle

creates a flatpak file here: build/briar_repl.flatpak flatpak build-bundle build/flatpak/repo build/briar_repl.flatpak org.briarproject.briar_repl

install flatpak

install flatpak on current machine flatpak install --user build/briar_repl.flatpak

run the flatpak

flatpak run org.briarproject.briar_repl

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

briar_repl-21.2.20.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

briar_repl-21.2.20-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file briar_repl-21.2.20.tar.gz.

File metadata

  • Download URL: briar_repl-21.2.20.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for briar_repl-21.2.20.tar.gz
Algorithm Hash digest
SHA256 8747bd94edeefa027f6349c16594853e7036a41eac274df5f205e295bf322350
MD5 c2b2b1ae10f880634c1c038e1eb8fdaf
BLAKE2b-256 22f8f00b53f7630a43374ca10a37a593333d4e6d69ed3db3fb821bd70bbb07d7

See more details on using hashes here.

File details

Details for the file briar_repl-21.2.20-py3-none-any.whl.

File metadata

File hashes

Hashes for briar_repl-21.2.20-py3-none-any.whl
Algorithm Hash digest
SHA256 ae0e3ec782f54f24351bd5861a6f0255d934f3381face867feccf618db4ae3fa
MD5 bf2b15201d6f48a8a23f7861aea744bf
BLAKE2b-256 f50a6f674e6199365c00cd34dc8d2b0f8dd6514d7a9553d12ac3db427ae2f949

See more details on using hashes here.

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