{"id":21590469,"url":"https://github.com/svelterust/bun-flake","last_synced_at":"2025-07-17T00:30:57.598Z","repository":{"id":107171803,"uuid":"568131735","full_name":"svelterust/bun-flake","owner":"svelterust","description":"Flake for Bun","archived":true,"fork":false,"pushed_at":"2023-01-08T19:46:53.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T10:14:19.432Z","etag":null,"topics":["bun","flake"],"latest_commit_sha":null,"homepage":"","language":"Nix","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/svelterust.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":"2022-11-19T14:53:14.000Z","updated_at":"2023-09-30T11:42:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"009c78e8-5bad-41ca-8a2d-b4b42c14af90","html_url":"https://github.com/svelterust/bun-flake","commit_stats":null,"previous_names":["svelterust/bun-flake"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/svelterust/bun-flake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelterust%2Fbun-flake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelterust%2Fbun-flake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelterust%2Fbun-flake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelterust%2Fbun-flake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svelterust","download_url":"https://codeload.github.com/svelterust/bun-flake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svelterust%2Fbun-flake/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265554756,"owners_count":23787278,"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","flake"],"created_at":"2024-11-24T16:18:17.012Z","updated_at":"2025-07-17T00:30:57.223Z","avatar_url":"https://github.com/svelterust.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bun-flake\n\n```\n$ nix flake show github:knarkzel/bun-flake\n└───packages\n    └───x86_64-linux\n        └───default: package 'bun-0.4.0'\n$ nix build github:knarkzel/bun-flake\n$ ./result/bin/bun\nbun: a fast bundler, transpiler, JavaScript Runtime and package manager for web software.\n\n  run       ./my-script.ts        Run JavaScript with bun, a package.json script, or a bin\n  x         bun-repl              Install and execute a package bin (bunx)\n\n  init                            Start an empty Bun project from a blank template\n  create    next ./app            Create a new project from a template (bun c)\n  install                         Install dependencies for a package.json (bun i)\n  add       @evan/duckdb          Add a dependency to package.json (bun a)\n  link                            Link an npm package globally\n  remove    browserify            Remove a dependency from package.json (bun rm)\n  unlink                          Globally unlink an npm package\n  pm                              More commands for managing packages\n\n  dev       ./a.ts ./b.jsx        Start a bun (frontend) Dev Server\n  bun       ./a.ts ./b.jsx        Bundle dependencies of input files into a .bun\n\n  upgrade                         Get the latest version of bun\n  completions                     Install shell completions for tab-completion\n  discord                         Open bun's Discord server\n  help                            Print this help menu\n```\n\n## Minimal example\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs/nixos-22.11\";\n    bun-flake = {\n      url = \"github:knarkzel/bun-flake\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n  };\n\n  outputs = {\n    self,\n    nixpkgs,\n    bun-flake,\n  }: let\n    pkgs = import nixpkgs {system = \"x86_64-linux\";};\n    bun = bun-flake.packages.x86_64-linux.default;\n  in {\n    devShells.x86_64-linux.default = pkgs.mkShell {\n      buildInputs = [bun];\n    };\n  };\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvelterust%2Fbun-flake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvelterust%2Fbun-flake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvelterust%2Fbun-flake/lists"}