Web Page Fetcher and Saver is a command-line tool that allows you to fetch web pages from the internet and save them to your local disk for later retrieval and browsing. It helps you archive web content and access it offline.
- Fetch web pages from URLs and save them locally.
- Organize saved web pages into directories based on URL or custom categories.
- View saved web pages offline using a local web server.
- Efficiently manage and browse archived web content.
- Clone the repository:
git clone https://github.com/salmanali23/web-page-fetcher.git cd web_page_fetcher
To run the project locally, use the following command:
-
Make sure you have Ruby installed on your system. You can download it from ruby-lang.org (3.0.5 preferred).
-
Run the following commands:
bundle install ruby main.rb fetch https://www.example.com [--meta]
To run the project locally, use the following command:
-
Make sure you have Ruby installed on your system. You can download it from ruby-lang.org (3.0.5 preferred).
-
Run the following commands:
docker build -t web-page-fetcher . docker run --rm -v $(pwd):/app web-page-fetcher [arguments]