Skip to content

Copy of README.md from aetherion-copilot

Generated from aetherion-copilot/README.md at commit eabdf851. Edit the source file, not this copy.

Aetherion Copilot Chrome Extension

Explore in graph

Overview

Aetherion Copilot, by Global Aetherion, is a Chrome extension for tracking job applications. Sign in, browse assigned jobs in a side panel, mark applications as applied or expired (with a screenshot), scrape job details from the open tab, and ask AI for help with application questions.

This repository is the extension client only. It talks to a separate backend API.

Features

  • Sign in with email/password (JWT access + refresh tokens)
  • Weekly payment summary in the popup (/payments/my-summary)
  • Side panel job list with pagination and status counts
  • Open job pages and keep job↔tab associations
  • Mark jobs applied or expired (captures a screenshot for reference)
  • Scrape job details from the open tab and update them on the server
  • AI Q&A for cover letters, resume notes, and application answers

Stack

  • React 18 + TypeScript
  • Webpack 5 (Manifest V3)
  • Chrome extension APIs (side panel, storage, tabs, alarms, scripting)

Setup

npm install

Copy .env.example and set your backend URL if needed:

cp .env.example .env
# edit BACKEND_URL

BACKEND_URL is loaded from .env when you run start / build and is baked into the extension bundle. Default: http://localhost:8000.

After changing .env, restart the dev server (or rebuild) and reload the extension in Chrome. A shell override still wins over .env:

BACKEND_URL=https://api.example.com npm run dev

Development

npm run dev
# or
npm start

On start, the console prints Backend URL: ... so you can confirm which API is baked in.

Build

npm run build

Output goes to build/. A zip is also written under zip/.

Load Extension

  1. Open chrome://extensions/
  2. Enable "Developer mode"
  3. Click "Load unpacked"
  4. Select the build folder

Project Structure

src/
├── assets/          # Images and static files
├── pages/
│   ├── Background/  # Service worker (auth + API)
│   ├── Content/     # On-demand page scraper
│   ├── Panel/       # Side panel UI
│   └── Popup/       # Login + stats
├── types/           # Shared message/API types
└── manifest.json    # Extension manifest
utils/               # Build and dev-server scripts

Permissions

  • storage — auth tokens and job↔tab maps
  • sidePanel — job list UI
  • tabs / activeTab — open jobs and capture screenshots
  • scripting — inject the content script only when scraping a page
  • alarms — periodic cleanup of stale job↔tab maps
  • host_permissions: <all_urls> — call the backend and interact with arbitrary job posting URLs

The content script is not injected on every page. It is injected only when you scrape job details from a tab.

License

MIT