Skip to content
@trigora-dev

Trigora

Event-driven runtime for developers.

Trigora

Run code when things happen.

Trigora is a code-first runtime and hosted control plane for event-driven backend workflows.

Define flows in TypeScript, run them locally with real events, deploy them to hosted webhook and cron endpoints, and inspect invocations, logs, secrets, usage, billing, and custom domains from the dashboard.

Website: https://trigora.dev
Dashboard: https://app.trigora.dev
Docs: https://trigora.dev/docs

Install

npm install trigora @trigora/sdk

If installed locally, run commands with npx trigora.

Quick example

import { defineFlow } from '@trigora/sdk';

export default defineFlow({
  id: 'hello',
  trigger: { type: 'webhook' },
  async run(event, ctx) {
    await ctx.log.info('Received event', event.payload);

    return {
      ok: true,
      received: event.payload,
    };
  },
});

Quick start

Initialize a project:

npx trigora init

Run locally:

npx trigora dev hello

Send a local request:

curl -X POST http://localhost:5252 \
  -H "Content-Type: application/json" \
  -d '{"message":"Hello from Trigora"}'

Deploy:

npx trigora deploy hello

A deployed webhook flow receives traffic at:

https://<workspace>.trigora.dev/hello

Webhook flows can also define custom routes:

trigger: { type: 'webhook', route: '/hooks/hello' }

Pro and Scale workspaces can connect custom domains:

https://events.acme.com/hooks/hello

What Trigora includes

  • TypeScript flow definitions with defineFlow()
  • Local development with real webhook events
  • Hosted webhook endpoints
  • Cron-triggered flows
  • Custom webhook routes
  • Workspace-scoped hosted URLs
  • Custom domains for Pro and Scale workspaces
  • Secrets management
  • Invocation history and logs
  • Usage and billing dashboard
  • CLI flow management

Packages

trigora

CLI for:

  • local development
  • hosted deploys
  • flow management
  • invocation inspection
  • secrets

@trigora/sdk

SDK for defining flows with defineFlow().

@trigora/contracts

Shared public contracts and API types.

Documentation

Repository

This repository contains the public Trigora packages:

  • CLI
  • SDK
  • Contracts
  • Examples

The hosted control plane and runtime are deployed separately.

License

MIT

Pinned Loading

  1. trigora trigora Public

    Run code when things happen.

    TypeScript 4

Repositories

Showing 2 of 2 repositories

Top languages

Loading…

Most used topics

Loading…