https://github.com/eighty4/binny.sh
Install scripts for GitHub release binaries
https://github.com/eighty4/binny.sh
c cpp cross-platform devtools go rust supply-chain-management zig
Last synced: 2 months ago
JSON representation
Install scripts for GitHub release binaries
- Host: GitHub
- URL: https://github.com/eighty4/binny.sh
- Owner: eighty4
- Created: 2023-12-11T23:40:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-24T17:10:43.000Z (over 1 year ago)
- Last Synced: 2025-02-24T18:24:10.968Z (over 1 year ago)
- Topics: c, cpp, cross-platform, devtools, go, rust, supply-chain-management, zig
- Language: TypeScript
- Homepage: https://install.eighty4.tech
- Size: 323 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# binny.sh
## Development
The frontend and lambdas packages will require environment variables
with [GitHub client credentials for a GitHub OAuth application](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app).
See each package's .env file for environment variable names.
### Interactive update with `pnpm`
The update command can be used interactively and recursively to upgrade project dependencies:
```bash
pnpm update --interactive --latest --recursive
```
## Example install scripts in the wild
Here is a list of install scripts for popular applications that inspired Binny.sh:
- [Astral uv](https://docs.astral.sh/uv/getting-started/installation/)
- [Astral ruff](https://docs.astral.sh/ruff/installation/)
- [Homebrew](https://brew.sh/)
- [pnpm](https://pnpm.io/installation/)
- [rustup](https://rustup.rs/)
- [Wasmtime](https://wasmtime.dev/)
# Create PR via APIs
## Create branch
### Get HEAD sha of a branch
`GET /repos/{owner}/{repo}/git/ref/heads/{branch_name}`
### Create branch from HEAD commit
`POST /repos/{owner}/{repo}/git/refs`
```json
{
"ref": "refs/heads/YOUR_NEW_BRANCH_NAME",
"sha": "COMMIT_SHA_TO_BRANCH_FROM"
}
```
### Create pull request
[API docs](https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#create-a-pull-request)
## todos
- remove vitest from template
- review ci_verify workflow and script
- template version compiled by ts uses require() which won't work in browser