Run the icon generation script:
cd chrome-extension/scripts
./create-icons.shOr install ImageMagick first:
sudo apt-get install imagemagickIf ImageMagick isn't available, create icons manually at https://icon.kitchen using:
- Background: Blue gradient (#3b82f6 → #8b5cf6)
- Emoji: ✨
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked"
- Select the
chrome-extension/directory
cd /home/trill/Development/scholarships-plus
npm run dev- Navigate to a SmarterSelect application page
- Check browser console for "Scholarships Plus: Detected portal"
- You should see sparkle icons next to form fields
- Click sparkle icons to fill fields
- Click the extension icon to open the popup
- Open sidebar to chat with the assistant
The extension uses JWT tokens for API authentication:
- Log in to the web app at
http://localhost:3000 - The extension will automatically read your session cookie
- API calls include the session cookie for authentication
The extension uses http://localhost:3000 as the API base URL. To change this:
- Update
CONFIG.apiBaseUrlin:content.jsbackground.jssidepanel.js
chrome.cookies- Read session cookieschrome.tabs- Track tab contextchrome.sidePanel- Show sidebarchrome.runtime- Messaging between components
- Check that all icon files exist:
icons/icon16.png,icons/icon48.png,icons/icon128.png - Check Chrome extensions page for errors
- Ensure dev server is running:
npm run dev - Check console for CORS errors
- Verify
CONFIG.apiBaseUrlis correct
- Check you're on a known portal (smarterselect.com, webportalapp.com)
- Check browser console for errors
- Verify scholarship exists in database
chrome-extension/
├── manifest.json # Extension config
├── background.js # Service worker
├── content.js # Content script (sparkle icons)
├── content.css # Sparkle icon styles
├── popup.html/js # Extension popup
├── sidepanel.html/css/js # Chat sidebar
├── icons/ # Extension icons (16, 48, 128)
├── scripts/ # Utility scripts
│ └── create-icons.sh # Icon generation
├── README.md # This file
└── ICON_SETUP.md # Detailed icon instructions