Skip to content

z0r3f/wallbot

Repository files navigation

Docker Image Size (latest by date) Docker pulls Docker Image Version (latest by date)

Docker Release Build Status

commit_freq last_commit Python Version

GitHub

wallbot

wallapop search bot

bot de Telegram para gestionar busquedas sobre wallapop

  • Notifica cuando encuentra alguna busqueda
  • Avisa cuando algún ítem baja de precio
  • Permite gestionar tu lista de ítems

pip3 install -r requirements.txt

Docker

Generate image docker

docker build --tag z0r3f/wallbot-docker:latest .

Tag version

Windows
$version = Get-Content "VERSION"
Unix
version=`cat VERSION`
Tag
docker tag z0r3f/wallbot-docker:latest z0r3f/wallbot-docker:$version
Push
docker push z0r3f/wallbot-docker:latest 
docker push z0r3f/wallbot-docker:$version

See images

docker images

Run on container

docker run --name wallbot --env BOT_TOKEN=<YOUR-TOKEN> z0r3f/wallbot-docker:latest

Export image

docker save -o wallbot-docker.tar z0r3f/wallbot-docker:latest

Target Project Structure

wallapop_bot/
├── __init__.py
├── main.py                    # Punto de entrada principal
├── config/
│   ├── __init__.py
│   ├── settings.py           # Configuración general
│   └── constants.py          # Constantes (emojis, URLs)
├── database/
│   ├── __init__.py
│   ├── db_helper.py          # Tu DBHelper actual
│   ├── models.py             # Clases ChatSearch, Item
│   └── migrations.py         # Migraciones de BD
├── telegram/
│   ├── __init__.py
│   ├── bot.py                # Configuración del bot
│   ├── handlers.py           # Manejadores de comandos
│   └── notifications.py      # Función notel y similares
├── wallapop/
│   ├── __init__.py
│   ├── api_client.py         # Cliente API Wallapop
│   ├── search.py             # Lógica de búsqueda
│   └── item_processor.py     # Procesamiento de items
├── utils/
│   ├── __init__.py
│   ├── logger.py             # Configuración de logging
│   ├── currency.py           # Utilidades de moneda
│   └── exceptions.py         # Excepciones personalizadas
└── requirements.txt

About

wallapop search bot

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •