Skip to content

nibsbin/scraipe-st

Repository files navigation

scraipe-st

This is the Streamlit GUI demo for the Scraipe library.

Quickstart

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:latest

Or install the repository requirements (with poetry) and start Streamlit:

poetry install
streamlit run scraipe_st/app.py

Note that the "Add Reddit Links" button won't work without preconfigured credentials.

Preconfigure 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_SECRET

Then run the demo in Docker:

docker run --env-file secrets.env -p 8051:8051 scraipe-st:latest

Or from the repository:

source secrets.env
streamlit run scraipe_st/app.py

About

Scraipe Streamlit app

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors