Degoog — Bang command aliases

Custom !alias!command mappings.

Setup

  1. Create data/aliases.json (or set DEGOOG_ALIASES_FILE to another path).
  2. Edit the file with your aliases:
{
  "jelly": "jellyfin",
  "search": "meili",
  "id": "uuid"
}

Each key is the alias (what the user types after !). Each value is the target command trigger. So !jelly runs the same command as !jellyfin.

  1. Restart the server. Aliases are loaded at startup.

Rules

Built-in command aliases

Some commands ship with aliases defined in their source:

CommandAliases
!jellyfin!jf
!meili!ms

Engine shortcuts

Search engines can define a bangShortcut so users can search that engine only:

ShortcutEngine
!gGoogle
!bBing
!ddgDuckDuckGo
!braveBrave Search
!wWikipedia
!rReddit

Example: !g linux kernel searches only Google for “linux kernel”.

Custom path

Set DEGOOG_ALIASES_FILE to load aliases from a different location, e.g. /etc/degoog/aliases.json.