All Projects → a2 → Shortcuts Swift

a2 / Shortcuts Swift

Licence: mit
Write Shortcuts in Playgrounds

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Shortcuts Swift

Genomics
A collection of scripts and notes related to genomics and bioinformatics
Stars: ✭ 101 (-12.93%)
Mutual labels:  workflow
Pyflow
A lightweight parallel task engine
Stars: ✭ 108 (-6.9%)
Mutual labels:  workflow
Node Webcrypto Ossl
A WebCrypto Polyfill for Node in TypeScript built on OpenSSL.
Stars: ✭ 113 (-2.59%)
Mutual labels:  workflow
Petrinet
🚥 Petrinet framework for PHP
Stars: ✭ 107 (-7.76%)
Mutual labels:  workflow
Action Download Artifact
⚙️ A GitHub Action to download an artifact associated with given workflow and commit or other criteria
Stars: ✭ 107 (-7.76%)
Mutual labels:  workflow
Workflow
审批王,华炎魔方内置BPM工作流引擎,低代码快速开发平台。
Stars: ✭ 111 (-4.31%)
Mutual labels:  workflow
Workflow Kotlin Compose
Jetpack Compose integration for Square Workflows.
Stars: ✭ 101 (-12.93%)
Mutual labels:  workflow
Armor
Light-weight Snakemake workflow for preprocessing and statistical analysis of RNA-seq data
Stars: ✭ 114 (-1.72%)
Mutual labels:  workflow
Qmuidemo web
QMUI Web 的示例项目及文档
Stars: ✭ 108 (-6.9%)
Mutual labels:  workflow
Ugene
UGENE is free open-source cross-platform bioinformatics software
Stars: ✭ 112 (-3.45%)
Mutual labels:  workflow
Github Pages Deploy Action
Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.
Stars: ✭ 2,507 (+2061.21%)
Mutual labels:  workflow
Gin Web
由gin + gorm + jwt + casbin组合实现的RBAC权限管理脚手架Golang版, 搭建完成即可快速、高效投入业务开发
Stars: ✭ 107 (-7.76%)
Mutual labels:  workflow
Liteflow
liteflow是一个基于任务版本来实现的分布式任务流调度系统
Stars: ✭ 112 (-3.45%)
Mutual labels:  workflow
Frontie Webpack
Front-end Boilerplate | Gulp 4 + Webpack 4 + Babel + ITCSS Architecture + BEM Methodology + Twig.js
Stars: ✭ 102 (-12.07%)
Mutual labels:  workflow
Gitreflow
Reflow automatically creates pull requests, ensures the code review is approved, and squash merges finished branches to master with a great commit message template.
Stars: ✭ 1,488 (+1182.76%)
Mutual labels:  workflow
Wordpressify
🎈 A build system designed to automate your WordPress development workflow.
Stars: ✭ 1,374 (+1084.48%)
Mutual labels:  workflow
Pegasus
Pegasus Workflow Management System - Automate, recover, and debug scientific computations.
Stars: ✭ 110 (-5.17%)
Mutual labels:  workflow
Foundationextension
Foundation/Cocoa/UIKit extension kit. Reference document:
Stars: ✭ 115 (-0.86%)
Mutual labels:  shortcuts
Fuzzymail
📨 Email template generator. Making emails fun again.
Stars: ✭ 114 (-1.72%)
Mutual labels:  workflow
Drupal8ci
One-line installers for implementing Continuous Integration in Drupal 8
Stars: ✭ 113 (-2.59%)
Mutual labels:  workflow

This repository has been replaced with SwiftShortcuts, and is archived for reference.

Banner

Shortcuts Swift

Build Status

Subscription feed link or click here on your iPad with Swift Playgrounds 2 installed.

Example

Warn for Low Battery Level

let batteryLevel = actionOutput()
let shortcut = buildShortcut(
    comment("This Shortcut was generated in Swift.") +
    getBatteryLevel().savingOutput(to: batteryLevel) +
    ifLessThan(20, ifTrue: (
        setLowPowerMode(true) +
        showResult("Your battery is at \(batteryLevel)%, you might want to charge it.")
    ), ifFalse: (
        showResult("Your battery is at \(batteryLevel)%, you're probably fine for now.")
    ))
)

Clap Along

let shortcut = buildShortcut(
    comment("This Shortcut was generated in Swift.") +
    ask(question: "WHAT 👏 DO 👏 YOU 👏 WANT 👏 TO 👏 SAY") +
    changeCase(to: .uppercase) +
    replaceText("[\\s]", replaceWith: " 👏 ", regularExpression: true) +
    chooseFromMenu(items: [
        ("Share", share()),
        ("Copy to Clipboard", copyToClipboard()),
    ])
)

Swift Package Manager

.package(url: "https://github.com/a2/shortcuts-swift", from: "1.0.0")

Contributing

Please read the Contributions Guide and the Code of Conduct before getting started. You will need Xcode 10 or newer to build the project.

Authors

Alexsander Akers and Alexis Aubry

License

Shortcuts Swift is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].