batatavadaX / web-ss-project

Project by OpenRestfulAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Screenshot Project

Aim

not needing the use of an api key but to self host an instance and use it as it is on the go

One-Click Heroku Deploy:

click the button below to host the application on the go

Deploy

Initializing and Explanation Step-by-Step

  • open up a virtual environment:
python -m venv venv

On Windows: venv\Scripts\activate.bat
On Linux/MacOS: source venv/bin/activate

  • install requiremnts:
pip install -r requirements.txt
  • Configs are saved in config.ini file. you can change it if you want.

  • run the webserver: python -m webss

  • to view a screenshot of a page visit: host:port/?site=website in this format

Special Credits

  • Tiangolo - for providing us with FastAPI
  • Miyakogi - Providing useful headless chromium based browser for python

About

Project by OpenRestfulAPI

License:Apache License 2.0


Languages

Language:Python 83.0%Language:Dockerfile 17.0%