{"id":51068160,"url":"https://github.com/mohammad-mghn/agent-assist","last_synced_at":"2026-06-23T08:30:32.996Z","repository":{"id":362771257,"uuid":"1260577315","full_name":"mohammad-mghn/agent-assist","owner":"mohammad-mghn","description":"Type / for permanent snippets or # for quick temp replies in any textarea or rich-text field across the web.","archived":false,"fork":false,"pushed_at":"2026-06-05T19:59:09.000Z","size":3540,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-05T21:22:59.559Z","etag":null,"topics":["assistant","chrome-extension","firefox-extension","react","tool","xwt"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohammad-mghn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-05T16:34:58.000Z","updated_at":"2026-06-05T19:59:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mohammad-mghn/agent-assist","commit_stats":null,"previous_names":["mohammad-mghn/agent-assist"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mohammad-mghn/agent-assist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammad-mghn%2Fagent-assist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammad-mghn%2Fagent-assist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammad-mghn%2Fagent-assist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammad-mghn%2Fagent-assist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammad-mghn","download_url":"https://codeload.github.com/mohammad-mghn/agent-assist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammad-mghn%2Fagent-assist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34682622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assistant","chrome-extension","firefox-extension","react","tool","xwt"],"created_at":"2026-06-23T08:30:32.341Z","updated_at":"2026-06-23T08:30:32.976Z","avatar_url":"https://github.com/mohammad-mghn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./public/favicon/android-chrome-192x192.png\" alt=\"Agent Assist logo\" width=\"96\" height=\"96\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eAgent Assist\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eText shortcuts for support agents — anywhere you type.\u003c/strong\u003e\u003cbr /\u003e\n  Type \u003ccode\u003e/\u003c/code\u003e for permanent snippets or \u003ccode\u003e#\u003c/code\u003e for quick temp replies in any textarea or rich-text field across the web.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"License: MIT\" /\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Chrome-MV3-4285F4?logo=googlechrome\u0026logoColor=white\" alt=\"Chrome\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Firefox-MV2-FF7139?logo=firefoxbrowser\u0026logoColor=white\" alt=\"Firefox\" /\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n  \u003cimg src=\"./screenshots/en-light.png\" alt=\"Agent Assist dashboard — English, light theme\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n  \u003cimg src=\"./screenshots/en-dark.png\" alt=\"Agent Assist dashboard — English, dark theme\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n  \u003cimg src=\"./screenshots/fa-light.png\" alt=\"Agent Assist dashboard — Persian, light theme\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n  \u003cimg src=\"./screenshots/fa-dark.png\" alt=\"Agent Assist dashboard — Persian, dark theme\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n  \u003cimg src=\"./screenshots/dropdown-light.png\" alt=\"Agent Assist inline snippet menu — light theme\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n  \u003cimg src=\"./screenshots/dropdown-dark.png\" alt=\"Agent Assist inline snippet menu — dark theme\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n---\n\n## What it does\n\nCustomer support, sales, and operations teams repeat the same messages all day — greetings, apologies, refund policies, escalation scripts. Copy-pasting from docs is slow. Switching tabs breaks flow.\n\n**Agent Assist** brings your snippet library into every text field on the web. Create categorized shortcuts once, then expand them inline with a simple trigger. No context switching, no clipboard gymnastics.\n\n---\n\n## Features\n\n### Expand snippets anywhere\n\nWorks in `\u003ctextarea\u003e` and `contenteditable` fields on any website — helpdesk tools, CRMs, chat widgets, email composers, and more.\n\n### Two trigger types for two workflows\n\n| Trigger | Kind | Best for |\n|---------|------|----------|\n| `/name` | **Permanent** | Team-approved replies in categories — greetings, policies, closings |\n| `#name` | **Temporary** | One-off or session snippets that stay out of your main library |\n\n### Smart inline menu\n\nStart typing after `/` or `#` and a fuzzy-search dropdown appears with matching snippets. Navigate with arrow keys, confirm with Enter or Tab. Turn the menu off and keep keyboard-only replacement when you prefer.\n\n### Organized snippet library\n\nGroup permanent shortcuts into color-coded categories. Browse and edit from accordion sidebars, clear categories in bulk, and switch between permanent and temp libraries without clutter.\n\n### Backup and share\n\nExport permanent and temp data as separate JSON files. Import libraries from teammates, restore backups, or ship starter packs to new agents. Sample files live in [`examples/`](examples/).\n\n### Built-in test panel\n\nTry `/` and `#` triggers directly in the dashboard textarea before using them on live tickets.\n\n### Control when it runs\n\nToggle all triggers globally from the sidebar — the toolbar icon turns green when active and shows an **OFF** badge when disabled. Dropdown suggestions can be toggled independently from snippet replacement.\n\n### Themes and languages\n\nLight and dark UI themes. Full interface localization in English (US/GB), Persian, Arabic, Turkish, and Kurdish — including RTL layout where needed.\n\n### Cross-browser support\n\nChrome, Edge, Brave, and Opera (MV3), plus Firefox (MV2).\n\n---\n\n## Usage\n\n1. Click the extension icon to open the **dashboard**.\n2. Toggle **Trigger** in the left sidebar to enable or disable in-page shortcuts.\n3. Create **categories**, then add **permanent** (`/`) or **temp** (`#`) shortcuts in the center form.\n4. Browse and edit shortcuts from the left sidebar accordions.\n5. **Export** or **import** JSON from the right panel to back up or share libraries.\n6. Test triggers in the built-in textarea on the right.\n\nSample import files:\n\n- [`agent-assist-permanent.json`](examples/agent-assist-permanent.json) — 14 categories + 200 `/` shortcuts\n- [`agent-assist-permanent.xlsx`](examples/agent-assist-permanent.xlsx) — same permanent library in Excel format\n- [`agent-assist-temp.json`](examples/agent-assist-temp.json) — 10 `#` shortcuts\n- [`agent-assist-temp.xlsx`](examples/agent-assist-temp.xlsx) — same temp shortcuts in Excel format\n\nRegenerate from `examples/generate-examples.mjs` after editing templates.\n\n### Toolbar icon\n\n| Icon | Meaning |\n|------|---------|\n| Green | Extension active — triggers work on all sites |\n| Red with `OFF` badge | Extension disabled — no triggers fire |\n\n---\n\n## Installation\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/) 18+\n- [pnpm](https://pnpm.io/) (recommended) or npm\n\n### Install and run locally\n\n```bash\npnpm install\npnpm dev          # Chrome — loads from .output/chrome-mv3-dev\npnpm dev:firefox  # Firefox — loads from .output/firefox-mv2-dev\n```\n\n### Load the extension\n\n**Chrome / Edge / Brave / Opera**\n\n1. Open `chrome://extensions`\n2. Enable **Developer mode**\n3. Click **Load unpacked** → select `.output/chrome-mv3-dev`\n\n**Firefox**\n\n1. Open `about:debugging#/runtime/this-firefox`\n2. Click **Load Temporary Add-on** → select `manifest.json` inside `.output/firefox-mv2-dev`\n\nFor production builds, project structure, and architecture details, see [DEVELOPMENT.md](DEVELOPMENT.md).\n\n---\n\n## Contributing\n\nContributions are welcome — whether it's a bug fix, a new locale, UI polish, or documentation.\n\n### Getting started\n\n1. **Fork** the repository and create a branch from `main`.\n2. **Install** dependencies with `pnpm install`.\n3. **Run** `pnpm dev` and load the unpacked extension to test your changes.\n4. **Type-check** with `pnpm compile` before opening a PR.\n\n### Guidelines\n\n- Keep changes focused — one feature or fix per pull request.\n- Match existing code style and conventions in the file you're editing.\n- Update translations in `lib/i18n/messages/` if you add or change user-facing strings.\n- Test in both a `\u003ctextarea\u003e` and a `contenteditable` field when touching insert or trigger logic.\n- Do not commit secrets, API keys, or personal snippet data.\n\n### Reporting issues\n\nOpen a GitHub issue with:\n\n- Browser and version\n- Steps to reproduce\n- Expected vs. actual behavior\n- Screenshots or screen recordings when helpful\n\n---\n\n## Team and contact\n\n### Product owner\n\n**Hassan Faraji**\n\n[![Email](https://img.shields.io/badge/Email-mrmentor.cx%40gmail.com-EA4335?logo=gmail\u0026logoColor=white)](mailto:mrmentor.cx@gmail.com)\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-Hassan%20Faraji-0A66C2?logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/in/hassan-faraji-b975b2aa/)\n\n\n### Developer\n\n**Mohammad Mohagheghian**\n\n[![Email](https://img.shields.io/badge/Email-vito.mohagheghian%40gmail.com-EA4335?logo=gmail\u0026logoColor=white)](mailto:vito.mohagheghian@gmail.com)\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-Mohammad%20Mohagheghian-0A66C2?logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/in/mohammad-mohagheghian/)\n[![Portfolio](https://img.shields.io/badge/Portfolio-mghn.info-000000?logo=googlechrome\u0026logoColor=white)](https://mghn.info)\n\n\n---\n\n## License\n\n[MIT](LICENSE) © 2026 Mohammad \u0026 Hassan \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammad-mghn%2Fagent-assist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammad-mghn%2Fagent-assist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammad-mghn%2Fagent-assist/lists"}