Skip to main content

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

Metadata

Release files for briar_repl 21.2.20

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

Source distribution (sdist)

Source distribution for briar_repl 21.2.20
File Size Uploaded Provenance Actions
briar_repl-21.2.20.tar.gz 22.9 kB Without provenance Details for briar_repl-21.2.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for briar_repl 21.2.20
File Interpreter ABI Platform Actions
briar_repl-21.2.20-py3-none-any.whl Python 3 none any Details for briar_repl-21.2.20-py3-none-any.whl

Total release size: 45.7 kB

Release files / briar_repl-21.2.20.tar.gz

Download URL briar_repl-21.2.20.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8747bd94edeefa027f6349c16594853e7036a41eac274df5f205e295bf322350
BLAKE2b-256 checksum
How to use checksums
22f8f00b53f7630a43374ca10a37a593333d4e6d69ed3db3fb821bd70bbb07d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release files / briar_repl-21.2.20-py3-none-any.whl

Download URL briar_repl-21.2.20-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae0e3ec782f54f24351bd5861a6f0255d934f3381face867feccf618db4ae3fa
BLAKE2b-256 checksum
How to use checksums
f50a6f674e6199365c00cd34dc8d2b0f8dd6514d7a9553d12ac3db427ae2f949
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Security for briar_repl 21.2.20

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