Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cage1016/alfred-devtoys
A Swiss Army knife for developers for Alfred
https://github.com/cage1016/alfred-devtoys
alfred alfred-workflow alfred-workflow-go alfred5 alfred5-workflow devtoys golang tools
Last synced: about 1 month ago
JSON representation
A Swiss Army knife for developers for Alfred
- Host: GitHub
- URL: https://github.com/cage1016/alfred-devtoys
- Owner: cage1016
- License: mit
- Created: 2022-07-13T14:31:30.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T16:08:04.000Z (2 months ago)
- Last Synced: 2024-07-27T01:38:56.546Z (about 1 month ago)
- Topics: alfred, alfred-workflow, alfred-workflow-go, alfred5, alfred5-workflow, devtoys, golang, tools
- Language: Go
- Homepage:
- Size: 13.8 MB
- Stars: 116
- Watchers: 5
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# alfred devtoys
A Swiss Army knife for developers for Alfred
[![Gallery Release](https://github.com/cage1016/alfred-devtoys/actions/workflows/release-gallery.yml/badge.svg)](https://github.com/cage1016/alfred-devtoys/actions/workflows/release-gallery.yml)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
![GitHub all releases](https://img.shields.io/github/downloads/cage1016/alfred-devtoys/total)
[![codecov](https://codecov.io/gh/cage1016/alfred-devtoys/branch/master/graph/badge.svg)](https://codecov.io/gh/cage1016/alfred-devtoys)
![](https://img.shields.io/badge/Alfred-5-blueviolet)![](screenshots/alfred-devtoys.png)
## Why
[DevToys for Windows](https://devtoys.app/) and [DevToysMac](https://github.com/ObuchiYuki/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`, `HTMLcode` and `CSS Background Source`
- **time** - Convert unix time / natural date string to time format## Download
Visit [Alfred Gallery • Workflows • DevToys](https://alfred.app/workflows/cagechung/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 ` 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 ` 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
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
- Support time zone setting
- Visit [time package - time - Go Packages](https://pkg.go.dev/time#pkg-constants) to check more time format
- Visit [tj/go-naturaldate: Natural date/time parsing for Go.](https://github.com/tj/go-naturaldate) to check more netural date format example
![]()
## Third Party Libraries
- [ku/go-change-case: a golang port of npm package change-case](https://github.com/ku/go-change-case)
- [go-loremipsum/loremipsum: A lorem ipsum generator for Go](https://github.com/go-loremipsum/loremipsum)
- [boombuler/barcode: a barcode creation lib for golang](https://github.com/boombuler/barcode)
- [tidwall/pretty: Efficient JSON beautifier and compactor for Go](https://github.com/tidwall/pretty)
- [tj/go-naturaldate: Natural date/time parsing for Go.](https://github.com/tj/go-naturaldate)## Change Log
Vist [CHANGELOG.md](CHANGELOG.md) to check detail information
## License
This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.