external

package
v0.11.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package external wraps third-party links as tool.Module entries so they show up on the home grid and palette alongside in-app tools. Each link is metadata + a redirect handler — no view, no service, no JS. Add a new link by appending to the list in registry.go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []tool.Module

All returns the external-link modules. Every entry becomes a card on the home grid — Key must be unique across all modules (wick mounts it at /tools/{Key}). Edit this list to add or remove your own external links.

func Register

func Register(r tool.Router)

Register installs a redirect at /tools/{meta.Key} so direct hits (shared links, bookmarks, the Ctrl+K palette pre-fetch) still land at the external URL. The redirect target is read per-request from c.Meta().ExternalURL, so the same Register backs every link.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL