{"id":20886912,"url":"https://github.com/atao/raspberrypi-setup","last_synced_at":"2025-05-12T19:32:53.211Z","repository":{"id":42063979,"uuid":"389029140","full_name":"atao/raspberrypi-setup","owner":"atao","description":"⚡ Quickly setup my Raspberry Pi with Ansible !","archived":false,"fork":false,"pushed_at":"2024-06-18T18:22:09.000Z","size":207,"stargazers_count":29,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-06-19T14:46:07.211Z","etag":null,"topics":["ansible","automation","debian","docker","docker-container","jdownloader","mousejack","nfc","playbook","raspberry","raspberry-pi","raspberry-pi-setup","raspberrypi","rfid","roles","rpi","setup","wireless"],"latest_commit_sha":null,"homepage":"https://atao.github.io/raspberrypi-setup/","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/atao.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":"2021-07-24T07:18:21.000Z","updated_at":"2024-06-18T18:22:12.000Z","dependencies_parsed_at":"2024-02-21T10:32:21.423Z","dependency_job_id":"1012e5b4-8b70-4219-b34c-57727197152f","html_url":"https://github.com/atao/raspberrypi-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atao%2Fraspberrypi-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atao%2Fraspberrypi-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atao%2Fraspberrypi-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atao%2Fraspberrypi-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atao","download_url":"https://codeload.github.com/atao/raspberrypi-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225148790,"owners_count":17428443,"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","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":["ansible","automation","debian","docker","docker-container","jdownloader","mousejack","nfc","playbook","raspberry","raspberry-pi","raspberry-pi-setup","raspberrypi","rfid","roles","rpi","setup","wireless"],"created_at":"2024-11-18T08:18:27.058Z","updated_at":"2025-05-12T19:32:53.191Z","avatar_url":"https://github.com/atao.png","language":"Shell","readme":"# Raspberry Pi Setup\n\n[![YAML Lint](https://github.com/atao/raspberrypi-setup/actions/workflows/main.yml/badge.svg)](https://github.com/atao/raspberrypi-setup/actions/workflows/main.yml)\n\nThis [Ansible](https://www.ansible.com/) playbook is designed to rapidly set up your Raspberry Pi.\n\nIt's compatible with all models. It has been successfully tested on multiple models, including the Pi Zero W, Pi Zero 2W, and Pi 4B, among others. The playbook should work well on both Debian and Debian-based distributions.\n\n## Roles\n\nYou can choose what you want to install with tags :\n\n- **standard**, **std** : install [standard packages](roles/standard/vars/main.yml), configure .bashrc, .vimrc\n- **display** : configure my display with [LCD-show](https://github.com/goodtft/LCD-show)\n- **docker** : install Docker\n- **jackit** : install [jackit](https://github.com/insecurityofthings/jackit) for exploit code for Mousejack\n- ~~**multitor** : install a proxy with multiple TOR instances with load-balancing ([trimstray/multitor](https://github.com/trimstray/multitor)) \u0026rarr; [Known issues](https://github.com/atao/raspberrypi-setup/blob/main/roles/multitor/README.md)~~\n- **tor** : install Tor \u0026rarr; [README](roles/tor/README.md)\n- **rfid** : install RFID tools ([libnfc](https://github.com/nfc-tools/libnfc), [mfoc](https://github.com/nfc-tools/mfoc), [mfcuk](https://github.com/nfc-tools/mfcuk)) and keys from [MifareClassicTool](https://github.com/ikarus23/MifareClassicTool/tree/master/Mifare%20Classic%20Tool/app/src/main/assets/key-files) \u0026rarr; See [Notes](roles/rfid/README.md)\n- **sdr** : install SDR tools ([rtl_433](https://github.com/merbanan/rtl_433))\n- **web** : install nginx and certbot\n- **wifi** : install Wifi and GPS tools for wardriving\n\n_You will need to modify [this file](roles/display/tasks/main.yml) to configure the correct display._\n\nContainers :\n- **jd2** docker container for JDownloader 2 [jlesage/jdownloader-2](https://github.com/jlesage/docker-jdownloader-2) \u0026rarr; See [Configuration tips'](roles/containers/README.md)\n- **portainer** Portainer CE - a lightweight service delivery platform for containerized applications [portainer/portainer-ce](https://hub.docker.com/r/portainer/portainer-ce)\n- **proxy** [Rotating Tor HTTP proxy container](https://github.com/zhaow-de/rotating-tor-http-proxy)\n\n## Standalone\n\nTo setup directly from the Pi, run the following command :\nBefore run command you must setup your Pi with [Raspberry Pi Imager](https://www.raspberrypi.org/software/).\n\nNext run command :\n\n```\ncurl -s https://raw.githubusercontent.com/atao/raspberrypi-setup/main/install.sh | bash -s -- all\n```\n\n## Ansible\n\nTo setup run the following command :\n\n```\ngit clone https://github.com/atao/raspberrypi-setup.git\ncd raspberrypi-setup\nansible-playbook playbook.yml -i hosts --tags all --ask-become-pass\n```\n\nList playbook tasks :\n```\nansible-playbook playbook.yml -i hosts --list-tasks\n```\n\n## Examples\nInstall only some tags :\n```\ncurl -s https://raw.githubusercontent.com/atao/raspberrypi-setup/main/install.sh | bash -s -- standard,proxy,rfid,docker,web,jd2\n```\n\n## Debug\n```\nansible-lint playbook.yml\n```\nRun with option :\n```\n--syntax-check\n```\nIf you test it in WSL run this command before :\n```\nsudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED\nsudo apt install curl\n```\n--\n\nInspired from [geerlingguy / mac-dev-playbook](https://github.com/geerlingguy/mac-dev-playbook) and [nico2che / mac-setup](https://github.com/nico2che/mac-setup)\n","funding_links":[],"categories":["Projects"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatao%2Fraspberrypi-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatao%2Fraspberrypi-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatao%2Fraspberrypi-setup/lists"}