A lightweight Streamlit demo to triage potential phishing emails.
Quick start (local)
- Create a virtual environment and activate it:
python3 -m venv .venv
source .venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Run the app:
streamlit run code_v2.pyDeploy to Streamlit Community Cloud
- Create a GitHub repository and push this project (instructions below).
- Sign into https://share.streamlit.io and select your GitHub repo.
- If you use the Hugging Face Inference API, do NOT commit tokens. Instead set secrets in Streamlit Cloud:
- Go to your app page > "Settings" > "Secrets" and add
HF_TOKEN. - In the app, use
st.secrets["HF_TOKEN"]or set the token in the sidebar at first run.
- Go to your app page > "Settings" > "Secrets" and add
Commands to push to GitHub (example):
git init
git add .
git commit -m "Initial PhishCheck demo"
# create a repo on GitHub and then:
git remote add origin https://github.com/<your_username>/<repo>.git
git branch -M main
git push -u origin mainNotes
- This is a demo tool; do not rely on it for automated blocking.
- If you enable the Hugging Face option, you are sending email content to their servers — redact or avoid sending sensitive content.