Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/target
buf-setup.exe
bufusb-setup.exe


# fuck NixOS
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 0 additions & 41 deletions Install/PKGBUILD

This file was deleted.

22 changes: 11 additions & 11 deletions Install/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

[Setup]
AppId={{5D0F69A8-6A08-440E-AFC6-E809B1B82C88}
AppName=buf
AppName=bufusb
AppVersion={#BufAppVersion}
AppPublisher=Bryson Kelly
AppPublisherURL=https://github.com/brysonak/buf
AppSupportURL=https://github.com/brysonak/buf/issues
AppUpdatesURL=https://github.com/brysonak/buf/releases
DefaultDirName={autopf}\buf
DefaultGroupName=buf
AppPublisherURL=https://github.com/brysonak/bufusb
AppSupportURL=https://github.com/brysonak/bufusb/issues
AppUpdatesURL=https://github.com/brysonak/bufusb/releases
DefaultDirName={autopf}\bufusb
DefaultGroupName=bufusb
DisableProgramGroupPage=yes
LicenseFile=..\LICENSE
VersionInfoVersion={#BufAppVersion}
VersionInfoCompany=Bryson Kelly
VersionInfoDescription=buf bootable USB flasher installer
VersionInfoDescription=bufusb bootable USB flasher installer
VersionInfoCopyright=Bryson Kelly
OutputDir=..\install
OutputBaseFilename=buf-setup
OutputBaseFilename=bufusb-setup

Compression=lzma2
SolidCompression=yes
Expand All @@ -37,13 +37,13 @@ Name: "english"; MessagesFile: "compiler:Default.isl"


[Files]
Source: "..\target\release\buf.exe"; DestDir: "{app}"; DestName: "buf.exe"; Flags: ignoreversion
Source: "..\target\release\bufusb.exe"; DestDir: "{app}"; DestName: "bufusb.exe"; Flags: ignoreversion
Source: "..\buf-cli\logo.ico"; DestDir: "{app}"; Flags: ignoreversion


[Icons]
Name: "{group}\buf"; Filename: "{app}\buf.exe"; IconFilename: "{app}\logo.ico"
Name: "{group}\Uninstall buf"; Filename: "{uninstallexe}"
Name: "{group}\bufusb"; Filename: "{app}\bufusb.exe"; IconFilename: "{app}\logo.ico"
Name: "{group}\Uninstall bufusb"; Filename: "{uninstallexe}"


[Code]
Expand Down
8 changes: 4 additions & 4 deletions Install/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
set -eu
REPO="https://github.com/brysonak/buf.git"
BIN="buf"
REPO="https://github.com/brysonak/bufusb.git"
BIN="bufusb"
PREFIX="${PREFIX:-/usr/local}"
INSTALL_DIR="$PREFIX/bin"
require() {
Expand All @@ -20,7 +20,7 @@ case "$(uname -s)" in
esac
if [ -f /etc/NIXOS ]; then
printf 'NixOS detected, use the flake instead:\n' >&2
printf ' nix profile install github:brysonak/buf\n' >&2
printf ' nix profile install github:brysonak/bufusb\n' >&2
exit 1
fi
require git
Expand All @@ -31,7 +31,7 @@ trap 'rm -rf "$CLONE_DIR"' EXIT
printf 'Cloning %s...\n' "$REPO"
git clone --depth 1 "$REPO" "$CLONE_DIR"
cd "$CLONE_DIR"
cargo build --release --package buf
cargo build --release --package bufusb
if [ ! -f "target/release/$BIN" ]; then
printf 'Error: build failed, target/release/%s not found.\n' "$BIN" >&2
exit 1
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# buf
# bufusb
![buf logo](buf.png)
**B**ootable **U**SB **F**lasher is a tool made for flashing .iso/.img files onto USB drives, for booting into operating systems of course...
Is it bootable USB flasher or Bryson's USB flasher?

buf is fully cross-platform and open source, under [GPL-v3](https://www.gnu.org/licenses/gpl-3.0.html).
bufusb is fully cross-platform and open source, under [GPL-v3](https://www.gnu.org/licenses/gpl-3.0.html).

Logo made by [Mia](https://github.com/marshmallow-mia)

Expand All @@ -18,9 +18,9 @@ Pre-requisites:

Run the following commands:
```bash
git clone https://github.com/brysonak/buf.git
git clone https://github.com/brysonak/bufusb.git

cd buf
cd bufusb

cargo build --release
```
Expand Down
4 changes: 2 additions & 2 deletions buf-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "buf"
name = "bufusb"
version = "0.2.3"
edition = "2021"
description = "A fast, safe bootable USB flasher"

[[bin]]
name = "buf"
name = "bufusb"
path = "src/main.rs"

[dependencies]
Expand Down
8 changes: 4 additions & 4 deletions buf-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ use log::{debug, error, info, warn};

#[derive(Parser, Debug)]
#[command(
name = "buf",
name = "bufusb",
version = "0.2.3",
long_version = "0.2.3\n Copyright (C) 2026 Bryson Kelly\n This program comes with ABSOLUTELY NO WARRANTY; for details, visit: https://github.com/brysonak/buf/blob/main/LICENSE\n This is free software, and you are welcome to redistribute it\n under certain conditions.",
long_version = "0.2.3\n Copyright (C) 2026 Bryson Kelly\n This program comes with ABSOLUTELY NO WARRANTY; for details, visit: https://github.com/brysonak/bufusb/blob/main/LICENSE\n This is free software, and you are welcome to redistribute it\n under certain conditions.",
author = "Bryson Kelly",
about = "A fast, safe bootable USB image flasher",
long_about = None,
after_help = "For full documentation, please visit: https://github.com/brysonak/buf/blob/main/docs/docs.md",
after_help = "For full documentation, please visit: https://github.com/brysonak/bufusb/blob/main/docs/docs.md",
styles = clap_styles(),
)]
struct Cli {
Expand Down Expand Up @@ -166,7 +166,7 @@ fn run(cli: Cli) -> Result<()> {
println!("Logging to: {}", path.display());
}

info!("buf started");
info!("bufusb started");
debug!("Parsed CLI args: {:?}", cli);

let source = cli
Expand Down
Loading