Repository navigation
Add WhatsApp extension - #402
Conversation
|
I was thinking about making this extension simpler by removing the Apple Contacts integration and adding instead the following commands:
This provides full flexibility and will allow users to add groups (not possible currently) or use the extension without Apple's Contacts app. That being said adding all the contact manually can be tedious so I may add a command "Import Contacts". |
|
This looks awesome, congratulations! |
mattisssa
left a comment
There was a problem hiding this comment.
Hey! Thanks for the contribution 👍
I tried to Create Chat that already exists with name test, and in Open Chat this chat is titled as Test, but in the WhatsApp app it is called differently (as I titled it in contacts). Not sure if we can do anything here, let me know if it's possible to check and improve.
I'm not sure what can be wrong here, but the Import Contacts takes very long, for me it was about 3 mins. Seeing the animating toast for 3 mins does not feel great, let me think what can be better here.

Does it work for you properly?
Yeah, this is the bug that will be fixed with the next release 😉 |
|
Hey @mattisssa!
Let me know, if you find a better way to solve the 2nd problem. I will investigate it further this weekend. |
I've noticed another issue in your extension. I created a group with a name and a Random "Group Code" (Should this be random or how does it work?). |
mattisssa
left a comment
There was a problem hiding this comment.
Requesting changes for the keywords we discussed in the comments
If you don't have WhatsApp I can show you in a Slack call how the extension works. |
|
The problem here is that WhatsApp does not have an available API yet. The I can rename the commands to Now maybe you understand why I added the Sorry for the confusion :) |
|
@vimtor Ooookay, I thought this is the way it works 😄 👍 About "Import Contacts" command I'll be back a little bit later, want to discuss this with the team again. |
|
Awesome! I will change the command names and explain them a bit more in the Let me know if you have some ideas about the |
|
Any news of the I think we can omit it if we want, since the extension works without it. It is a nice to have but non blocking. |
|
Hey @mattisssa I removed the Feel free to publish the extension :) |
|
Hey @vimtor! Sorry for the long awaited, we published a message with a small info that the entire team was off for a while. Let me check everything again and finally make the merge |
mattisssa
left a comment
There was a problem hiding this comment.
Ok, I'm approving it. But let's, please do the proper import for contacts and groups in the future, because it's really too complex to configure everything before you can use the commands.
I assume people will probably just use the WhatsApp application rather than the extension because making this manual import will take a long time.
|
Published to the Raycast Store: |
- Remove rollup-plugin-git-info. - Fix: Add new. - Fix: Add back ticks. - Remove gitCommitHash. - Create and use new GitLogger. - Remove. - Move methods. - Remove commitHash from urls. - Merge branch \'master\' into new-git-logger - Merge pull request raycast#402 from trovu/add-git-info-to-data - Add getGitInfo. - Format with new prettier.
* Add trovu extension * Update trovu extension - Use symlinked imports. - Symlink used imports. - Restrict Node version to 21.3. * Also add Query parser. * Update trovu extension - Add countries-list dependency. - Add Helper.js. * Remove owner. * Update trovu extension - Title Case. - Add exceptions for linter. * Update trovu extension - Use new prettier settings on Raycast-relevant files. - Change to prettier settings from Raycast. * Update trovu extension - Merge pull request #401 from trovu/separate-version-logger - Remove unused imports. - Merge branch \'master\' into separate-version-logger - Use also here. - Remove old code. - Use new GitLogger. - Add new GitLogger. - Merge pull request #400 from trovu/rename-trovu-web - npm ci. - Rename in links. - Rename in docker makefile. - Rename in package. - .de.a: Add affiliate. - ue5: Add Unreal Engine 5 Documentation. - Add namespace prefix to examples. - Add plugin to config. - npm install --save-dev @typescript-eslint/parser @typescript-eslint/eslint-plugin - Format. - Merge to 1 line. - Double quotes also here. - Change also eslint to double quotes. - Merge pull request #395 from trovu/add-classes-to-raycast - Use prettier on md, too. - Use new prettierrc settings on remaining files. * Update trovu extension - Add more dependencies from core. - Add more used modules. - Use dir structure as in core. - Depend on same versions as core. - npm i - Set commit hash only in browser context. * Add another used module. * Update trovu extension - Catch non-existing navigator. - Check for document happens before. * Update trovu extension - Remove rollup-plugin-git-info. - Fix: Add new. - Fix: Add back ticks. - Remove gitCommitHash. - Create and use new GitLogger. - Remove. - Move methods. - Remove commitHash from urls. - Merge branch \'master\' into new-git-logger - Merge pull request #402 from trovu/add-git-info-to-data - Add getGitInfo. - Format with new prettier. * Add more imports. * Link to single files. * Update trovu extension - File format. - Add lodash. * Update CHANGELOG.md and optimise images --------- Co-authored-by: raycastbot <[email protected]>

Description
This extension aims to interact with WhatsApp application. For now, it only has one command which grabs all your Apple contacts and shows them to open in WhatsApp desktop or web apps. Also, it includes functionality to pin contacts so you can access them quickly.
Since the extension now only has that command I did not name it "WhatsApp".
The first time the extension asks for "Contact" permissions to grab all the contacts, which takes 4-10 seconds the first time, after this it gets cached. I am no Mac expert, so maybe there is a better way to get these contacts from JavaScript.
As a side note, I saw that the built-in Raycast list filter ignores phone numbers (or numbers in general). I am unsure about how to deal with this since creating a custom filter for this seems like an overkill.
Type of change
Screencast
For privacy reasons I decided to only include images so I can blur them using CleanShot
Checklist
512x512