A Flask-based web application for searching files on the Internet Archive's Wayback Machine using the CDX API.
This is a Flask port of my original PHP Wayback CDX search engine called SuperCDX, which ran in production at superscape.org for 3 years until it became abused. This is why we can't have nice things. Now you can run it locally instead.
Feel free to open issues to help each other, but this app is unsupported by me.
Below are example screenshots of the application interface:
- Search domains archived on the Wayback Machine
- Filter results by file types, paths, or keywords
- Support for quoted phrase searches
- Export results to plain text file
- Anti-bot protection via session checking
- Query logging to text file
-
Install Python 3.7 or higher
-
Install dependencies:
pip install -r requirements.txt- Set a secret key (optional, but recommended for production):
export SECRET_KEY='your-random-secret-key-here'python app.pyThe application will be available at http://localhost:5000
For production deployment, use a WSGI server like Gunicorn:
pip install gunicorn
gunicorn -w 4 -b 0.0.0.0:8000 app:app.
├── app.py # Main Flask application
├── requirements.txt # Python dependencies
├── logs/
│ └── queries.txt # Query log file (auto-created)
├── static/
│ ├── css/ # CSS files
│ ├── js/ # JavaScript files
│ └── images/ # Image assets
└── templates/
├── base.html # Base template
├── index.html # Home page
├── interface.html # Search interface
├── results.html # Results page
├── help.html # Help documentation
└── slow_down.html # Anti-bot page
- Navigate to the home page
- Enter a domain URL (e.g.,
example.comorhttp://www.example.org/) - Optionally add search terms:
- Single filetype:
.mp4 - Multiple filetypes:
.exe .jpg .pdf - Specific filename:
coolfile.html - Path:
/games/ - Quoted phrase:
'virtual reality' - Mixed:
/games/ .exe 'virtual reality'
- Single filetype:
- Click search and wait for results
- Export results using the download button
All search queries (URLs) are logged to logs/queries.txt as single-line entries. No other data is logged.
- The application queries the Wayback Machine CDX API which can be slow or unresponsive
- Only returns HTTP 200 status results
- Search is case-insensitive
- Session-based anti-bot protection is enabled by default
This is a Flask port of my original PHP Wayback CDX search engine interface from superscape.org. I have no endorsement from nor affiliation with Archive.org, Wayback Machine or Wayback Machine CDX, etc.

