Starter kit for TypeScript bot for Automa
Please read the Agent Development docs to understand how an Automa bot works and how to develop it.
/automa
endpoint is the receiver for the webhook from Automaupdate
function insrc/update.ts
is the logic responsible for updating code.AUTOMA_WEBHOOK_SECRET
environment variable is available to be set instead of hard-coding it.
Start the app in production mode:
pnpm build
NODE_ENV=production pnpm start
Needs git to be installed on production.
Start the app in development mode:
pnpm dev
pnpm start # In separate tab
Run tests with:
pnpm build
pnpm test
- Uses fastify as a server.