Skip to content

About

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

Topics

Resources

Contributing

Stars

166 stars

Watchers

1 watching

Forks

Repository files navigation

Awesome Albert Plugins

DEPRECATED Unfortunately the Albert python API is changing too fast and too much and I cannot keep up with maintaining this amount of plugins.


Code style: black

Description

This is a collection of plugins and themes for the Albert launcher. It strives to be up to date with the latest state of the Albert launcher and its Python API. In case of an older albert version, see the branches of this repo.

Demos

Plugins

Currently the list of plugins includes:

  • Abbreviations - ❗Lookup words stored in a file along with their description
  • Abbreviations (Trilium) - πŸ“ Store and look up abbreviations in a Trilium note
  • Anki - πŸ“‡ Generate flashcards for Anki
  • Audiobookshelf - 🎧 Search an Audiobookshelf library and play audiobooks locally
  • Bluetooth - 🦷 Manage bluetooth devices
  • Clock - ⏰ Create countdown and stopwatch timers
  • Contacts - πŸ“• View your contacts and copy emails/telephones, etc.
  • Colors - 🎨 Color lookup using RGB, hex notation or color name
  • Dockge - 🐳 Control the docker stacks of a running Dockge server
  • Emoji picker - πŸŽ‰ Search for and copy emojis to clipboard
  • Errno - ❗Lookup and get information on Linux error codes
  • Harakiri - πŸ“« Create temporary email addresses at harakirimail.com
  • IP show - 🌐 Display information about your network interfaces and public IPs
  • Image Search - πŸ“· Search the web for images, download them and/or copy them to clipboard
  • Jellyseerr - 🎬 Review Jellyseerr requests and request new movies and series
  • Jira - πŸ“ View and edit your Jira tickets from Albert
  • Komodo - 🦎 Control the repositories, containers, stacks, resource syncs and procedures of a running Komodo server
  • Vikunja - 🦎 Search/add/remove/update tasks on vikunja
  • Killproc - ☠️ Kill processes based on fuzzy-search
  • Meme Generator - 😸 Generate memes and copy them to clipboard
  • Pastebin - πŸ“‹ Share a snippet or a file as a link via pastebin.com or another service
  • Pass TOTP - πŸ”’ Generate 2FA codes with Pass and totp
  • Pass_rlded - πŸ”’ UNIX Password Manager interaction with fuzzy-search capabilities
  • Pulse Control - 🎀 Enable/disable sources and sinks from Pulse Control
  • Remmina - πŸ–₯️ Start a Remmina VNC/SFTP connection
  • Saxophone - 🎷 Play your favorite internet radio stations / streams
  • Scratchpad - πŸ“ Take quick notes into a single textfile
  • Taskwarrior - πŸͺ– Interact with the Taskwarrior task manager
  • Template Albert Plugin - πŸ› οΈ Template cookiecutter for creating new Albert plugins
  • Timezones - 🌏 Lookup timezone information
  • Tldr Lookup - Lookup tldr pages and commands
  • URL Error Lookup - πŸ”— Lookup URL error codes
  • Words - πŸ”€ Lookup a word definition, synonyms and antonyms

Plugins have been migrated to the Albert python 5.0 interface. If you're looking for a version that works with earlier versions of the plugin, see the prior-to-v0.4 branch. See MIGRATION.md for the steps used to port a plugin from the legacy v0 API.

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.

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.

Working on a plugin

Every plugin in this repo is linted, type checked and tested by the same tooling, all configured in pyproject.toml and driven from the justfile. devbox.json provisions the toolchain and creates .venv on first entry:

devbox shell         # provisions just/python/dpkg and creates .venv on first entry
just check           # lint + test
just                 # list the recipes

Two things about the type check are worth knowing before you add a plugin. The albert module is injected into your plugin's interpreter by the launcher's plugin loader, so it is not importable; stubs/albert/__init__.pyi is what mypy reads instead, and test/albert_stub.py is what pytest imports. If you use an albert name that neither has, test/test_albert_stub.py will say so. The four logging helpers β€” debug, info, warning, critical β€” are the exception: they are attached to your plugin's own module by the loader, so call them as bare globals and do not import them from albert.

Plugins upstreamed from elsewhere are exempt from some lint rules until someone tidies them; the exemption is listed per file in pyproject.toml, so a new violation in one of them still fails. New code is not exempt.

Tests live in plugins/<name>/test/. Anything that needs the internet is marked @pytest.mark.network and skipped unless you pass --run-network; the reason is in conftest.py.

Packaging

just deb builds a single Debian package that installs every plugin under /usr/share/albert/python/plugins. just deb-smoke additionally installs it with dpkg and imports every plugin from the installed location β€” that is the package test CI runs. See AGENTS.md for the conventions.

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 implement)

  • 🚧 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
  • 🚧 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

About

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

Topics

Resources

Contributing

Stars

166 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages