The Replay Rules Engine is a piece of software which allows for a set of rules to be created which affect playback of URLs in the Wayback Machine. These effects can be to block a playback, allow a playback, or modify the playback contents before playing back the request.
The project can be run with make run, which uses uv to manage dependencies and run the Django server.
The rules engine is built for Python 3.
The project uses uv for dependency management.
Development commands:
make testruns all tests via pytestmake checkruns ruff linting and format checkingmake formatapplies ruff fixes and formatting
All commands use uv run to execute within the managed environment.
Rules engine for interacting with Wayback Machine playbacks Copyright © 2021 Internet Archive
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.