Skip to content

๐Ÿš€ GoGo VA is a chrome-extension born out of the need for a tool that simplifies writing tasks while offering the power of advanced AI models. We wanted to create an AI assistant that works entirely offline, giving users privacy and efficiency, all without the need for an internet connection.

License

Notifications You must be signed in to change notification settings

Mazen-Embaby/gogo-va-extension

Repository files navigation

GogoVA Chrome Extension ๐Ÿš€

Check out this YouTube video.

prompt-chat

Chat with

Chat History

Start to write Paragraph, Email, Comment, or Message

Start to summarize web content

Simultaneous translation

Writing Assistance

Inspiration

GoGo VA is a chrome-extension was born out of the need for a tool that simplifies writing tasks while offering the power of advanced AI models. We wanted to create an AI assistant that works entirely offline, giving users privacy and efficiency, all without the need for an internet connection.

What it does

GoGo VA revolutionizes the writing experience by offering powerful tools for prompt generation, translation, summarization, and more. Whether you're brainstorming ideas, translating text, or summarizing long documents, GoGo VA is designed to help you get your work done faster and more effectivelyโ€”all from the comfort of your own device.

Key Features

  • ๐Ÿ› ๏ธ Vite: for lightning-fast development and hot module replacement.

  • ๐Ÿงฐ TypeScript: for type safety and enhanced productivity.

  • โš›๏ธ angular: for building dynamic and interactive UI components.

  • ๐Ÿ“ฆ CRX: custom element

  • ๐ŸŽจ Tailwind CSS: for hassle-free styling, including seamless integration in content scripts.

    ๐ŸŽจ Angular Material: for hassle-free styling, including seamless integration in content scripts.

Requirements

๐Ÿš Google Chrome Canary

๐Ÿ”ง Enable & Download built-in chrome AI API [ prompt, summarize, ]

Usage Instructions

  1. ๐Ÿ“ฅ Clone the repository.
  2. ๐Ÿ”ง Install dependencies with npm install.
  3. ๐Ÿš€ build the extension with npm run build:extension.
  4. ๐Ÿ—๏ธ In chrome select manage extension then load unpacked then the directory build.

Development & Contribution

Inject component Angular 18

  1. To inject an angular component register it first as a web component in main.ts

    createApplication()
      .then((app) => {
        const component = createCustomElement(SimpleComponent, {
          injector: app.injector,
        });
        customElements.define('app-simple', component);
      })
      .catch((err) => console.error(err));
    
    bootstrapApplication(AppComponent, appConfig).catch((err) =>
      console.error(err),
    );
  2. Inject the registered component through the code below

      const webComponentTag = 'app-simple';
    
      let componentElement = document.querySelector(webComponentTag);
    
      if (!componentElement) {
        componentElement = document.createElement(webComponentTag);
        componentElement.id = 'angular-chrome-app';
        document.body.appendChild(componentElement);
    
        // Load Angular's compiled scripts & Inject the Angular main.js script
        const angularScript = document.createElement('script');
        angularScript.type = 'module'; // Ensure it's treated as an ES module
        const moduleUrl = chrome.runtime.getURL('main.js');
        angularScript.src = moduleUrl;
        document.body.appendChild(angularScript);
      }

Enhancement To Do

  • custom webpack build on watch to serve
  • text-checker:
    • sync the scroll of textarea to text-checker
    • click to the propose (suggestion) visible the cursor

About

๐Ÿš€ GoGo VA is a chrome-extension born out of the need for a tool that simplifies writing tasks while offering the power of advanced AI models. We wanted to create an AI assistant that works entirely offline, giving users privacy and efficiency, all without the need for an internet connection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published