Skip to content

Commit 7064298

Browse files
authored
Merge pull request #7 from Avivbens/support-mltuple-platforms
support mltuple platforms
2 parents 51a541b + 5ca4e20 commit 7064298

23 files changed

+702
-198
lines changed

.fast-alfred.config.cjs

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
const { author, description, homepage } = require('./package.json')
22

33
const README = `
4-
Search contacts and open a chat with them with Alfred ✨
4+
Search contacts and engage with them via Alfred ✨
5+
6+
Supported apps:
7+
- SMS
8+
- Call
9+
- WhatsApp
510
611
See the workflow codebase in here:
712
${homepage}
@@ -25,7 +30,7 @@ module.exports = {
2530
targetDir: 'build',
2631
},
2732
workflowMetadata: {
28-
name: 'Open WhatsApp',
33+
name: 'Engage Contact',
2934
category: 'Tools',
3035
createdby: author.name,
3136
webaddress: homepage,

.releaserc

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/semantic-release.json",
3-
"repositoryUrl": "https://github.com/Avivbens/alfred-open-whatsapp.git",
3+
"repositoryUrl": "https://github.com/Avivbens/alfred-engage-contact.git",
44
"branches": [
55
"+([0-9])?(.{+([0-9]),x}).x",
66
"master",
@@ -48,9 +48,9 @@
4848
{
4949
"assets": [
5050
{
51-
"path": "./build/alfred-open-whatsapp.alfredworkflow",
52-
"label": "alfred-open-whatsapp.alfredworkflow",
53-
"name": "alfred-open-whatsapp.alfredworkflow"
51+
"path": "./build/alfred-engage-contact.alfredworkflow",
52+
"label": "alfred-engage-contact.alfredworkflow",
53+
"name": "alfred-engage-contact.alfredworkflow"
5454
}
5555
]
5656
}
11.3 KB
Loading
16.3 KB
Loading
9.26 KB
Loading
29.4 KB
Loading

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Contributing to `alfred-open-whatsapp`
1+
# Contributing to `alfred-engage-contact`
22

3-
Thank you for your interest in contributing to `alfred-open-whatsapp` :tada: !
3+
Thank you for your interest in contributing to `alfred-engage-contact` :tada: !
44

55
We welcome contributions from everyone.
66

@@ -16,7 +16,7 @@ To get started, follow these steps:
1616

1717
```bash
1818
npx fast-alfred -t $(cat package.json | jq -r '.version')
19-
(cd build && open alfred-open-whatsapp.alfredworkflow)
19+
(cd build && open alfred-engage-contact.alfredworkflow)
2020
```
2121

2222
6. Review your changes with your Alfred app

README.md

+19-23
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,44 @@
44

55
<br>
66

7-
[![Latest Version Downloads](https://img.shields.io/github/downloads/avivbens/alfred-open-whatsapp/latest/total?label=Latest%20Version%20Downloads&color=green)](https://github.com/avivbens/alfred-open-whatsapp/releases/latest)
8-
[![Latest Version](https://img.shields.io/github/v/release/avivbens/alfred-open-whatsapp?label=Latest%20Version&color=green)](https://github.com/avivbens/alfred-open-whatsapp/releases/latest)
9-
[![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfred-open-whatsapp/total?label=Total%20Downloads&color=blue)](https://github.com/avivbens/alfred-open-whatsapp/releases)
7+
[![Latest Version Downloads](https://img.shields.io/github/downloads/avivbens/alfred-engage-contact/latest/total?label=Latest%20Version%20Downloads&color=green)](https://github.com/avivbens/alfred-engage-contact/releases/latest)
8+
[![Latest Version](https://img.shields.io/github/v/release/avivbens/alfred-engage-contact?label=Latest%20Version&color=green)](https://github.com/avivbens/alfred-engage-contact/releases/latest)
9+
[![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfred-engage-contact/total?label=Total%20Downloads&color=blue)](https://github.com/avivbens/alfred-engage-contact/releases)
1010

1111
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/kcao7snkgx)
1212

1313
</div>
1414

1515
## Description
1616

17-
Search contacts and open a chat with them with [Alfred](https://www.alfredapp.com/).
17+
Search contacts and engage with them via [Alfred](https://www.alfredapp.com/).
1818

1919
### Install via GitHub Releases :sparkles:
2020

2121
```bash
22-
repo_name="Avivbens/alfred-open-whatsapp"
22+
repo_name="Avivbens/alfred-engage-contact"
2323
download_url=$(curl -s "https://api.github.com/repos/$repo_name/releases/latest" | grep "browser_download_url.*alfredworkflow" | cut -d '"' -f 4)
2424

25-
curl -fsSLk $download_url -o ~/Desktop/alfred-open-whatsapp.alfredworkflow
26-
open ~/Desktop/alfred-open-whatsapp.alfredworkflow
25+
curl -fsSLk $download_url -o ~/Desktop/alfred-engage-contact.alfredworkflow
26+
open ~/Desktop/alfred-engage-contact.alfredworkflow
2727
```
2828

2929
<hr>
3030

3131
## Usage
3232

33-
Search contacts via the keyword `ow`.
34-
Once you select a contact, a chat will be opened with the WhatsApp app.
33+
Search contacts via the keyword `c<RELATED_APP>`.
34+
A list of all mathced contacts will be displayed, and you can select a contact by pressing `Enter`.
35+
36+
### Supported Apps
37+
38+
- WhatsApp: `ecw`
39+
- SMS: `ecs`
40+
- Call: `ecc`
41+
42+
Once you select a contact, the workflow will open the related app with the selected contact.
43+
44+
## Supported Phone Number Formats
3545

3646
The workflow can accept a default country code, which will be used if the contact does not have a country code.
3747

@@ -45,17 +55,3 @@ All formats of phone numbers are supported, including:
4555
- `+1 (808) 1234 567`
4656
- `(808)1234567`
4757
- etc ...
48-
49-
# Examples
50-
51-
## LIVE DEMO:
52-
53-
https://user-images.githubusercontent.com/77183871/233869370-4fb24627-7151-462f-99b9-8b20c34e7518.mp4
54-
55-
<br>
56-
57-
## Search contact with keyword `ow`:
58-
59-
![Search contact](https://raw.githubusercontent.com/avivbens/alfred-open-whatsapp/HEAD/demo/search.png)
60-
61-
<br>

docs/settings-1.png

-76.6 KB
Binary file not shown.

docs/settings-2.png

-63 KB
Binary file not shown.

icon.png

13.8 KB
Loading

0 commit comments

Comments
 (0)