zgqq
mah
Java

An alternative to alfred written in java

Last updated Apr 16, 2026
70
Stars
6
Forks
2
Issues
0
Stars/day
Attention Score
13
Language breakdown
No language data available.
โ–ธ Files click to expand
README

No longer maintained(่ฟ™ไธช้กน็›ฎไธๅ†็ปดๆŠคไบ†)

Mah

Mah is an alternative to alfred,written in java.The project is currently under development.

Plugins

Search

Search

suggestion

Auto suggestion

AutoSuggestion

suggestion

KeyRecorder plugin

KeyRecorder will record all key strokes with modifier such as Control+c,helping you find out those key strokes pressed most.

KeyRecorder

github plugin

Translation plugin

First,you need to apply api pair http://fanyi.youdao.com/openapi?path=data-mode

translation {keyfrom} {apkey}

translation plugin

Weather plugin

weather beijing

weather plugin

github plugin

First, go to https://github.com/settings/tokens to generate a token

github {your github usename} 2 {your token}

github plugin

More plugins

Java libraries are so powerful that it is easy to develop a plugin.

Features

Asynchronous

For example,it will take long time to synchronize github repositories you starred; you can execute other actions like translation while synchronizing.

Better keybind

You can bind as many actions as you want.There are many useful actions in Mah. The mode (input_mode) provides a action named ClearQueryText,which is used to clear text prior to command.Try to imagine that you have translated a long sentence and want to translate another sentence or word,you need to clear input and input command again.Thanks to this action,you don't need to do so.

Configurable

Configuration is the one of important features,you can configure keybind,plugin,and so on.To configure keybind,you should know what is Mode.Mode is a collection of keybinds,allowing same keybind to execute different actions.For instance,TranslationCommand will trigger translation_mode,in which CopyWord and CopyExplains actions are defined;then you can press alt+w (i defined,you can configure it freely in conf.xml) to execute CopyWord action;as a result,translated word will be copied.

Plugin support

Mah is totally based on plugin.Thinks to java ecosystem,you can develop a plugin with powerful abilities.

Getting Started

Installation

Mah doesn't provide any binary package for user as there are some efforts to do this.So to use Mah,you must compile it yourself;it is not a big deal,only tough thing is to install jdk8.Once installed,the rest is easy.

git clone https://github.com/zgqq/mah && cd mah ./install

Configuration

Open /{home}/.config/mah/conf.xml with editor,you will see dark

Above is most basic configuration,mah will generate it automatically,you can modify it freely. Note that you must tell mah if you change key location using tool like xmodmap

Configuration example

conf.xml
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท zgqq/mah ยท Updated daily from GitHub