{"id":18459655,"url":"https://github.com/hatchet-dev/hatchet-typescript-quickstart","last_synced_at":"2025-04-08T06:31:50.369Z","repository":{"id":224595376,"uuid":"763684639","full_name":"hatchet-dev/hatchet-typescript-quickstart","owner":"hatchet-dev","description":"Example workflows and setup instructions to use Hatchet with Typescript projects","archived":false,"fork":false,"pushed_at":"2025-04-03T15:08:49.000Z","size":977,"stargazers_count":10,"open_issues_count":14,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-03T16:24:20.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hatchet-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-26T18:30:04.000Z","updated_at":"2025-04-03T15:08:52.000Z","dependencies_parsed_at":"2024-05-06T16:32:50.910Z","dependency_job_id":"8be5d1fd-a98a-4c24-9682-41b05fda8b12","html_url":"https://github.com/hatchet-dev/hatchet-typescript-quickstart","commit_stats":null,"previous_names":["hatchet-dev/hatchet-typescript-quickstart"],"tags_count":0,"template":false,"template_full_name":"hatchet-dev/hatchet-python-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-typescript-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-typescript-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-typescript-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatchet-dev%2Fhatchet-typescript-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hatchet-dev","download_url":"https://codeload.github.com/hatchet-dev/hatchet-typescript-quickstart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247792045,"owners_count":20996876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T08:23:57.390Z","updated_at":"2025-04-08T06:31:50.363Z","avatar_url":"https://github.com/hatchet-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hatchet First Workflow Example\n\nThis is an example project demonstrating how to use Hatchet with TypeScript. For detailed setup instructions, see the [Hatchet Setup Guide](https://docs.hatchet.run/home/setup).\n\n## Prerequisites\n\nBefore running this project, make sure you have the following:\n\n1. [Node.js v16 or higher](https://nodejs.org/en/download)\n2. npm, yarn, or pnpm package manager\n\n## Setup\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/hatchet-dev/hatchet-typescript-quickstart.git\ncd hatchet-typescript-quickstart\n```\n\n2. Set the required environment variable `HATCHET_CLIENT_TOKEN` created in the [Getting Started Guide](https://docs.hatchet.run/home/hatchet-cloud-quickstart).\n\n```bash\nexport HATCHET_CLIENT_TOKEN=\u003ctoken\u003e\n```\n\n\u003e Note: If you're self hosting you may need to set `HATCHET_CLIENT_TLS_STRATEGY=none` to disable TLS\n\n3. Install the project dependencies:\n\n```bash\nnpm install\n# or\nyarn install\n# or\npnpm install\n```\n\n### Running an example\n\n1. Start a Hatchet worker:\n\n```bash\nnpm run start\n```\n\n2. In a new terminal, run the example task:\n\n```bash\nnpm run run:simple\n```\n\nThis will trigger the task on the worker running in the first terminal and print the output to the second terminal.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatchet-dev%2Fhatchet-typescript-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhatchet-dev%2Fhatchet-typescript-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatchet-dev%2Fhatchet-typescript-quickstart/lists"}