RepositoryTypeScriptNLHà Lan
larscom

larscom/angular-chrome-extension

angular chrome extension scaffold

154sao
38fork
0issue
0lượt xem

🧩 Angular Chrome Extension Scaffold — khung xương tối giản, sinh dự án bằng CLI

Chỉ là scaffold; dự án thật sinh ra nhờ công cụ ng-chrome-extension — không code thủ công cấu hình manifest, background, popup.

Repo này do larscom duy trì, cung dụng một scaffold (khung mẫu) cho Chrome Extension viết bằng Angular. README khẳng định rõ: bản thân repo chỉ là scaffold, không dùng trực tiếp. Thay vào đó, bạn cài CLI @larscom/ng-chrome-extension và chạy lệnh ng generate để tạo dự án mới — tự động cấu hình Manifest V3, background script, content script, popup, options page, TypeScript, build script… Mọi thứ sẵn sàng để code nghiệp vụ ngay.

✨ Điểm nổi bật

  • Scaffold chỉ đọc: repo này không phải starter kit copy-paste, mà là template nội bộ cho CLI.
  • CLI ng-chrome-extension: công cụ dòng lệnh chính, sinh toàn bộ cấu trúc dự án Angular + Chrome Extension (Manifest V3).
  • Hỗ trợ đầy đủ loại script: background (service worker), content script, popup, options page, devtools panel.
  • Build tích hợp: script build/watch dùng esbuild/webpack tùy config, xuất ra thư mục dist sẵn sàng load vào Chrome.
  • TypeScript first: cấu hình tsconfig tối ưu cho extension, type-safe cho chrome.* API.
  • Hot reload khi dev: watch mode tự build lại khi sửa code, chỉ cần reload extension trong Chrome.
  • Cấu hình tập trung: một file chrome-extension.config.json điều khiển manifest, permissions, entry points.
  • Zero-runtime dependency: không thêm thư viện runtime ngoài Angular chuẩn.

💡 Vì sao đáng chú ý

Thay vì tự mò cấu hình Manifest V3, web_accessible_resources, background.service_worker, content script matching… — các việc dễ sai, tốn thời gian — scaffold này gói gọn mọi thứ vào CLI. Chạy một lệnh, có dự án Angular build được ngay, tuân thủ chính sách Chrome Web Store mới. Phù hợp cho team muốn tập trung viết feature extension thay vì đấu config. Nếu đã dùng Angular cho web, đây là đường ngắn nhất sang extension mà không phải học build tool từ đầu.


#Angular #ChromeExtension #Scaffold #TypeScript #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
bitwarden/clients

Bitwarden client apps (web, browser extension, desktop, and cli).

14.1k
Oct 27, 2026
RepositoryTypeScript
crimx/ext-saladict

🥗 All-in-one professional pop-up dictionary and page translator which supports multiple search modes, page translations, new word notebook and PDF selection searching.

13.4k
Oct 24, 2026
RepositoryTypeScript
MetaMask/metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites

13.2k
Oct 29, 2026
RepositoryTypeScript
zce/caz

A simple yet powerful template-based Scaffolding tools.

2.5k
Oct 11, 2026
RepositoryTypeScript
ng-alain/delon

Delon is a set of essential modules for ng-alain. https://github.com/ng-alain/ng-alain/issues

682
Oct 7, 2026
RepositoryC#
jasontaylordev/CleanArchitecture

Clean Architecture Solution Template for ASP.NET Core

20.7k
Oct 26, 2026
RepositoryJavaScript
uBlock-LLC/uBlock

uBlock: a fast, lightweight, and lean blocker for Chrome, Firefox, and Safari.

8.3k
Sep 8, 2022
RepositoryJavaScript
brookhong/Surfingkeys

Map your keys for web surfing, expand your browser with javascript and keyboard.

6.2k
Oct 19, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

288.4k
Oct 26, 2026