The open source TIA Electron App. Contains full set of automation runtime, together with Socket and HTTP interface to be controlled by remote api calls.
Think of it as a worker that does tasks for you in schedule in order according to the blueprint you give to it.
- Browser automation using chromeless
- HTTP Request using request
- Email using node-mailer
- Wildcard script that access all modules in your package.json
TIA-Electron is used in many enterprise settings, so there exists a sets of document generation and encryption modules. We may remove all the irrelevant bases in the future. Check package.json for details.
npm install
Or if you have installed yarn
yarn install
Running and packaging are based on Electron-Forge
npm run start #Start the app
npm run package #Pack the app
Recommend Using VSCode, a preset vs launch config is ready.
Install base modules with your favorite package manager (I'm using yarn here)
yarn install package-name --save
Add new modules by creating a new file under src/modules
folder ends with .js
(Chectout empty.js
in the folder)
You can directly copy one empty.js
and write logic inside the function.
Make sure your function calls output()
after the task is done or error occurs, or it will break the whole queue.
- A Tray App that runs in background.
- Run The Builder FRA Apps with specific browser window properties.
- Start task listening to both socket and http calls (listen port 10531).
- Use desktop installed chrome to do Browser Automations (debug port 10411);
TIA Cloud is a interface backed by Parse Server that manage all TIA Worker Runtimes. Visit https://thebuilder.hk/board and have a try.