This is the Streamlit GUI demo for the Scraipe library.
The app works out of the box. With Docker, you can pull the image from Docker Hub and run it as follows:
docker pull nibsbin/scraipe-st:latest
docker run -p 8051:8051 nibsbin/scraipe-st:latestOr install the repository requirements (with poetry) and start Streamlit:
poetry install
streamlit run scraipe_st/app.pyNote that the "Add Reddit Links" button won't work without preconfigured credentials.
Set the following environment variables to pre-configure scraper and analyzer credentials. You can configure these by copying secrets.env.template into secrets.env and filling it out.
TELEGRAM_API_ID
TELEGRAM_API_HASH
OPENAI_API_KEY
GEMINI_API_KEY
REDDIT_CLIENT_ID
REDDIT_CLIENT_SECRETThen run the demo in Docker:
docker run --env-file secrets.env -p 8051:8051 scraipe-st:latestOr from the repository:
source secrets.env
streamlit run scraipe_st/app.py