-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request/Discussion] App Links for automatically adding transactions to Cashew #127
Comments
Somewhat duplicate of #99 Since Cashew is a server less application and all data is stored on device, there is no API connection that can be created. Cashew does not connect to any application specific server for getting user data and therefore cannot receive requests. |
I'm sorry I did not clearly explain this feature. This feature propose an URI scheme that allows third-party applications to add bill into Cashew. It's not about editing or exporting, just inserting bills using URI Scheme |
As I mentioned, Cashew does not have any backend server to connect to. It's a server-less application. Edit: After looking into it more, it seems like a server-less solution is possible with deep linking (not app linking). I can look into adding this in the future, however I'm going to keep this issue closed as I have no immediate plans as of now. I find this is a really niche feature. |
Thank you for considering this feature. Yes, it is possible with the serverless app through deep-linking (URI scheme). That's what I am saying about the feature. Provice some kind of URI scheme or deep linking so other application can call it to add bill into Cashew. Sorry for the unclear description of the feature |
Added in 5.2.3+328 |
Thank you so much! With this feature implemented, Cashew can be so powerful to use. Thank you for taking consideration of this feature and implementing it! |
How to use this feature? |
The documentation has some examples of its usage! Please see the README |
Read it but don't understand how it works. Can't imagine how it would work. Can @HenryWu01 illustrate? |
Hi, I am using this applink feature with Tasker integration to automate my credit card transactions. Below are some sreps at high level, implementation is more customized based on individual usage.
I would like to use this opportunity to thank @HenryWu01 and @jameskokoska for this feature, as this is the biggest reason I have moved to Cashew app for budgeting. 🙏 |
@tiniwings I'm glad you made good use out of this feature :) Similar to Tasker, a free alternative - Automate (https://play.google.com/store/apps/details?id=com.llamalab.automate) can do a similar workflow. Here's a proof of concept flow for those interested: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Just thought I would throw this in here for fun. Linking Cashew's App Link API with Google Gemini AI has a lot of potential! Screen_Recording_20240704_003032_Automate.mp4 |
@jameskokoska |
@Akv2021 @jameskokoska Download here:https://drive.google.com/file/d/1aPjvzjKtXM-ng0p1j_4x5KCyjsxSqdVi/view?usp=sharing |
@jameskokoska can we get an App Link for transfer between accounts? |
This comment has been minimized.
This comment has been minimized.
I got it done with Tasker It doesn't currently change the catagory or adds notes, but it's doable, if used another function to look for a specific word and based on it it will know what catagory and note to add |
Does anyone know how to do it on iOS? I can extract info with Shorcuts app, but how do I trigger App Links? When I execute URL with Chrome app, it doesn't work. |
Official Siri shortcut implementation is coming, but in the meantime the README has working examples of App Links that work on iOS. |
I tested all 4 example URLs on both Chrome and Safari and it opens https://cashewapp.web.app/ web page with 404 error. Do I need to enable some option in iOS settings or it should work out of the box? iOS version 18.0.1 |
Is it still planned and will be implemented? |
Hey how about everyone, I come to make my little contribution, I don't know programming or anything related but I like to learn and solve problems, a week ago I switched to cashew, and With the help of chat gpt, I made an automation to add the transactions, in my case with Gmail which is where I get the messages from my banks, whether I send or receive, even consumption of my cards, I made a script so that if a new email arrived and it was from my bank, I executed the automation to find the date in the email, values, name, category etc, and with webhook I sent it to my cell phone with MacroDroid, and I also added it to a google spreadsheet to have 2 backups A video of how it works works perfectly here. screen-recording-20241201-162828-gmail_dy12rypS.mp4 |
Receipt Tracker With ChatGPT and Cashew Integration
|
Hey @adrianjael , |
@dr-msr In case of ChatGPT/Claude creating a link from receipt, wouldn't you always need to scan the receipts through AI app ? It might not be preferred from privacy point of view.
|
Thank you, for the interesting point of view.
the App Links API that Cashew implemented is a very easy to adapt with a myriad of external softwares/automation tools. |
Aqui el scritp de google:
I don't know English so I used the translator to write the message, that is the code I've been testing for 2 weeks now and I make many bank transactions and it records them perfectly, The only problem I have is the categories, the default link I use is category and if I write a subcategory the application doesn't record it, it asks you to choose the category manually because it doesn't exist since it's a subcategory, if the url using category automatically knew if it was a subcategory it would be perfect, and I created a separate account in cashew so that all the transactions are recorded there, then at night I move the records to the corresponding accounts, I could make it do it automatically but I'm testing it and I don't want it to damage my records of the important accounts. In Macrodroid or Automate it's simple, you just receive the webhook and open it with the cashew url with the data received, you can use chatgpt to help you modify the code, that's practically how I created it. |
Thanks @adrianjael,
I've managed to tweek the script to create a single API URL with all transactions of the day. Need to add a way also automate the transactions only received on sms & not mail. |
2.- It does not find the user as it makes a webhook call and MacroDroid receives the request and proceeds by saving it in values. Then generate the URL by adding the values and open the browser with the URL, the application automatically opens and I added the transfers. 3.- The concept before the number, Imports, name of the beneficiary, is data that I need to be added with the transfer. In my bank it allows me to add a description of the transfer I do, there I detail everything so that it separates it, I include category and title. Example, in detail I write, payment of food 0 meal. The script detects the parameter and writes the title all the words before the 0 and category everything that goes after the 0, so it knows that you payment of food It's the title and meal is the category. Imports, it is added manually which is a Cashew account where transfers are added, you can change it to the name of your account in Cashew. I'm sorry if I don't explain it well, I'm using the translator, but I recommend you copy the code paste it into chatgpt and ask it to explain it to you. I'm sure he'll explain how the code works better..... You can write to me on telegram @mrnothing_pro and I will try to explain it better. |
Hi can this not be done without opening cashew app and let the transaction be added in background just like how ios shortcuts work? |
Or as a tasker plugin |
Thanks you for developing such an nice budget management application. I would like to request an API for adding bills, enabling “Cashew” to bypass the need for in-app support for automatic bill recording. Third-party applications can take on the responsibility of implementing methods to extract bill information from payment apps, either through reading program data or OCR, and subsequently calling the “Cashew” API to add the extracted information to the bills. This approach would facilitate “automated” bill recording.
I believe the most suitable method for this purpose would be to implement a URI scheme. Since this feature is exclusively for adding records, there are no significant concerns regarding data leakage. “Cashew” can enhance security and control by implementing measures such as “API keys”, “rate limiting”, and an “application allow list” to thwart any potential malicious software or behaviors.
A popular app in China named “钱迹” (Qianji) already offers a feature like this.
Below is a sample URI scheme:
The text was updated successfully, but these errors were encountered: