Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorgalvao committed Dec 24, 2021
0 parents commit 82d98da
Show file tree
Hide file tree
Showing 5 changed files with 690 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Bug Report
description: File a bug report
body:
- type: input
attributes:
label: Workflow version
description: Open the Workflow in Alfred Preferences → click [𝓧] → Workflow Version
validations:
required: true
- type: input
attributes:
label: Alfred version
description: In the top left corner of Alfred Preferences → General
validations:
required: true
- type: input
attributes:
label: macOS version
description: Click  on the menubar → About This Mac → Overview
validations:
required: true
- type: textarea
attributes:
label: Debugger output
description: Open the Workflow in Alfred Preferences → click the bug icon → perform the failing action
render: alfred_debugger
validations:
required: true
- type: textarea
attributes:
label: More details
description: Explain what you did, what happened, and what you expected to happen
29 changes: 29 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BSD 3-Clause License

Copyright (c) 2021, Running with Crayons Ltd
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# <img src='Workflow/icon.png' width='45' align='center' alt='icon'> TinyPNG Alfred Workflow

Compress images via TinyPNG

## Instructions

Use the File Action, File Filter, or External Trigger to compress PNG, JPEG, and WebP images via [TinyPNG](https://tinypng.com/).

![](https://i.imgur.com/mlX713P.png)

Before using the Workflow, [request an API key](https://tinypng.com/developers) and add it to the `api_key` Workflow Environment Variable.

`backup_originals` takes a directory path to save the unmodified images. Use `~` to reference your home directory. Leave it empty to not save backups.

## Download

[Get the latest release.](https://github.com/alfredapp/tinypng-workflow/releases/latest/download/TinyPNG.alfredworkflow)

## License

3-Clause BSD
Binary file added Workflow/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 82d98da

Please sign in to comment.