https://github.com/tejaboy/smartxsite
Integrating Generative AI with SIT's Content Portal
https://github.com/tejaboy/smartxsite
chrome-extension generative-ai study-tool
Last synced: 6 days ago
JSON representation
Integrating Generative AI with SIT's Content Portal
- Host: GitHub
- URL: https://github.com/tejaboy/smartxsite
- Owner: tejaboy
- License: gpl-3.0
- Created: 2025-06-16T11:45:35.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-06-22T02:57:14.000Z (10 months ago)
- Last Synced: 2025-07-01T01:04:06.840Z (10 months ago)
- Topics: chrome-extension, generative-ai, study-tool
- Language: JavaScript
- Homepage: https://chromewebstore.google.com/detail/smartxsite/bncgadpdfckkjmlmppinnjimdgiecipc
- Size: 1.62 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SmartXSite β Your AI-Powered Study Buddy! π§ π
**Making university life easier with AI!**
SmartXSite is a Chrome extension designed to empower SIT Content Portal with Generative AI.
## π What It Does
SmartXSite leverages AI to help you digest lecture content efficiently and securelyβright from your browser.
- π **AI-Powered Summaries**
Summarizes PDF lecture notes directly in your browser. Say goodbye to information overload!
- π **Auto-Generated MCQs**
Automatically generates multiple-choice questions from your PDF content to test your understanding.
- π **Flexible AI Options**
Choose between:
* On-Device AI (via [WebLLM](https://github.com/mlc-ai/web-llm)) for fast, private, offline processing.
* Gemini API for cloud-based intelligence and improved model quality (note: if you're on the Gemini Free plan, your data may be used to improve Google's modelsβsee [Gemini Terms](https://ai.google.dev/gemini-api/terms)).
- π **Privacy-First by Design**
Prefer full privacy? Use the on-device optionβyour files never leave your computer. The choice is yours.
## π¦ Files and Structure
```bash
SmartXSite/
βββ libs/ # Contains third-party libraries like marked.min.js and webllm.js
βββ LICENSE # SmartXSite project license
βββ background.js # Background script for managing extension events - namely popup `summary.html`
βββ content.js # Content script for injecting functionality (buttons etc) into pages on xSite
βββ index.html # Default extension popup with user configrations
βββ index.js # JS logic for index.html
βββ manifest.json # Chrome extension manifest (MV3)
βββ quiz.css # Stylesheet for quiz popup
βββ quiz.html # Quiz popup HTML structure
βββ quiz.js # Quiz popup JavaScript
βββ README.md # This file duh!
βββ summary.css # Styling for summary.html
βββ summary.html # Interface for displaying summary
βββ summary.js # Logic to interact with WebLLM and render outputs
```
## π§βπ» Developer Setup
1. Clone this repository:
```bash
git clone https://github.com/yourusername/smartxsite.git
```
2. Load the extension in Chrome:
* Go to chrome://extensions/
* Enable "Developer Mode"
* Click "Load Unpacked"
* Select the cloned SmartXSite/ folder
3. Open a PDF and click the extension to see it in action.
## π Chrome Web Store
π₯ Install the latest version from the [Chrome Web Store](https://chromewebstore.google.com/detail/smartxsite/bncgadpdfckkjmlmppinnjimdgiecipc).
## π Licenses
This project uses third-party libraries, each with its own license:
`libs/marked/marked.min.js` β MIT License [[Repo](https://github.com/mlc-ai/web-llm)]
`libs/webllm/webllm.js` β Apache License 2.0 [[Repo](https://github.com/markedjs/marked)]
Please refer to their respective repositories for more details.