{"id":20427072,"url":"https://github.com/pi4j/pi4j-os","last_synced_at":"2025-09-07T14:09:31.495Z","repository":{"id":44570831,"uuid":"385204830","full_name":"Pi4J/pi4j-os","owner":"Pi4J","description":"Raspberry Pi OS based with additional tooling for Java development","archived":false,"fork":false,"pushed_at":"2025-07-29T16:07:25.000Z","size":6819,"stargazers_count":17,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-29T19:03:18.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pi4J.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,"zenodo":null}},"created_at":"2021-07-12T10:11:01.000Z","updated_at":"2025-07-29T16:07:29.000Z","dependencies_parsed_at":"2024-11-13T11:19:08.656Z","dependency_job_id":"4967e126-add0-4925-843f-3a0f5c700927","html_url":"https://github.com/Pi4J/pi4j-os","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Pi4J/pi4j-os","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pi4J%2Fpi4j-os","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pi4J%2Fpi4j-os/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pi4J%2Fpi4j-os/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pi4J%2Fpi4j-os/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pi4J","download_url":"https://codeload.github.com/Pi4J/pi4j-os/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pi4J%2Fpi4j-os/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274046000,"owners_count":25212982,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-15T07:18:37.441Z","updated_at":"2025-09-07T14:09:31.474Z","avatar_url":"https://github.com/Pi4J.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pi4J V2 :: Tools to prepare Raspberry Pi OS for Java\n\n[![Contributors](https://img.shields.io/github/contributors/Pi4J/pi4j-os)](https://github.com/Pi4J/pi4j-os/graphs/contributors)\n[![License](https://img.shields.io/github/license/Pi4J/pi4j-os)](https://github.com/Pi4J/pi4j-os/blob/main/LICENSE)\n\nThis project provides some scripts to extend the official Raspberry Pi Operating System with additional tools to make it the perfect match for Java projects with Pi4J as described on [the Pi4J website \u003e Prepare a Raspberry Pi](https://www.pi4j.com/prepare/).\n\n## How To Use\n\n### Script to Setup for Java\n\n1. Prepare an SD Card with the **64-bit version of the Raspberry Pi Operating System**, see [the Pi4J website \u003e Prepare a Raspberry Pi \u003e Write OS to SD card](https://www.pi4j.com/prepare/sd-card/).\n2. Put the SD Card in your Raspberry Pi and start it.\n3. The board will probably reboot to do some basic settings.\n4. Make sure the board is connected to WiFi or cabled internet.\n5. Open the terminal and run this command:\n    ```shell\n    curl -sL https://raw.githubusercontent.com/Pi4J/pi4j-os/main/script/prepare-for-java.sh | bash\n    ```\n6. Make sure you see `All done! Have fun...` if the script finished. If not, you may need to run it again as one of the intermediate steps has stopped it.\n7. You're done! Check [the Pi4J website \u003e Getting Started With Pi4J](https://www.pi4j.com/getting-started/) for the next steps. Have fun with #JavaOnRaspberryPi.\n\n### Wallpaper\n\nAn additional Java (JBang) script is available to turn the desktop wallpaper into an information screen. This script will take an image as input, overlay some useful info as text (IP, Java version, etc.), and save this as a new image. This generated image is then pushed as the new wallpaper to the desktop.\n\n1. To install the script, open the terminal and run this command:\n   ```shell\n   curl -sL https://raw.githubusercontent.com/Pi4J/pi4j-os/main/script/install-wallpaper.sh | bash\n    ```\n2. Open the script:\n   ```shell\n   sudo nano /etc/NetworkManager/dispatcher.d/99-ip-change-notify\n   ````\n3. Adjust the `pi4j` username in the script (3 times) to match the one you use for your Raspberry Pi. E.g. on this line: `IP_FILE=\"/home/pi4j/wallpaper/current_ip_$interface.txt`.\n4. Save the file with `CTRL+X` + `y` + `ENTER`.\n\nThis will generate a result like this:\n\n![Screenshot of a generated wallpaper](screenshot/generated-wallpaper.png)\n\n## History Of This Repository\n\nThe original goal of this repository was to provide a build of the official Raspberry Pi OS with additional tools to prepare it for Java(FX) and Pi4J projects. Because it became difficult to support because of changes in the OS for the Raspberry Pi 5, we decided to stop this goal, and provide some scripts here that can help you to achieve the same result. You can still find the latest sources of the Pi4J OS here with the tag [end-of-os](https://github.com/Pi4J/pi4j-os/releases/tag/end-of-os).\n\n## License\n\nThis repository is licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the\nLicense. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpi4j%2Fpi4j-os","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpi4j%2Fpi4j-os","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpi4j%2Fpi4j-os/lists"}