Assignable-

Assignable — AI Assignment Breakdown

A cross-browser extension (Manifest V3) for Chrome, Microsoft Edge, and Firefox that captures screenshots, region snips, PDFs, and Word (.docx) assignment prompts and turns them into actionable checklists, time estimates, study timers, and calendar exports.

Looking for store-ready descriptions and permission justifications? See STORE_LISTING.md for Chrome Web Store, Microsoft Edge Add-ons, and Firefox Add-ons (AMO) listings.


Features


Setup Guide

1. How AI Works in Assignable

Assignable is 100% client-side—there is no tracking server or third-party backend storing your coursework. Your assignments, timers, and API keys stay strictly in local browser storage.

Assignable uses two AI modes:

  1. Built-In Browser AI (Free, Zero API Key — Chrome 138+ Default / Edge Flag-Gated)
    • With Prefer Built-in Browser AI automatically when available enabled (default ON), Assignable checks the browser’s LanguageModel (Prompt API) status automatically.
    • When status is Available, Assignable runs locally on your machine with no API key and no cloud quota usage.
    • If status is Downloadable, open Assignable → Settings and click Download On-Device Model once—the browser downloads the model into its own internal user data folder (on Windows Chrome: %LOCALAPPDATA%\Google\Chrome\User Data\OptGuideOnDeviceModel\, ~3–4 GB; uninstalling the extension does not delete this shared browser component).
    • Why it usually shows Unavailable in Microsoft Edge & Firefox:
      • Microsoft Edge: Edge does not share Chrome’s Gemini Nano runtime. Edge uses its own local model (Phi-4-mini / Aion Instruct) which is disabled by default in Edge Stable and typically requires enabling Prompt API in edge://flags (primarily on Edge Canary/Dev/preview builds, 158+) plus checking edge://on-device-internals for Medium/High device performance class. Depending on the Edge build, the local model may also be text-only (screenshots automatically fall back to your cloud provider).
      • Firefox: Firefox does not implement Chrome’s LanguageModel API, so Assignable automatically uses your configured Cloud AI key.
    • Whenever your browser/hardware is Unavailable (e.g., Firefox, default Edge Stable, or an 8 GB laptop) or a large document exceeds local context limits, Assignable falls back cleanly to your Cloud AI key.
  2. Cloud AI API Keys (Works Everywhere: Chrome, Edge & Firefox)
    • Google Gemini — Free tier available (Google account only, no credit card).
    • OpenRouter — Free tier available (:free vision/text models, no credit card, no phone SMS).
    • Mistral AI — Free mode available (no credit card; requires mobile SMS verification).
    • OpenAI — Paid (pay-as-you-go billing required).

2. PC & Browser Requirements

Built-In On-Device AI Mode (Chrome Default / Edge Experimental — Optional)


3. How to Get an API Key (Free vs. Paid)

All keys are saved locally in extension storage and only sent directly to your chosen provider.

OpenRouter (Free Tier — Best No-SMS Backup & Great for Firefox)

Mistral AI (Free Mode — Requires SMS Verification)

OpenAI (Paid — Pay-As-You-Go)


4. How to Use Assignable

Capturing Assignments

  1. Snip Area: Click Snip Area in the toolbar popup or Side Panel/Sidebar and drag a box over your Canvas, Blackboard, or course webpage prompt. Press Esc anytime to cancel.
  2. Capture Tab: Click Full Page Capture / Capture Tab to capture the currently visible viewport.
  3. Multi-Page Capture Stitcher: For multi-screen prompts, toggle Multi-Shot Stitcher ON, scroll and take 2–3+ Snip or Tab shots, review the combined preview, and click Stitch & Analyze.
  4. PDF & Word (.docx) Upload: Click PDF / Word (or Select Pages when viewing a .pdf tab), drop your syllabus or prompt, pick specific pages/sections (e.g., 1-3, 5), and click Analyze. (Convert legacy .doc files to .docx or .pdf first.)
  5. Cancel Processing: Click Cancel anytime while an image or file is running to abort before tasks are added.

Organizing & Finishing Work


Tech Stack


Developer Quick Start

Prerequisites

Install & Build

npm install
npm run build:all

Outputs three ready-to-load folders:

Available Scripts

Command Description
npm run build:chrome Build Chrome MV3 bundle into dist-chrome/
npm run build:edge Build Microsoft Edge MV3 bundle into dist-edge/
npm run build:firefox Build Firefox MV3 bundle into dist-firefox/
npm run build:all Type-check and build Chrome, Edge, and Firefox bundles sequentially
npm run typecheck Run tsc --noEmit
npm run test Run unit tests with Vitest
npm run dev Start Vite dev server for UI iteration

Load Unpacked Locally

  1. Run npm run build:all.
  2. Load the matching folder:
    • Chrome: chrome://extensions → enable Developer mode → Load unpacked → select dist-chrome/.
    • Microsoft Edge: edge://extensions → enable Developer mode → Load unpacked → select dist-edge/.
    • Firefox: about:debugging#/runtime/this-firefox → Load Temporary Add-on… → select dist-firefox/manifest.json.

Packaging for Store Submission

Zip the contents inside each dist-* folder so manifest.json sits at the root of the archive:

# PowerShell (run from project root after npm run build:all)
Compress-Archive -Path dist-chrome\* -DestinationPath assignable-chrome.zip -Force
Compress-Archive -Path dist-edge\* -DestinationPath assignable-edge.zip -Force
Compress-Archive -Path dist-firefox\* -DestinationPath assignable-firefox.zip -Force
# macOS / Linux
(cd dist-chrome && zip -r ../assignable-chrome.zip .)
(cd dist-edge && zip -r ../assignable-edge.zip .)
(cd dist-firefox && zip -r ../assignable-firefox.zip .)

Project Structure

├── build.target.mjs           # Browser target resolver & dynamic MV3 manifest generator
├── scripts/build.mjs          # Multi-target build runner (chrome, edge, firefox, all)
├── public/icons/              # Extension icons (16, 48, 128 px)
├── src/
│   ├── background/index.ts    # Service worker / event page (capture, crop, session state)
│   ├── content/snipper.ts     # Shadow DOM region selection overlay
│   ├── components/            # Shared React UI components (Focus, Micro-steps, Timer, Settings)
│   ├── hooks/useTheme.ts      # Light / Dark / System theme hook
│   ├── popup/                 # Minimal action popup launcher
│   ├── sidepanel/             # Primary Side Panel / Sidebar workspace
│   ├── types/index.ts         # Shared TypeScript interfaces
│   └── utils/                 # browserApi, builtInAi, aiClient, pdfParser, docxParser, storage, exporters & tests
├── PRIVACY.md                 # Extension privacy policy
├── STORE_LISTING.md           # Chrome Web Store, Edge Add-ons & Firefox AMO store copy
├── popup.html
├── sidepanel.html
├── vite.config.ts
└── vite.content.config.ts

License

MIT — see LICENSE.