https://hientrn-syllabus-scanner.streamlit.app/
The Syllabus Scanner project comes from my love of keeping things organized and a wish to make school life a bit easier. Since I use Notion for notes, I often found myself manually putting syllabus info into these apps. The project aims to automate this process, making it simple to turn syllabus PDFs into organized events in Notion.
- Python
- Langchain
- OpenAI
- Streamlit
- Notion API
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Before you begin, make sure you have the following:
-
python and pip installed
# Example installation for Mac with homebrew brew install python3
-
OpenAI API Key
Get your API Key from https://platform.openai.com
-
Notion API
Set up a new integration following notion's instructions here: https://developers.notion.com/docs/create-a-notion-integration
Then obtain the integration secret key and the database id that you will perform the integration
-
Clone the repo
git clone https://github.com/hientrn1201/SyllabusScanner
-
Install dependencies
pip install -r frontend/requirements.txt pip install -r backend/requirements.txt
-
Add streamlit secret file
mkdir frontend/.streamlit && touch frontend/.streamlit/secrets.toml && echo "backend_url = 'http://localhost:8000'" > frontend/.streamlit/secrets.toml
-
Run the program
cd backend/ uvicorn main:app --reload cd frontend/ streamlit run app.py