{"id":16587579,"url":"https://github.com/optixal/raspberrypi","last_synced_at":"2026-04-20T02:35:46.052Z","repository":{"id":106328077,"uuid":"89740660","full_name":"Optixal/RaspberryPi","owner":"Optixal","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-12T11:18:24.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-01T20:19:57.160Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Optixal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-04-28T20:02:03.000Z","updated_at":"2023-01-12T11:18:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f99ba211-e297-4872-aca6-85e11bf99955","html_url":"https://github.com/Optixal/RaspberryPi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Optixal/RaspberryPi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2FRaspberryPi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2FRaspberryPi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2FRaspberryPi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2FRaspberryPi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Optixal","download_url":"https://codeload.github.com/Optixal/RaspberryPi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optixal%2FRaspberryPi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32030246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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-10-11T22:54:33.391Z","updated_at":"2026-04-20T02:35:46.017Z","avatar_url":"https://github.com/Optixal.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RaspberryPi\n\nInstall Raspberry Pi Imager, and flash 64-bit Raspberry Pi OS with Desktop to microsd card.\n\n## Essentials\n\n```sh\nsudo apt update \u0026\u0026 sudo apt upgrade -y\nsudo apt autoremove -y\n\nsudo raspi-config\n# Enable SSH\n# Enable VNC\n# Change hostname to `pi`\n```\n\n```sh\nsudo apt install neovim tmux -y\n```\n\n#### Avahi mDNC\n1. Ensure avahi-daemon is running with `sudo service avahi-daemon status` (should be by default)\n2. You can now `ssh pi.local`\n\n#### SSH\n1. `ssh-copy-id` over SSH pub key\n2. `sudo service ssh reload` on pi\n3. Set `PasswordAuthentication no` in `/etc/ssh/sshd_config`\n4. Do ``eval `ssh-agent` \u0026\u0026 ssh-add`` and `ssh pi.local` for fast login\n\n#### VNC\nOnce enabled, login with regular username and password combination\n\n## ZeroTier\n```sh\ncurl -s https://install.zerotier.com | sudo bash\nsudo zerotier-cli join [network]\n# accept on my.zerotier.com\nsudo zerotier-cli listnetworks\n```\n\n### ZeroTier VPN Router\n```sh\nsudo zerotier-cli join [vpn network]\n# accept on my.zerotier.com\n# managed route 1: 0.0.0.0/0 via [raspberry pi assigned zerotier ip]\n# managed route 2: [zerotier network range] via (LAN)\nsudo zerotier-cli listnetworks\n\n# Enable and persist ipv4 forwarding\nsudo vim /etc/sysctl.conf # uncomment #net.ipv4.ip_forward=1\nsudo sysctl -p /etc/sysctl.conf\n\n# iptables masquerading or snat (had some issues)\nsudo iptables -t nat -A POSTROUTING -s [zerotier network range] -o eth0 -j MASQUERADE\n\n# Persist iptables rule\nsudo apt install iptables-persistent -y # yes to ipv4, no to ipv6\ncat /etc/iptables/rules.v4 # check if rules are saved here, if not, run: sudo iptables-save \u003e /etc/iptables/rules.v4\n```\n\n\n## Node\n```sh\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash\n\n# Reopen terminal, or run the following:\nexport NVM_DIR=\"$HOME/.nvm\"\n[ -s \"$NVM_DIR/nvm.sh\" ] \u0026\u0026 \\. \"$NVM_DIR/nvm.sh\"  # This loads nvm\n[ -s \"$NVM_DIR/bash_completion\" ] \u0026\u0026 \\. \"$NVM_DIR/bash_completion\"  # This loads nvm bash_completion\n\nnvm install --lts\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptixal%2Fraspberrypi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptixal%2Fraspberrypi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptixal%2Fraspberrypi/lists"}