Skip to content

This repository contains various scripts for the Mac launcher application “Alfred”. A paid version of Alfred is required for use.

Notifications You must be signed in to change notification settings

CursedCheese/Alfred-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Alfred-Scripts

Overview

This repository contains various scripts for the Mac launcher application “Alfred”. A paid version of Alfred is required for use. A summary of each script is below.

  • deepl_translator.rb
    • Converts input English to Japanese and Japanese to English and outputs the result.

deepl_translator.rb

Converts input English to Japanese and Japanese to English and outputs the result.

To use this, I recommend using Ruby version 3.x.x or higher, as the version of Ruby included by default on Macs is out of date. The script should be called from zsh, and Ruby is executed from zsh.

Also, install rest-client using gem.

gem install rest-client --user-install

The script input setting should be “with input as {query}”.

The workflow is shown in the figure below.

deepl_translator.rb workflow

It is easy to use, just type in the sentence you want to translate, leaving a space after the keyword you have set.

<keyword> <sentence you want to translate>

example↓

dl Alfred is amazing.

About

This repository contains various scripts for the Mac launcher application “Alfred”. A paid version of Alfred is required for use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages