Skip to content

DenverCoderOne/awesome-albert-plugins

 
 

Repository files navigation

Awesome Albert Plugins

Code style: black

Description

This is a collection of plugins and themes for the Albert launcher.

Demos

Plugins

Currently the list of plugins includes:

  • Anki card generator: Generate Basic, Basic-Reverse and Cloze cards for Anki

  • Bluetooth - Enable/disable the bluetooth module

  • Meme-generator: Generate memes and copy them directly to clipboard for easy paste

  • Image_search: Search, preview and directly copy-to-clipboard images from the web

  • Harakiri - Create temporary email addresses at harakirimail.com

  • Words - Get the definition, synonyms and antonyms for a word

  • Emoji - Quickly lookup and copy emojis to your clipboard

  • Killproc - Kill process(es); allows killing multiple processes with the same name or based on a glob - Improved version of the original albert plugin

  • Timezones - Fuzzy-search timezones

  • Colors - Lookup the RGB triplet or the hex code for the given color

  • Jira - Issue Tracking

  • Saxophone - Listen to internet Radio Streams

  • Zoopla - Search Property to Buy, Rent, House Prices

  • Xkcd - Fetch xkcd comics like a boss

  • Taskwarrior - Interact with Taskwarrior

  • Remmina - Search and start remmina connections easily

  • Google Maps - Fetch instructions from/to a specific place

  • Google Translate - Improved version of original albert plugin - avoids occasional IP blocking by Google

  • TL;DR pages lookup

  • Get 2FA codes using totp-cli

  • Lookup HTTP URL status codes

  • Lookup errno status codes

  • Show Internal, External IPs, Default Gateways

  • Suggestions-enabled search using googler on a variety of websites. For example:

    • Google

    • Amazon

    • Youtube

    • Github

    • Ebay

    • Imdb

    • Urban dictionary: Word/Slang definitions lookup

    • Python, OpenCV, Dlib, C++ documentation lookup

    • ...

    • ⚠️ To avoid getting blocked by Google, a search request is only sent when there is a 0.3 seconds difference between keystrokes. Thus, it's common when you actually want to send a request to wait a bit and then append a space character at the end of the query.

    • Install google-chrome or chromium-browser to add an "Open in incognito mode" option

  • PulseAudio - Select pulseaudio input/output devices, sound card profiles

  • Improved implementations of the original Pass, Pomodoro plugins

  • Create stopwatches and countdowns

Plugins have been tested with the Albert python v0.4 interface. If you're looking for a version that works with earlier versions of the plugin, see the prior-to-v0.4 branch. I'm using Python 3.6.8.

Themes

  • Mozhi - A flat, transparent and dark theme for Albert. (DEMO)

Motivation

It's really so easy writing plugins and automating parts of your workflow using Albert and its python extensions. That's the very reason I started writing them.

Installation

Requirements:

Clone this repository under your local Albert python plugins directory. By default the that is: ~/.local/share/albert/org.albert.extension.python/modules.

Then go to the Albert settings and enable the plugins that you are interested in using. Beware that you may need to install some more dependencies depending on the plugins you use. These dependencies will probably be pointed out either when you enable, or when you run the plugin for the first time. Refer to the directory of the corresponding plugin for more details.

Googler-based plugins

The search plugins that use googler have not been committed to this repo. You can generate them offline using the create_googler_plugins.py script provided. Make sure you have Python >= 3.6 installed:

pip3 install --user --upgrade secrets requests googler cookiecutter
./create_googler_plugins.py

This will generate an Albert plugin for each one of the search engines specified in create_googler_plugins.py. Adjust the latter as required if you want to add more or remove plugins.

generate_plugins_only_for = [
    "alternativeto",
    "amazon",
    "askubuntu",
    "aur.archlinux",
    ...
    ]

I don't want to setup all the plugins, just a few

Very well, then after cloning this repo, just symlink or copy the plugin of choice under your local python plugins directory. For example for the jira plugin:

cp -r plugins/jira ~/.local/share/albert/org.albert.extension.python/modules/jira

After that, enable the plugin from the Albert settings.

Self Promotion

If you find this tool useful, please star it on Github

TODO List

See ISSUES list for the things that I'm currently either working on or interested in implementing in the near future. In case there's something you are interesting in working on, don't hesitate to either ask for clarifications or just do it and directly make a PR.

Ideas List (feel free to contribute)

  • 🚧 Giphy - https://github.com/Giphy/giphy-python-client
  • 🚧 Devdocs.io/Zeal/Dash search
  • 🚧 Manage your VPN connections - Frontend to WireGuard?
  • 🚧 Spotify mini player - similar to this
  • 🚧 Radio Paradise player
    • Sign-in - grab password from pass as in Jira plugin
    • Ability to mark as favorite / change stream
  • 🚧 Movie search and ratings - be able to sign in to various services and (e.g., imdb) and submit a rating for a movie
  • 🚧 An alternative to Alfred's pkgman
  • 🚧 Vagrant start/stop boxes - see this
  • 🚧 Assembly instructions lookup - use this
    • Use googler asynchronously to get links to pages: adcs site:developer.arm.com

About

Unofficial collection of plugins for the Albert launcher (https://albertlauncher.github.io/).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Other 0.7%