Logo

Typing animation
A simple & easy way to download websites locally so you don't have to stay online all the time.

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments
## About The Project Logo Want to download a website for later or want to cut yourself off from the Internet for a while, just download the important websites. Whether it's some website for reading docs or a website for personal usage, Webber got you covered. It stores files locally and is strictly restricted for usage on websites which permit downloading and don't restrict this behavior. Websites like `www.youtube.com` don't allow this and it's advised to follow the same. This project is only for educational purposes. It neither spreads any form of misinformation nor promotes non-abidement of policies. ### Built With [![Python](https://img.shields.io/badge/-Python-3776AB?style=flat&logo=python&logoColor=white)](https://www.python.org/) [![Pygame](https://img.shields.io/badge/-Pygame-333?style=flat&logo=pygame&logoColor=white)](https://www.pygame.org/) [![PyWebview](https://img.shields.io/badge/-PyWebview-0e2233?style=flat&logo=python&logoColor=white)](https://pywebview.flowrl.com/) [![BeautifulSoup](https://img.shields.io/badge/-BeautifulSoup-3b1f2b?style=flat&logo=python&logoColor=white)](https://www.crummy.com/software/BeautifulSoup/) [![Pillow](https://img.shields.io/badge/-Pillow-3c2c41?style=flat&logo=python&logoColor=white)](https://python-pillow.org/) [![cssbeautifier](https://img.shields.io/badge/-cssbeautifier-264de4?style=flat&logo=css3&logoColor=white)](https://pypi.org/project/cssbeautifier/) [![jsbeautifier](https://img.shields.io/badge/-jsbeautifier-F7DF1E?style=flat&logo=javascript&logoColor=black)](https://pypi.org/project/jsbeautifier/) ## Getting Started You can get the precompiled exe's for your platform from the Releases Section or set up the project locally using the instructions below. ### Prerequisites Setting up an environment is a must ! * Windows ```bash python -m venv .env .env\Scripts\activate ``` * Linux \ MacOS ```bash python3 -m venv .env source .env/bin/activate ``` ### Installation Requirements for the project can be set-up using the following `pip` command on all platforms. ```bash pip install -r requirements.txt ``` ## Usage Running the project can be done in 2 ways ! * **Using GUI** > Run `python src/main.py` or `python3 src/main.py` from the WEBBER directory which will open the pygame window for you. * Command Line > Run `python src/website.py` with the following non-optional args:- - URL - Download Resources (True/False) - Download Cors Resources for same origin links (True/False) - Cross Origin links to be scraped ? (True/False) - Download Resources for CORS links (True/False) - Download CORS Resources for CORS links (True/False) (Never set to True) - Max CORS links to be scraped (integer) - Same Origin Deviation (integer) (should be min 2) - Location (string) ('.' is perfect) - Maintain Logs ? (True/False) - Show Failed Files ? (True/False) - Refetch (True/False) - Hash Value (Any random integer) - Max Threads (It can be as low as 3 or as high as 500 ! Depends on ur system !) - Resources to Ignore (Empty dict is perfect) - Webpages to Ignore (Empty dict is perfect) > Basic Command ```bash python src/website.py some_url True True False False False 0 2 . True True True 12344 50 {} {} ``` ## Contributing Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again! ## License Distributed under the Creative Commons CC0 1.0 License. See `LICENSE` for more information. ## Contact Yogya Chugh yogya.developer@gmail.com / yogyachugh.coder@gmail.com [LinkedIn@me](https://www.linkedin.com/in/yogya-chugh-464a45304/) [Slack@me]('https://hackclub.slack.com/team/U09218J0E94') ## Acknowledgments Credits to all the resources used can be found here