This is a simple Node.js Express server that receives SMS message data sent from an iOS Shortcut automation, parses key details from the message (like amount and merchant), and returns the parsed information.
- Receives POST requests containing SMS message text and timestamp
- Parses the amount spent and merchant name from Arabic JIB bank messages
- Returns parsed data as JSON
- Easy to deploy on any Node.js compatible server
تفويض حركة على حسابكم 2407787 - 006 بقيمة 10.2 دينار اردني من GULF /ALHARAMAIN AMMAN JO الرصيد المتوفر 14.288 دينار اردني
-
Clone the repository or copy the code.
-
Install dependencies:
npm install express- Run the server:
node server.jsThe server will run on http://localhost:3000 by default.
Request Body:
{
"message": "تفويض حركة على حسابكم بقيمة 10.2 دينار اردني من GULF /ALHARAMAIN AMMAN JO الرصيد المتوفر 14.288 دينار اردني",
"timestamp": "2025-06-07T10:00:00Z"
}Response:
{
"success": true,
"data": {
"originalMessage": "...",
"timestamp": "...",
"amount": "10.2",
"merchant": "GULF /ALHARAMAIN AMMAN JO"
}
}- Configure your Shortcut to POST the SMS message and timestamp as JSON to this server’s
/api/parse-smsendpoint. - The server will parse the SMS content and respond with extracted details.
- Use this data to track your expenses automatically.
You can deploy this server on any Node.js hosting platform, such as:
- Heroku
- Vercel (with some minor tweaks)
- DigitalOcean
- Your own VPS
MIT License
If you want help customizing or deploying this app, just ask!