ef5102aad9a508f33f364e8787bbdb18d8bfc23a
CI / test (push) Successful in 8s
CI / build-and-push (push) Has been skipped
CI / lint (push) Failing after 3s
CI / deploy-uat (push) Has been skipped
CI / grype (push) Has been skipped
CI / deploy-dev (push) Failing after 32s
CI / test (pull_request) Failing after 1m34s
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / lint (pull_request) Failing after 1m27s
CI / grype (pull_request) Has been skipped
CI / build-and-push (pull_request) Has been skipped
chore: move workflows from .github to .gitea (CAR-900)
ReceiptWitness
Purchase data ingestion service for CartSnitch. Authenticates with grocery retailer web portals (Meijer, Kroger, Target) via Playwright, scrapes purchase history, and writes structured records to the shared PostgreSQL database.
Quick Start
# Install dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
# Local dev with Docker Compose
docker-compose up
Architecture
- Scrapers: Playwright-based browser automation for each retailer
- Parsers: Converts raw receipt data to structured
Purchase/PurchaseItemrecords - Database: SQLAlchemy 2.0 async; models inlined under
src/receiptwitness/shared/ - Events: Publishes
cartsnitch.receipts.ingestedto Redis after ingestion
Branches
dev— development, auto-deploys to dev clusteruat— user acceptance testingmain— production, auto-deploys to prod cluster
Description
Languages
Python
99.3%
Dockerfile
0.5%
Mako
0.2%