https://github.com/coolcodersj/practinote
Use AI to generate practice quizzes directly from your notes.
https://github.com/coolcodersj/practinote
Last synced: over 1 year ago
JSON representation
Use AI to generate practice quizzes directly from your notes.
- Host: GitHub
- URL: https://github.com/coolcodersj/practinote
- Owner: CoolCoderSJ
- License: gpl-3.0
- Created: 2023-09-26T02:00:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-16T02:01:07.000Z (over 2 years ago)
- Last Synced: 2025-01-16T00:57:41.677Z (over 1 year ago)
- Language: Python
- Homepage: https://practinote.shuchir.dev
- Size: 40 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Practinote
Use AI to generate practice quizzes directly from your notes.
## Tech Stack/Information
The languages used in this project are Python, HTML, CSS, and JavaScript. The libraries used in this project are Flask, PyPDF2, and NLTK. The web app is hosted on Oracle Cloud Infrastructure.
## Set Up Locally
1. Clone the repository
```bash
git clone https://github.com/CoolCoderSJ/Practinote.git
```
2. Install the required libraries
```bash
pip install -r requirements.txt
```
3. Setup a Google Service Account
- Go to the [Google Cloud Console](https://console.cloud.google.com/)
- Create a new project
- Go to the [Google Cloud Console API Library](https://console.cloud.google.com/apis/library)
- Enable the Google Drive API and Google Sheets API
- Go to the [Google Cloud Console Credentials Page](https://console.cloud.google.com/apis/credentials)
- Create a new service account
- Download the JSON file and rename it to `service-secrets.json`
4. Setup the environment variables
- Create a file and name it `.env`
- Visit [Cohere](https://cohere.ai/) and create an account
- Navigate to https://dashboard.cohere.com/api-keys
- Copy the Trial API key
- Paste the API key into the `.env` file
Here's an example of what the `.env` file should look like-
```bash
COHERE=your_api_key_goes_here
```
5. Run the app
```bash
python main.py
```