{"id":28355157,"url":"https://github.com/codesoap/urlopen","last_synced_at":"2025-06-11T18:38:57.810Z","repository":{"id":146242083,"uuid":"245519294","full_name":"codesoap/urlopen","owner":"codesoap","description":"Automatically open different URLs with different programs.","archived":false,"fork":false,"pushed_at":"2020-03-08T16:14:59.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T09:36:00.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/codesoap.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":"2020-03-06T21:24:30.000Z","updated_at":"2020-03-08T16:15:01.000Z","dependencies_parsed_at":"2023-06-28T17:45:54.610Z","dependency_job_id":null,"html_url":"https://github.com/codesoap/urlopen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codesoap/urlopen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesoap%2Furlopen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesoap%2Furlopen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesoap%2Furlopen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesoap%2Furlopen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codesoap","download_url":"https://codeload.github.com/codesoap/urlopen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesoap%2Furlopen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259317319,"owners_count":22839535,"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":[],"created_at":"2025-05-28T03:38:07.011Z","updated_at":"2025-06-11T18:38:57.794Z","avatar_url":"https://github.com/codesoap.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"`urlopen` takes an URL as input and passes it to different programs,\ndepending on the type of the given URL. It is intended to be used with\ntools like\n[ddgr](https://github.com/jarun/ddgr)/[googler](https://github.com/jarun/googler),\n[newsboat](https://github.com/newsboat/newsboat) or\n[tuir](https://gitlab.com/ajak/tuir).\n\nThe type of URL is determined using regex patterns (see the `patterns`\nconstant in `main.go`). Feel free to create pull requests for new\npatterns!\n\n# Examples\nThere isn't much to show, but here are some examples with brief\nexplanations:\n```console\n$ # You could configure urlopen to play YouTube videos with mpv:\n$ urlopen 'https://www.youtube.com/watch?v=gWsYaOM6pRg'\n\n$ # You could configure urlopen to download and display pictures with\n$ # wget and sxiv:\n$ urlopen 'https://upload.wikimedia.org/wikipedia/commons/e/e1/Lada_Niva%2C_Sabir_%28P1090298%29.jpg'\n\n$ # By default, Firefox is used as a fallback for opening unrecognized\n$ # URLs:\n$ urlopen 'https://en.wikipedia.org/wiki/Fukushima_Daiichi_nuclear_disaster'\n```\n\n# Installation\nTo install the binary to `~/go/bin/urlopen`, execute these steps (this\nis using go modules, so it will only work with go version \u003e=1.13, or\nso):\n```\ngit clone 'https://github.com/codesoap/urlopen.git'\ncd urlopen\ngo install\n```\n\n# Configuration\nTo configure `urlopen`, you have to edit `config.go`, then rebuild and\ninstall the program with `go install`. Examples and details are given in\nthe file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesoap%2Furlopen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesoap%2Furlopen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesoap%2Furlopen/lists"}