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.
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
.
- Users define the URLs for configuration files.
- Chrome extensions read the configurations to map short URLs.
- When users enter the short URL, the extension redirects them to the full URL.
- Go to
chrome://extensions/
. - Turn on
Developer mode
. - Load unpack of this package.
- Inspection.
- Go to
chrome://inspect/#service-workers
. - Right click
Inspect Popup
on the extension.
- Go to