bytebase / goa

Goto, a lightweight tool with fewer than 200 lines of code, operates as a serverless solution for short links, catering to personal, team, and enterprise needs. Link management is facilitated through GitOps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Goa: Your Shortcut to the Web

Goa, a lightweight tool with fewer than 200 lines of code, operates as a serverless solution for short links, catering to personal, team, and enterprise needs. Link management is facilitated through GitOps.

The code is primarily generated by GPT with minimal style adjustments by human. The concept and architecture, however, originate from human ingenuity.

Instruction

The link configuration files can be placed anywhere accessible via URL from the browser. An illustrative configuration is available at https://github.com/bytebase/goa/raw/main/data.json. These configurations can be stored in public or private repositories, or essentially in any location.

GitOps is employed by teams or enterprise users to oversee Goa links. For instance, the addition of a new link requires code reviews, as demonstrated in https://github.com/bytebase/goa/pull/1.

Architecture

  1. Users define the URLs for configuration files.
  2. Chrome extensions read the configurations to map short URLs.
  3. When users enter the short URL, the extension redirects them to the full URL.

Development

  1. Go to chrome://extensions/.
  2. Turn on Developer mode.
  3. Load unpack of this package.
  4. Inspection.
    1. Go to chrome://inspect/#service-workers.
    2. Right click Inspect Popup on the extension.

About

Goto, a lightweight tool with fewer than 200 lines of code, operates as a serverless solution for short links, catering to personal, team, and enterprise needs. Link management is facilitated through GitOps.

License:MIT License


Languages

Language:JavaScript 82.9%Language:HTML 17.1%