This is the repository for the paper Reviving Dead Links on the Web with FABLE published in IMC 2023. The paper can be found here.
- Docker
- Docker Compose
- Clone the repository:
git clone repourl
cd repo- Configuration
Before running, create a config.json file in /fable/config.json with the following required values:
{
"mongo_hostname": "your_mongodb_host",
"mongo_user": "your_mongodb_user",
"mongo_pwd": "your_mongodb_password",
"mongo_db": "fable",
"mongo_url": "your_mongodb_connection_url", // Optional: alternative to hostname/user/pwd
"proxies": ["proxy1", "proxy2"], // Optional: list of proxy servers
"tmp_path": "./tmp", // Optional: defaults to ./tmp
"localserver_port": 24680 // Optional: defaults to 24680
}- Build and run using Docker Compose:
docker-compose up --buildOr run in detached mode:
docker-compose up -d --buildStart the service:
docker-compose upStop the service:
docker-compose downView logs while running in detached mode:
docker-compose logs -fThe service is configured to use:
- Memory: 8GB
- CPUs: 2 cores
These settings can be modified in the docker-compose.yml file.
Logs are automatically saved to the /logs directory in your project root. The logging system creates timestamped files in the format:
logs/fable_api_YYYYMMDD_HHMMSS.txt
Documentation can be found at https://fablee.vercel.app