{"id":30108970,"url":"https://github.com/ohmydevops/ohmynet","last_synced_at":"2026-05-18T19:04:01.800Z","repository":{"id":308188373,"uuid":"1031918409","full_name":"ohmydevops/ohmynet","owner":"ohmydevops","description":"Which interface has the internet? I'll choose that one! (Linux distors only)","archived":false,"fork":false,"pushed_at":"2025-08-04T15:22:45.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-04T19:16:58.732Z","etag":null,"topics":["bash","internet","iran","routing"],"latest_commit_sha":null,"homepage":"https://github.com/ohmydevops/ohmynet","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/ohmydevops.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":"2025-08-04T14:25:43.000Z","updated_at":"2025-08-04T15:49:19.000Z","dependencies_parsed_at":"2025-08-04T19:20:41.331Z","dependency_job_id":"1550eba8-26da-453f-9489-62e841adaa39","html_url":"https://github.com/ohmydevops/ohmynet","commit_stats":null,"previous_names":["ohmydevops/ohmynet"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ohmydevops/ohmynet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmydevops%2Fohmynet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmydevops%2Fohmynet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmydevops%2Fohmynet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmydevops%2Fohmynet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohmydevops","download_url":"https://codeload.github.com/ohmydevops/ohmynet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmydevops%2Fohmynet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903018,"owners_count":26065786,"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-10-08T02:00:06.501Z","response_time":56,"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":["bash","internet","iran","routing"],"created_at":"2025-08-10T03:19:55.290Z","updated_at":"2025-10-08T06:41:24.235Z","avatar_url":"https://github.com/ohmydevops.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛠️ Ohmynet - Auto Internet Interface Switcher\n\n**Ohmynet** is a Bash script that continuously monitors internet connectivity and automatically switches to a working network interface if the current one goes offline.\n\n## 🔍 Features\n\n- Checks for internet connectivity every 3 seconds\n- Detects the default route interface\n- Switches to an alternative connected interface if internet is lost\n- Uses `nmcli` to bring connections up/down (safe with NetworkManager)\n- Works with multiple interfaces: Ethernet, Wi-Fi, USB NICs, etc.\n\n---\n\n## 🚀 Usage\n\n- Run script:\n\n   ```bash\n   wget -qO- https://raw.githubusercontent.com/ohmydevops/ohmynet/main/ohmynet.sh | bash\n   ```\n\n- It should be:\n\n![sample](./screenshot.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmydevops%2Fohmynet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohmydevops%2Fohmynet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmydevops%2Fohmynet/lists"}