{"id":14156632,"url":"https://github.com/dayblox/bun","last_synced_at":"2025-08-06T03:31:04.775Z","repository":{"id":193770684,"uuid":"689332340","full_name":"dayblox/bun","owner":"dayblox","description":"Bun starter","archived":false,"fork":false,"pushed_at":"2024-11-28T00:08:59.000Z","size":3,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-28T01:19:45.468Z","etag":null,"topics":["bun","typescript"],"latest_commit_sha":null,"homepage":"https://railway.app/template/G3k1Tv?referralCode=bonus","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/dayblox.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":"2023-09-09T13:28:28.000Z","updated_at":"2024-11-28T00:09:03.000Z","dependencies_parsed_at":"2023-11-23T11:28:36.302Z","dependency_job_id":"ffb4725c-1282-454a-8747-b2dc03a311b5","html_url":"https://github.com/dayblox/bun","commit_stats":null,"previous_names":["dayblox/bun-ts","dayblox/bun"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayblox%2Fbun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayblox%2Fbun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayblox%2Fbun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayblox%2Fbun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dayblox","download_url":"https://codeload.github.com/dayblox/bun/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228835541,"owners_count":17979163,"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":["bun","typescript"],"created_at":"2024-08-17T08:07:26.297Z","updated_at":"2025-08-06T03:31:04.766Z","avatar_url":"https://github.com/dayblox.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","typescript"],"sub_categories":[],"readme":"# Bun starter\n\n![](../../actions/workflows/ci.yml/badge.svg)\n\n[![](https://railway.app/button.svg)](https://railway.app/template/G3k1Tv?referralCode=bonus)\n\n## Key Features\n\n- [\u003cimg src=\"https://user-images.githubusercontent.com/17180392/211619716-8630ae1a-e5ea-424f-87a6-f3188edae821.svg\" height=19.2 align=center /\u003e TypeScript](https://www.typescriptlang.org/)\n  - [Typed environment variables](src/env.ts#L4)\n- [\u003cimg src=\"https://github-production-user-asset-6210df.s3.amazonaws.com/17180392/266803654-ac5f086c-71ec-493a-a377-784cec2dc525.svg\" height=19.2 align=center /\u003e Bun](https://bun.sh/)\n  - [Debugging](.vscode/launch.json)\n  - [ESM \u0026 CommonJS compatibility](https://bun.sh/docs/runtime/modules#module-systems)\n  - [Fast package manager](https://bun.sh/docs/cli/install)\n  - [Fast runtime](https://bun.sh/docs/cli/run#performance)\n  - [Fast test runner](https://bun.sh/docs/cli/test#performance)\n  - [Highly optimized APIs](https://bun.sh/docs/runtime/bun-apis)\n  - [Hot reloading](https://bun.sh/docs/runtime/hot#hot-mode)\n  - [TypeScript first class support](https://bun.sh/docs/runtime/typescript)\n- [\u003cimg src=\"https://github-production-user-asset-6210df.s3.amazonaws.com/17180392/266780371-74b32ff7-5cc3-45e1-af80-923a05c9f87b.svg\" height=19.2 align=center /\u003e Biome](https://biomejs.dev/)\n  - [Fast formatting](https://github.com/biomejs/biome/tree/main/benchmark#formatting)\n  - [Fast linting](https://github.com/biomejs/biome/tree/main/benchmark#linting)\n  - [Import sorting](https://biomejs.dev/analyzer/import-sorting/)\n- [\u003cimg src=\"https://user-images.githubusercontent.com/124377191/228447757-78408c15-e914-4fb3-9135-f1ff45ee3fce.svg\" height=19.2 align=center /\u003e GitHub](https://github.com)\n  - [One click template](https://github.com/dayblox/bun/generate)\n  - [Continuous Integration](.github/workflows/ci.yml)\n\n## Prerequisites\n\n- [\u003cimg src=\"https://github-production-user-asset-6210df.s3.amazonaws.com/17180392/266803654-ac5f086c-71ec-493a-a377-784cec2dc525.svg\" height=19.2 align=center /\u003e Bun](https://bun.sh/) `\u003e=1.0.0`\n  - [All-in-one toolkit](https://bun.sh/docs)\n  - [JavaScript runtime](https://bun.sh/docs/cli/run)\n  - [Package manager](https://bun.sh/docs/cli/install)\n  - [Test runner](https://bun.sh/docs/cli/test)\n  - [Bundler](https://bun.sh/docs/bundler)\n\n## Getting Started\n\n1.  **[Deploy on Railway](https://railway.app/template/G3k1Tv?referralCode=bonus)** or **[use this template](https://github.com/dayblox/bun/generate)**\n\n2.  **Clone** the repository\n\n3.  **Install** dependencies\n\n    ```sh\n    bun i\n    ```\n\n    #\n\n    _Optionally_ typecheck environment variables\n\n    `.env`\n\n    ```env\n    PORT=3000\n    ```\n\n    `src/env.ts` ([docs](https://v4.zod.dev/api#primitives))\n\n    ```ts\n    const env = z.object({\n      PORT: z.coerce.number().positive().max(65535).default(3000),\n    });\n    ```\n\n## Usage\n\n- **Development** mode\n\n  ```sh\n  bun dev\n  ```\n\n- **Development debug** mode (VSCode)\n\n  `F5`\n\n- Running **tests** (**watch** mode)\n\n  ```sh\n  bun test --watch\n  ```\n\n- **Production** mode\n\n  ```sh\n  bun start\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayblox%2Fbun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdayblox%2Fbun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayblox%2Fbun/lists"}