{"id":50426611,"url":"https://github.com/dottmp/https-am-i-mullvad","last_synced_at":"2026-05-31T11:02:16.580Z","repository":{"id":353990221,"uuid":"1221662286","full_name":"dottmp/https-am-i-mullvad","owner":"dottmp","description":"A simple script that checks your IP address against mullvads https://am.i.mullvad.net/ service.","archived":false,"fork":false,"pushed_at":"2026-05-10T17:57:58.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-10T19:32:31.343Z","etag":null,"topics":["mullvad","mullvad-vpn","vpn","waybar"],"latest_commit_sha":null,"homepage":"","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/dottmp.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-26T14:18:22.000Z","updated_at":"2026-05-10T17:58:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dottmp/https-am-i-mullvad","commit_stats":null,"previous_names":["dottmp/https-am-i-mullvad"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dottmp/https-am-i-mullvad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dottmp%2Fhttps-am-i-mullvad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dottmp%2Fhttps-am-i-mullvad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dottmp%2Fhttps-am-i-mullvad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dottmp%2Fhttps-am-i-mullvad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dottmp","download_url":"https://codeload.github.com/dottmp/https-am-i-mullvad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dottmp%2Fhttps-am-i-mullvad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33728391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"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":["mullvad","mullvad-vpn","vpn","waybar"],"created_at":"2026-05-31T11:02:16.002Z","updated_at":"2026-05-31T11:02:16.569Z","avatar_url":"https://github.com/dottmp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# https-am-i-mullvad\n\nUsing https-am-i-mullvad, you can check if your connection is using Mullvad VPN or not without having to install their cli. It is a simple command-line tool that checks your IP address against mullvads \u003chttps://am.i.mullvad.net/\u003e service.\n\n\u003e NOTE: Be nice to their service and don't set the interval too low, 60 seconds is a good starting point. (◕‿◕✿)\n\n## Commands\n\n| Command     | Description                                                                   |\n| ----------- | ----------------------------------------------------------------------------- |\n| \\* / waybar | Checks if the connection is using Mullvad VPN and returns the status as JSON. |\n| copy        | Copies the current IP address to the clipboard.                               |\n| json        | Returns the full JSON response from the Mullvad service.                      |\n| status      | Returns only the status of the connection (connected, disconnected).          |\n\n## Getting https-am-i-mullvad to work with waybar\n\n**1. Clone the repo**\n\n```sh\ngit clone git@github.com:dottmp/https-am-i-mullvad.git\n```\n\n**2. Run the install script**\n\n```sh\n./install.sh\n```\n\nThis copies `https-am-i-mullvad.sh` to `~/.local/bin/https-am-i-mullvad`.\n\n**3. Add the module to your waybar config**\n\nPaste the module into your `~/.config/waybar/config.jsonc`\n\n```jsonc\n  \"modules-center\": [\"custom/https-am-i-mullvad\"],\n\n  \"custom/https-am-i-mullvad\": {\n    \"format\": \"m\",\n    \"exec\": \"https-am-i-mullvad\",\n    \"interval\": 60,\n    \"return-type\": \"json\",\n    \"on-click-right\": \"https-am-i-mullvad copy\",\n    \"on-click\": \"https-am-i-mullvad\",\n  },\n```\n\n**4. Add some sweet sweet css to your custom module**\n\n```css\n/* waybar/styles.css probably?*/\n\n@define-color error #F96184;\n@define-color foreground #D3D9FF;\n@define-color success #01D38F;\n\n#custom-https-am-i-mullvad {\n  min-width: 14px;\n  margin: 0 7.5px;\n}\n\n#custom-https-am-i-mullvad.connecting {\n  color: @foreground;\n}\n#custom-https-am-i-mullvad.connected {\n  color: @success;\n}\n#custom-https-am-i-mullvad.disconnected {\n  font-size: 16px;\n  margin: 0 7.5px 0 4.5px;\n  color: @error;\n}\n```\n\n**5. Restart waybar**\n\n```sh\nkillall waybar \u0026\u0026 waybar \u0026\n```\n\nfinish\n\n## Contributing\n\nContributions are welcome! Please submit pull requests or open issues for any suggestions, bug reports, or improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdottmp%2Fhttps-am-i-mullvad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdottmp%2Fhttps-am-i-mullvad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdottmp%2Fhttps-am-i-mullvad/lists"}