Skip to main content

Genie for Alfred

Project description

Genie for Alfred

GitHub license Twitter Follow

image0

Using from Alfred

Install Alfred Genie.alfredworkflow in Alfred and use the genie command to use any available function.

image1

Using from Command line

$ pip install alfred-genie

Then the following commands will be available

$ alfred-genie
Usage: alfred-genie [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  base64-decode
  base64-encode
  commands # ignore this as this is only used from Alfred
  format-json
  minify-json

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

You’ll need a working version of Python3 to run these scripts.

  1. Create and use new virtual env

python3 -m venv venv
source venv/bin/activate
  1. Install required dependencies

$ pip install -r requirements.txt
  1. Run locally

$ python local_main.py ...

Creating Alfred Workflow

For publishing it in workflow, we need to perform following additional steps

  • [ ] Open workflow file in Alfred

  • [ ] Open workflow directory in Terminal

  • [ ] Apply any changes from this directory to workflow directory

  • [ ] Install dependencies in workflow directory pip install --target=. click

  • [ ] Export workflow and publish to Github

Publishing Updates to PyPi

$ make package

Enter the username and password for pypi.org repo when prompted

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alfred-genie-0.1.20211114.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file alfred-genie-0.1.20211114.tar.gz.

File metadata

  • Download URL: alfred-genie-0.1.20211114.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.18

File hashes

Hashes for alfred-genie-0.1.20211114.tar.gz
Algorithm Hash digest
SHA256 33e93187959b010034d50d0285be6e80c2bf4b4039456192814c5c90be97cb25
MD5 2bae219c176f16a9abaf059d4d639c2c
BLAKE2b-256 72dd4593f3fb81393dbcbc70cd449b73b85071341f4bfea636075815473b4215

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page