Skip to content

zocker-160/simpleflash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleFlash

SimpleFlash is a command-line tool written in Go for flashing to and backing up from USB drives following the KISS principle.

It features a simple selection menu and should be easy to use.

img

⚙️ Features

  • Flash disk images (.img, .img.xz, .img.gz) onto USB devices
  • Create (compressed) raw image backups from USB drives
  • Img2Img conversion for (de)compressing image files
  • Transfer image file over SSH (experimental)
  • Straightforward, no external dependencies
  • Interactive TUI using Charmbracelet Huh

🧰 Getting Started

Prerequisites

  • Linux
  • Go (≥ 1.21 recommended)
  • Root access

Installation

Clone the repository and build:

git clone https://github.com/zocker-160/simpleflash.git
cd simpleflash
make

This will compile the simpleflash binary.

Alternatively, install via Go:

go install github.com/zocker-160/simpleflash@latest

💻 Usage

sudo simpleflash <imagefile>

imagefile option is optional and will be used as source / target when provided.

🛡️ License

Released under the GPL‑3.0 License. See the LICENSE file for full terms.

About

Simple CLI application for flashing to and backing up from USB drives

Resources

License

Stars

Watchers

Forks