{"id":18420839,"url":"https://github.com/candy-line/raspbian-tools","last_synced_at":"2026-04-29T09:01:48.394Z","repository":{"id":77109202,"uuid":"64302784","full_name":"CANDY-LINE/raspbian-tools","owner":"CANDY-LINE","description":null,"archived":false,"fork":false,"pushed_at":"2016-09-16T06:09:55.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T00:45:19.645Z","etag":null,"topics":["raspberry-pi"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CANDY-LINE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-07-27T11:25:27.000Z","updated_at":"2017-09-08T04:09:37.000Z","dependencies_parsed_at":"2023-02-28T16:16:36.928Z","dependency_job_id":null,"html_url":"https://github.com/CANDY-LINE/raspbian-tools","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CANDY-LINE/raspbian-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CANDY-LINE%2Fraspbian-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CANDY-LINE%2Fraspbian-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CANDY-LINE%2Fraspbian-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CANDY-LINE%2Fraspbian-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CANDY-LINE","download_url":"https://codeload.github.com/CANDY-LINE/raspbian-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CANDY-LINE%2Fraspbian-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["raspberry-pi"],"created_at":"2024-11-06T04:23:13.393Z","updated_at":"2026-04-29T09:01:48.376Z","avatar_url":"https://github.com/CANDY-LINE.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"raspbian-tools\n===\n\n[![GitHub release](https://img.shields.io/github/release/CANDY-LINE/raspbian-tools.svg)](https://github.com/CANDY-LINE/raspbian-tools/releases/latest)\n[![License MIT](https://img.shields.io/github/license/CANDY-LINE/raspbian-tools.svg)](http://opensource.org/licenses/MIT)\n\n# ToC\n\n* [Raspbian Flash Tool](#raspbian-flash-tool)\n* [Waiting for RPi's SSH to be available](#waiting-for-rpis-ssh-to-be-available)\n\n# Raspbian Flash Tool\n\n** CAUTION: USE AT YOUR OWN RISK, NOT RESPONSIBLE FOR ANY ACCIDENTS **\n\nThe script allows you to download and flash the latest version of Raspbian OS to your SD card. The downloaded image is stored in `img` folder (NOTE: the owner is `root` as the script is run as root) with ETag and Last-Modified information which is used for detecting the image update compared to the local one.\n\nThe size of SD card must be 8GB or more.\n\n* KNOWN LIMITATIONS\n    - This tool may not work properly when 2 or more SD cards are inserted to Mac\n    - SD card is expected to be formatted with FAT32 or Linux file system\n\n## Supported OS\n\n- MacOS\n\n## Usage\n\n```\n$ cd path/to/raspbian-tools\n$ sudo ./raspbian-sd-flash-mac.sh\n```\n\nThe script asks you if the selected disk is the SD card you'd like to install Raspbian.\nMake sure it's a valid SD card and enter `y` then the installation will be started.\n\nPlease be careful to answer `y` because the selected disk will be erased and its data will be gone.\n\nThe command will take around 15 minutes (depending on SD card class).\n\n### Example output\n\n```\nPassword: (enter-your-password)\n[INFO] Remote ETag [\"c055d-53152af2-533d18ef29fc0\"]\n[INFO] Local ETag  [\"c055d-53152af2-533d18ef29fc0\"]\n[INFO] Remote Last-Modified [Fri, 27 May 2016 11:53:43 GMT]\n[INFO] Local Last-Modified  [Fri, 27 May 2016 11:53:43 GMT]\n[INFO] IDENTICAL!! Skip to download\nArchive:  ./img/raspbian_latest.zip\n  inflating: ./img/2016-05-27-raspbian-jessie.img  \nls: ./img/*.ext4: No such file or directory\n[INFO] I've found the following SD card.\n/dev/disk2 (internal, physical):\n   #:                       TYPE NAME                    SIZE       IDENTIFIER\n   0:     FDisk_partition_scheme                        *4.0 GB     disk2\n   1:             Windows_FAT_32 boot                    66.1 MB    disk2s1\n   2:                      Linux                         3.9 GB     disk2s2\n[ALERT] I'm going to flash Raspbian OS to the SD card. Are you sure to continue? (y/N)\ny\n[INFO] Got it. Now working...\nUnmount of disk2 failed: at least one volume could not be unmounted\n[INFO] Starting dd....\ndd: /dev/rdisk2: short write on character device\ndd: /dev/rdisk2: Input/output error\n3782+0 records in\n3781+1 records out\n3965190144 bytes transferred in 789.804068 secs (5020473 bytes/sec)\n[INFO] OK\n```\n\n## Tested Raspbian versions\n\n* 2016-05-27\n\n# Waiting for RPi's SSH to be available\n\nThe script tells you if SSH on your RPi is available.\n\n## Supported OS\n\n- MacOS\n- Linux\n\n## Usage\n\n```\n$ cd path/to/raspbian-tools\n$ ./wait_for_rpi_ssh.sh\n```\n\n### Example output\n\n```\n[INFO] Looking for raspberrypi.local...\n...\n[INFO] Testing SSH to pi@raspberrypi.local\n[INFO]\n[INFO] OK\n[INFO] SSH is ready. Run 'ssh pi@raspberrypi.local'\n```\n\n## Revision History\n* 1.0.0\n  - Initial Release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandy-line%2Fraspbian-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcandy-line%2Fraspbian-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandy-line%2Fraspbian-tools/lists"}