Sign inSign up

nibsbin/scraipe-st

By nibsbin

•Updated over 1 year ago

Scraipe Streamlit demo

Image
0

208

nibsbin/scraipe-st repository overview

⁠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

Tag summary

Content type

Image

Digest

sha256:f6cd500f3…

Size

429.2 MB

Last updated

over 1 year ago

docker pull nibsbin/scraipe-st