https://github.com/uetchy/ifttt-platform
Build your custom actions & triggers for IFTTT platform.
https://github.com/uetchy/ifttt-platform
Last synced: 4 months ago
JSON representation
Build your custom actions & triggers for IFTTT platform.
- Host: GitHub
- URL: https://github.com/uetchy/ifttt-platform
- Owner: uetchy
- License: mit
- Created: 2018-08-08T07:59:06.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:42:24.000Z (over 3 years ago)
- Last Synced: 2025-07-28T16:36:46.622Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.34 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ifso
## Installation
```bash
npm install -g ifso
# or
yarn add --global ifso
```
## Usage
```bash
npx ifso server
```
### Writing `action` for IFTTT service
```js
exports.default = async ({ actionFields }) => {
const { text } = actionFields;
console.log(`received: ${text}`);
};
```
```js
exports.default = new Promise((resolve, reject) => {
const { text } = query.actionFields;
console.log(`received: ${text}`);
});
```
## Writing `trigger`
```js
exports.default = async query => {};
```