Degoog Docs

Degoog Bang command aliases

Map your custom !alias shortcuts to existing !command triggers.

Setup

  1. Create a file at data/aliases.json or point DEGOOG_ALIASES_FILE to your preferred location.
  2. Add your custom shortcuts to the file like this:
{
          "jelly": "jellyfin",
          "search": "meili",
          "id": "uuid"
        }

The key is your new shortcut (what you type after !) and the value is the command it triggers. For example, typing !jelly will now run !jellyfin.

  1. Restart your server to load your new shortcuts.

Rules

  • You cannot override existing command triggers or built in aliases.
  • Your custom aliases will appear in the !help menu right next to the target command.

Included command aliases

We have included a few default aliases right out of the box:

Command Aliases
!jellyfin !jf
!meili !ms

Engine shortcuts

Search engines can use a bangShortcut so you can easily search that specific engine:

Shortcut Engine
!g Google
!b Bing
!ddg DuckDuckGo
!brave Brave Search
!w Wikipedia
!r Reddit

For example, typing !g linux kernel will search only Google for "linux kernel".

Custom path

You can set DEGOOG_ALIASES_FILE to load your shortcuts from a totally different location, like /etc/degoog/aliases.json.