Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 995 Bytes

File metadata and controls

35 lines (28 loc) · 995 Bytes

CLAUDE.md — web-mirror

Overview

Mirrors any webpage to a local server for offline access. Downloads and preserves web content for local serving via nginx.

Tech Stack

  • Python
  • Docker (image: drumsergio/web-mirror)
  • nginx for serving mirrored content
  • Celery workers for distributed mirroring (docker-compose-worker.yml)
  • pytest for testing

Development

pip install -r requirements.txt
python src/main.py

# Run tests
pip install -r requirements-test.txt
pytest

Architecture

  • src/ — main application code (main.py, main2.py)
  • nginx/ — nginx configuration for serving mirrored sites
  • docker-compose.yaml — main deployment stack
  • docker-compose-worker.yml — distributed worker deployment
  • tests/ — test suite

Key Rules

  • Docker images use semver tags, never :latest
  • License is GPL-3.0
  • Part of a suite of web archiving tools (Wayback-Archive, Wayback-Diff, Way-CMS)

Generated by LynxPrompt CLI