SideMatter Posted January 5 Posted January 5 Hey Alfred community! I just picked up Supernotes for Christmas, and I noticed was that there was a Raycast extension but not an Alfred workflow. So, I made one! My goal was as close parity to the existing Raycast extension while playing to some of Alfred’s strengths. The Supernotes Raycast extension contains 4 subcommands, so I’ve created the same thing in Alfred. The workflow can create cards, create/append to your daily card, search cards and display them in an Alfred text view, and save clipboard content. It uses cURL requests to talk to the API and JQ for filtering. You can read more about each command in the ReadMe included with the extension. I found great use in the ability to interact with Supernotes directly from Alfred, so I hope it helps you guys out too. Please let me know if you have any questions!! Link to the workflow
vitor Posted January 6 Posted January 6 Welcome @SideMatter, Thank you for sharing. Really quick tips: Always prefer with input as argv over with input as {query}. You have some ${query} in there which are unlikely to be working as they should, it’ll add a $. Direct links are sometimes finicky, so I recommend sharing somewhere more accessible, such as GitHub. We have a blog post teaching how to do so if you don’t know how. The workflow is missing a Bundle ID. In your case it should probably be something like com.sidematter.alfred.supernotes. You have a website, but the domain looks to be dead?
SideMatter Posted January 6 Author Posted January 6 (edited) Hey Vitor! Thanks so much for taking the time to let me know where I can improve. This is my first ever public workflow, so I didn't exactly know what was best practice. Per your recommendation I have reworked the cURLs to use `argv` instead of `{query}` I also added a bundle ID like you recommended. Finally I uploaded it to GitHub to avoid the direct link. The repo is below with the changes https://github.com/SideMatter/supernotes-alfred Thanks once again for sharing these tips! Edited January 6 by SideMatter spelling
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now