Giter Club home page Giter Club logo

alfred-convert's Introduction

Alfred Convert Workflow

GitHub release GitHub All Releases GitHub

Convert between different units in Alfred.

Heavily inspired by deanishe/alfred-convert 😊

demo

Installation

  1. Download the latest version
  2. Install the workflow by double-clicking the .alfredworkflow file
  3. You can add the workflow to a category, then click "Import" to finish importing. You'll now see the workflow listed in the left sidebar of your Workflows preferences pane.

Usage

  • conv <quantity> <from unit> <to unit> - Perform a conversion
    • When performing a monetary conversion pressing ⌘Y or return (↵) will open the currency-pair chart on Xe.com.
      • When pressing option+return (⌥↵) you will get the inverse currency conversion, i.e. 12 USD to EUR becomes 12 EUR to USD.
      • When pressing cmd+return (⌘↵) you will copy the converted value to your clipboard.
    • When performing a physical unit conversion pressing ⌘Y or return (↵) will open up detailed the conversion explanation on WolframAlpha.com.
  • conv money - View a list of all the supported currencies
    • When pressing ⌘Y or return (↵) on a certain currency you will be directed to the chart with the home currency on Xe.com.
      • When pressing option+return (⌥↵) you will get the inverse currency conversion, i.e. 1 AUD = 0.558 GBP becomes 1 GBP = 1.792 AUD.
      • When pressing cmd+return (⌘↵) you will copy the equivalent in the home currency to your clipboard.
  • conv units - View a list of all the supported physical units
    • When selecting a certain unit and pressing return (↵) that unit's symbol will get copied to the clipboard.

Default currency

In order to set a default currency, you can set it in the Workflow Configuration.

default_currency

Valid values are the ISO 4217 currency codes: AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, ISK, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, USD, ZAR.

Notes

alfred-convert's People

Contributors

dependabot[bot] avatar techouse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

alfred-convert's Issues

Minor Improvement Requests

Love the workflow so far, I came from https://github.com/deanishe/alfred-convert which no longer works for me.
I just have a couple requests, hopefully you find them useful enough to add them.

I love the home_currency environment variable but I feel like it would be useful putting it in the configuration section. It would get more visibility since you see the configuration immediately when you install the workflow.

I would also appreciate if there was a configuration for setting the default action to be the copy to clipboard instead of routing to the xe website. Perhaps the action could be a 'Toggle default action' or something similar so that when pressing command, it'll go to the website instead.

Lastly, I was just wondering what server the workflow is connecting to when performing a conversion. I'm unable to see what's inside the workflow binary so I'm not sure where it's connecting and what's it doing exactly. Just some transparency would be nice.

That's all, Thanks again!

Currency Conversion issue

Hi, I have tried your utility and it worked great but there is problem, it didn't work with all ISO code.

I have asked conv 1 usd to pkr or conv 1 usd pkr got error. Cannot convert it into PKR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.