Skip to main content

A decentralized P2P messaging app

Project description

P2P Messenger

Una aplicación de mensajería P2P descentralizada que funciona directamente entre dispositivos sin necesidad de servidores centrales.

Características

  • Mensajería directa entre dispositivos
  • Transferencia de archivos
  • Sistema de amigos
  • Encriptación de mensajes
  • Interfaz de línea de comandos simple
  • No requiere servidores centrales

Requisitos

  • Python 3.6 o superior
  • pip (gestor de paquetes de Python)

Instalación

Método 1: Instalación directa desde GitHub

pip install git+https://github.com/tu-usuario/p2p_messenger.git

Método 2: Instalación manual

  1. Clona el repositorio:
git clone https://github.com/tu-usuario/p2p_messenger.git
cd p2p_messenger
  1. Instala las dependencias:
pip install -r requirements.txt

Método 3: Instalación desde PyPI (cuando esté disponible)

pip install p2p_messenger

Uso

  1. Inicia la aplicación:
python node.py
  1. Ingresa tu número de teléfono y nombre cuando se te solicite.

  2. Comandos disponibles:

  • send <teléfono> <mensaje> - Enviar mensaje
  • sendfile <teléfono> <ruta_archivo> - Enviar archivo
  • add <teléfono> <nombre> - Añadir contacto
  • contacts - Ver lista de contactos
  • friend <teléfono> - Enviar solicitud de amistad
  • accept <teléfono> - Aceptar solicitud de amistad
  • reject <teléfono> - Rechazar solicitud de amistad
  • friends - Ver lista de amigos en línea
  • exit - Salir

Notas importantes

  • Asegúrate de que el puerto que uses no esté bloqueado por tu firewall
  • Los mensajes se envían directamente entre dispositivos, sin pasar por servidores
  • La aplicación usa tu número de teléfono como identificador único

Licencia

MIT License

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

p2p_messenger-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

p2p_messenger-1.0.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file p2p_messenger-1.0.0.tar.gz.

File metadata

  • Download URL: p2p_messenger-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for p2p_messenger-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e9892992c45af2d9721140db02209aa8c117023eb0afe9d8db9526d304fa7e20
MD5 b0ba0487a34194b7d899561f0f1ce1ff
BLAKE2b-256 0fef404b6d30bb37efe5dca11b7e52f015bbf68805bffd188787eafee3244657

See more details on using hashes here.

File details

Details for the file p2p_messenger-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: p2p_messenger-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for p2p_messenger-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc065be07ae83754e911b1c808f799a25f6110905fe9b542903cd6a4447488d6
MD5 24a73ea905c1c7f0f399787470bf21cb
BLAKE2b-256 a06ab692a9e7011e26700f86030f9e2dbf4153d6a28d5548c6d60a94ec6cf48a

See more details on using hashes here.

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