Skip to content

cage1016/alfred-devtoys

Repository files navigation

alfred devtoys

A Swiss Army knife for developers for Alfred

Gallery Release MIT license GitHub all releases codecov

Why

DevToys for Windows and DevToysMac provide awesome a Swiss Army knife for developers. It's more productivity to do those things without copy and paste between applications.

Features

  • Encode - Encode string to Base64, URL and HTML
  • Decode - Decode string from Base64, URL and HTML
  • Hash - Hash string as MD5, SHA1, SHA256, SHA512
  • JWT - JWT Decoder for Header, Payload
  • CheckSum - MD5, SHA1, SHA256, SHA512 file checksum
  • UUID - Generate UUID
  • Lorem Ipsum - Generate Lorem Ipsum text (words, sentences, paragraphs)
  • QR Code - Create QR code
  • Case - Convert string to camel, constant, dot, lower, lcfirst, no, param, pascal, path, sentence, snake, swap, title, upper, ucfirst and hashtag case
  • Number Base - Base conversion between decimal, hex, octal and binary
  • JSON - JSON formatting as tab, 2 spaces, 4 spaces indents and minify
  • Base64 Image - Imgage Base64 Encode as Base64 string,Base64 Data URI, HTML <img> code and CSS Background Source
  • time - Convert unix time / natural date string to time format

Download

Visit Alfred Gallery • Workflows • DevToys to download latest version

Prerequisite

  • Alfred 5

Configuration

  • QR Code Image size
  • Time Convert
    • Time Format
    • Time Zone
  • UUID default amounts for clipboard auto-detecting for non-numeric formats
  • Lorem Ipsum default amounts for clipboard auto-detecting for non-numeric formats

Encode

use encode keyword to Encode string to Base64, URL and HTML

Decode

use decode keyword to Decode string from Base64, URL and HTML

Hash

use hash keyword to Hash string as MD5, SHA1, SHA256, SHA512

JWT

use jwt keyword to decode JWT token for Header, Payload

CheckSum

use checksumf keyword to get MD5, SHA1, SHA256, SHA512 file checksum

  • File Filter
  • File Action

UUID

use uuid keyword to generate UUID

  • You could config default amounts for clipboard auto-detecting for non-numeric formats

Lorem Ipsum

use li keyword to generate Lorem Ipsum text (words, sentences, paragraphs)

  • You could config default amounts for clipboard auto-detecting for non-numeric formats

QR Code

use qrcode keyword to generate QR code

Case

use cc command or cc <pattern> keyword to case string

keyword Explanation
cc commands list camel, constant, dot, lower, lcfirst, no, param, pascal, path, sentence, snake, swap, title, upper, ucfirst, hashtag All
cc camel Convert to a string with the separators denoted by having the next letter capitalized
cc constant Convert to an upper case, underscore separated string
cc dot Convert to a lower case, period separated string
cc lower Convert to a string in lower case
cc lcfirst Convert to a string with the first character lower cased
cc no Convert the string without any casing (lower case, space separated)
cc param Convert to a lower case, dash separated string
cc pascal Convert to a string denoted in the same fashion as camelCase, but with the first letter also capitalized
cc path Convert to a lower case, slash separated string
cc sentence Convert to a lower case, space separated string
cc snake Convert to a lower case, underscore separated string
cc swap Convert to a string with every character case reversed
cc title Convert to a space separated string with the first character of every word upper cased
cc upper Convert to a string in upper case
cc ucfirst Convert to a string with the first character upper cased
cc hashtag Convert to a string, space separated string with hashtag symbols

Number Base

use nb command or nb <pattern> keyword to convert number to other base

keyword Explanation
nb decimal Convert decimal to binary, octal and hexadecimal
nb binary Convert binary to decimal, octal and hexadecimal
nb octal Convert octal to decimal, binary and hexadecimal
nb hexadecimal Convert hexadecimal to decimal, binary and octal

JSON

use json format keyword to format JSON as tab, 2 spaces 4 spaces indents and minify

Image Base64 Encoder

use imgbase64f to find and open with Img Base64 Encode as Base64 string,Base64 Data URI, HTML <img> code and CSS Background Source

  • Support png, bmp, gif, jpeg, webp, svg and tiff image format
  • Universal Action
  • File Filter
  • File Action

Time Convert

use time to convert unix time / natural date string to time format

Third Party Libraries

Change Log

Vist CHANGELOG.md to check detail information

License

This project is licensed under the MIT License. See LICENSE for details.