Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

000KeyserSoze000/pieces-auto24-SCRAP

Domain:

digital infrastructure

Record type:

software
Creator:
000
Host:
Telegram auto-parts search for Tunisia. Two bots share a Supabase Postgres DB and a live CDG wholesaler scraper. Clients identify their car (carte grise photo, VIN, or buttons) and get valid references + live price/stock. Operator ingests refs from PiecesAuto24 screenshots via LLM vision. Python 3.12, python-telegram-bot, Playwright, OpenRouter. # Pieces Auto TN Telegram-native auto-parts search for Tunisia. Two bots share a Supabase Postgres database and a live CDG wholesaler scraper. Clients identify their car (carte grise photo, VIN, or buttons) and get valid references with live price and stock. An operator ingests references from PiecesAuto24 screenshots via LLM vision. ## Stack Python 3.12 · `python-telegram-bot` · Playwright (CDG scraper) · OpenRouter (Gemini Flash for vision, Claude Haiku for text) · Supabase Postgres · `uv` ## Rules - PiecesAuto24 is the single source of truth for vehicle names and references. - CDG is the single source of truth for price and stock (never cached, always live). - The LLM never invents references — they always come from the database. ## Run ```bash uv sync cp .env.example .env # fill in tokens and DB URL uv run python3 -m src serve ``` ## Commands **Client bot** — photo / VIN / model pickers, free text (French, Arabic, Tunisian franco-arabic), direct reference search. **Operator bot** — `/ajouter_ref`, `/vin`, `/ref`, `/dispo`, `/stats`, `/guide`. ## Layout - `src/telegram/` — client and operator bot handlers, UI formatters - `src/db/` — repository, schema, seed - `src/scraper/` — Playwright CDG scraper - `src/interpreter/` — OpenRouter LLM wrapper and text parser - `src/vin/` — VIN decoding - `docs/ui_display_contract.md` — read before adding a new picker UI - `data/database.json` — canonical PiecesAuto24 dataset (re-seeded on startup)

Visit

github.com

Similar

Poster of Baskeet musical instruments and musical pieces poster003SCRAP METALS AS MEDIUM OF EXPRESSION: THE ENVIRONMENTAL AND ECONOMIC IMPLICATIONS IN NIGERIAConnecting Past and Present Pieces: Contemporary African Digital Collage with European Colonial ExperiencePieces of the periphery: A glance into the cartography of Ibibio’s CP domainRECONNECTING THE PIECES: AFRICAN STUDENTS’ CONCEPTUALIZATION OF IDENTITY DEVELOPMENT IN U.S. HIGHER EDUCATIONDrying model for small tumbled beef pieces ( biltong ) at ambient and mild air temperatures

Poster of Baskeet musical instruments and musical pieces poster003

The poster gives a preliminary overview of the Baskeet musical instrumental and the types of songs o

SCRAP METALS AS MEDIUM OF EXPRESSION: THE ENVIRONMENTAL AND ECONOMIC IMPLICATIONS IN NIGERIA

The utilisation of scrap metals as a primary medium of artistic expression has emerged as a signific

Connecting Past and Present Pieces: Contemporary African Digital Collage with European Colonial Experience

Africa's 'digitalization' is now a clear social, economic, and cultural phenomenon. Digital culture

Pieces of the periphery: A glance into the cartography of Ibibio’s CP domain

RECONNECTING THE PIECES: AFRICAN STUDENTS’ CONCEPTUALIZATION OF IDENTITY DEVELOPMENT IN U.S. HIGHER EDUCATION

The adage, “When the drummers change their beats, the dancers must also change their steps,” origina

Drying model for small tumbled beef pieces ( biltong ) at ambient and mild air temperatures

International audience The literature on the modeling of meat drying mainly focuses o