GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - SoftwaresHug/BLS-Algeria-Selfi-Bypassing-Slot: πŸš€ Power users' toolkit: Tasker, AutoHotkey, UiPath & more for fast, automated appointment booking on Android & Windows. πŸ“±πŸ’»βš‘

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
architecture
architecture
 
 
config
config
 
 
debugging
debugging
 
 
docs
docs
 
 
logs
logs
 
 
planning
planning
 
 
reports
reports
 
 
src
src
 
 
testing
testing
 
 
workflows
workflows
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
PROJECT_STATUS.md
PROJECT_STATUS.md
 
 
README.md
README.md
 
 
TASKS.md
TASKS.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation


Typing SVG






🧭 What is BLS Algeria AutoBot?

BLS Algeria AutoBot is a precision-engineered appointment automation system designed to monitor the official BLS Spain Algeria visa appointment portal around the clock β€” detecting newly released slots the moment they appear and securing bookings automatically.

It handles the full lifecycle from authentication, center & visa category selection, real-time slot polling, compliant selfie identity verification (via live webcam), through to final booking confirmation β€” all with human-in-the-loop approval gates at every critical step.

πŸ“‘ The instant an appointment slot opens, you receive a real-time alert on Telegram and WhatsApp β€” no more manual refreshing, no more missed windows.



⚑ Core Features

Feature Description
🟒 Auto Booking Engine Monitors BLS Algeria portal 24/7 and locks open slots within seconds of release.
πŸ™οΈ Multi-Center Support Full support for all VAC locations β€” Algiers, Oran, Constantine, and more.
πŸ—‚οΈ All Visa Categories Tourist, Business, Family Reunification, Study, and all other BLS Algeria visa types.
πŸ” Session Persistence Encrypted browser session caching β€” avoids redundant logins and re-authentication.
🀳 Compliant Selfie Flow Real webcam integration with live human approval gate before every capture submission.
πŸ” Resilient Slot Polling Jittered interval polling with exponential backoff β€” zero portal flooding or IP bans.
πŸ”” Real-Time Notifications Instant Telegram & WhatsApp alerts on slot detection, booking confirmation, or errors.
🧱 State Machine Core Deterministic booking lifecycle with illegal transition prevention and error recovery.
πŸ“Έ Audit Trail & Receipts Auto-screenshots of every confirmation page with structured log entries in reports/.
βš™οΈ Zero-Hardcode Config All credentials, centers, and preferences live in a local .env β€” never in code.


πŸ—ΊοΈ How It Works

flowchart LR
    A([πŸš€ Launch Bot]) --> B[Load Config & Session]
    B --> C{Session Valid?}
    C -->|Yes| E
    C -->|No| D[Login + OTP Entry]
    D --> E[Select Center & Category]
    E --> F[πŸ”„ Slot Polling Loop]
    F -->|No slot| F
    F -->|Slot found!| G[Lock Slot]
    G --> H[🀳 Selfie Verification]
    H --> I{User Approves?}
    I -->|No / Retake| H
    I -->|Yes| J[Submit to Portal]
    J --> K{Confirmed?}
    K -->|Yes| L([βœ… Booking Complete])
    K -->|Error| M[Retry / Backoff]
    M --> F
    L --> N((πŸ“¨ Telegram Alert))
    L --> O((πŸ“± WhatsApp Alert))
    L --> P[(πŸ“„ Receipt Saved)]
Loading

stateDiagram-v2
    [*] --> UNAUTHENTICATED
    UNAUTHENTICATED --> AUTHENTICATED : Login + OTP verified
    AUTHENTICATED --> CENTER_SELECTED : Center & category set
    CENTER_SELECTED --> MONITORING_SLOTS : Polling started
    MONITORING_SLOTS --> SLOT_LOCKED : Open slot detected
    SLOT_LOCKED --> AWAITING_VERIFICATION : Selfie stage entered
    AWAITING_VERIFICATION --> PENDING_CONFIRMATION : Selfie approved & submitted
    AWAITING_VERIFICATION --> SLOT_LOCKED : Retake requested
    PENDING_CONFIRMATION --> COMPLETED : User confirms & booking sent
    COMPLETED --> [*]
    MONITORING_SLOTS --> ABORTED : User cancels
    PENDING_CONFIRMATION --> ABORTED : User cancels at review
Loading


πŸ—οΈ Project Architecture

BLS-Algeria-AutoBot/
β”‚
β”œβ”€β”€ πŸ“„ AGENTS.md                    ← Agent rules, compliance & debugging protocol
β”œβ”€β”€ πŸ“„ README.md                    ← This file
β”œβ”€β”€ πŸ“„ PROJECT_STATUS.md            ← Live development status & health metrics
β”œβ”€β”€ πŸ“„ CHANGELOG.md                 ← Full version history
β”œβ”€β”€ πŸ“„ TASKS.md                     ← Phased roadmap & task tracking
β”œβ”€β”€ πŸ“„ requirements.txt             ← Python dependency manifest
β”‚
β”œβ”€β”€ πŸ“ src/                         ← Core automation engine
β”‚   β”œβ”€β”€ main.py                     ← Entry point β€” wires all services
β”‚   β”œβ”€β”€ config/
β”‚   β”‚   └── settings.py             ← Pydantic-validated .env loader
β”‚   β”œβ”€β”€ core/
β”‚   β”‚   β”œβ”€β”€ browser.py              ← Playwright context factory + session + camera
β”‚   β”‚   └── state_machine.py        ← BookingState enum + transition guard
β”‚   └── services/
β”‚       β”œβ”€β”€ auth_service.py         ← Login, session check, OTP (user-entered only)
β”‚       β”œβ”€β”€ booking_service.py      ← Slot polling (jitter) + race-condition guard
β”‚       β”œβ”€β”€ verification_service.py ← Real webcam capture, human approval gate
β”‚       └── audit_service.py        ← Confirmation extraction + receipt screenshot
β”‚
β”œβ”€β”€ πŸ“ workflows/                   ← Step-by-step portal interaction maps
β”œβ”€β”€ πŸ“ architecture/                ← System diagrams and blueprints
β”œβ”€β”€ πŸ“ config/                      ← Environment templates
β”œβ”€β”€ πŸ“ planning/                    ← Issue registry and roadmaps
β”œβ”€β”€ πŸ“ testing/                     ← Test suites
β”œβ”€β”€ πŸ“ logs/                        ← Runtime logs (git-ignored)
└── πŸ“ reports/                     ← Booking receipts & screenshots (git-ignored)


πŸ–₯️ Tech Stack



πŸš€ Getting Started

1. Prerequisites

  • Python 3.10 or later
  • Windows 10 / 11
  • A working webcam (required for selfie verification step)
  • A BLS Algeria applicant account

2. Installation

# Clone or download the project
cd "BLS-Algeria-AutoBot"

# Create and activate virtual environment
python -m venv .venv
.venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Install Playwright browser engine
playwright install chromium

3. Configuration

# Copy the environment template
copy config\.env.example .env

Open .env and fill in your details:

BLS_EMAIL=[email protected]
BLS_PASSWORD=your_password

CENTER=Oran           # Algiers | Oran | Constantine
CATEGORY=Normal
VISA_TYPE=Tourist

POLL_INTERVAL_MIN=25
POLL_INTERVAL_MAX=55

4. Run

python -m src.main

The bot will open a visible browser window, authenticate, and begin monitoring. You will be prompted in the terminal at every critical decision point (OTP, selfie review, final booking confirmation).



πŸ”” Notification Setup

πŸ“¨ Telegram Alerts β€” Setup Guide
  1. Open Telegram β†’ message @BotFather β†’ /newbot β†’ copy the Bot Token.
  2. Message your bot once to initialize the chat.
  3. Get your Chat ID via @userinfobot.
  4. Add to your .env:
    TELEGRAM_BOT_TOKEN=your_token_here
    TELEGRAM_CHAT_ID=your_chat_id_here
πŸ“± WhatsApp Alerts β€” Setup Guide

WhatsApp alerts are delivered via a notification gateway integration.
Contact via the links below to receive your API credentials and setup instructions.



πŸ›‘οΈ Safety & Compliance

Important

This bot is built on a strict human-in-the-loop design. It does not bypass, spoof, or manipulate any biometric challenge, identity verification, CAPTCHA, or security gate.

Principle Implementation
No Biometric Spoofing Real webcam via browser getUserMedia β€” no virtual cameras or injected media
User OTP Entry OTP is always entered by the human via terminal prompt β€” never intercepted
User Approval Gate Selfie capture requires explicit user confirmation before submission
Final Submit Gate Booking is never submitted without user typing CONFIRM in the terminal
No Credential Storage Credentials live only in a local untracked .env file β€” never in source code
Rate Limiting Jittered polling intervals (25–55s) β€” no portal flooding


⚠️ Disclaimer

This tool automates interactions with the official BLS Spain Algeria visa appointment portal to assist legitimate visa applicants. You are solely responsible for using it in compliance with BLS Spain's Terms of Service and applicable Algerian and Spanish regulations. The developer assumes no liability for accounts suspended, appointments lost, or any consequences arising from misuse.



πŸ“¬ Contact & Support

Have questions, need a custom setup, or want to report an issue?


  



Response time: typically within a few hours Β· Arabic & English supported



Built with βš™οΈ automation, β˜• patience, and a lot of retries.


About

πŸš€ Power users' toolkit: Tasker, AutoHotkey, UiPath & more for fast, automated appointment booking on Android & Windows. πŸ“±πŸ’»βš‘

slotmi.github.io/SlotMi/

Topics

softwaresoftware-architecturesoftware-development

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.