{"id":26907330,"url":"https://github.com/foxoman/openurl","last_synced_at":"2025-08-12T00:06:28.730Z","repository":{"id":39570172,"uuid":"505188687","full_name":"foxoman/openurl","owner":"foxoman","description":"Open Any Url/File in the default App / WebBrowser - based on nim std/browsers ","archived":false,"fork":false,"pushed_at":"2025-03-28T14:24:24.000Z","size":205,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T15:29:41.847Z","etag":null,"topics":["nim","open","uri","url"],"latest_commit_sha":null,"homepage":"","language":"Nim","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/foxoman.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}},"created_at":"2022-06-19T18:25:51.000Z","updated_at":"2025-03-28T14:24:28.000Z","dependencies_parsed_at":"2023-01-31T07:31:00.115Z","dependency_job_id":null,"html_url":"https://github.com/foxoman/openurl","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/foxoman/openurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxoman%2Fopenurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxoman%2Fopenurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxoman%2Fopenurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxoman%2Fopenurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxoman","download_url":"https://codeload.github.com/foxoman/openurl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxoman%2Fopenurl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269976794,"owners_count":24506467,"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-08-11T02:00:10.019Z","response_time":75,"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":["nim","open","uri","url"],"created_at":"2025-04-01T11:55:54.202Z","updated_at":"2025-08-12T00:06:28.679Z","avatar_url":"https://github.com/foxoman.png","language":"Nim","readme":"# openurl\n```\n  _                   _\n / \\ ._   _  ._  | | |_) |\n \\_/ |_) (/_ | | |_| | \\ |_\n     |            @FOXOMAN\n```\n Open Any Url/File in the default App / WebBrowser\n Sultan Al Isaee ~ foxoman @2022\n\n See MIT LICENSE.txt for details of the license.\n\n Support for MacOS, Windows, Haiku, android/termux, Unix/Linux.\n\n ### Install\n ```nimble install openurl```\n\n### API\n\n```openurl(PATH)```\n*PATH* can be a file/folder url or a website or even empty to open blank page\nin a browser.\n\n- **use raw string for file/folder path** ie: ```openurl(r\"c:\\dev\\folder\") ```\n- `url` for a website should start with http or https\n- compile with `-d:droid` to have support for android activity,in termux no need\n  to do that as unix `open` is supported.\n\n ### Example\n ```````````````````````````\nimport openurl\n\nwhen isMainModule:\n  echo \"\"\"\n  _                   _\n / \\ ._   _  ._  | | |_) |\n \\_/ |_) (/_ | | |_| | \\ |_\n     |            @FOXOMAN\n\"\"\"\n\n  if paramCount() \u003e 0:\n    echo \"[✔] Open: $1\" % [prepare paramStr(1)]\n    openUrl(paramStr(1))\n  else:\n    echo \"[✖] No URL input, a blank page will open.\"\n    openUrl()\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxoman%2Fopenurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxoman%2Fopenurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxoman%2Fopenurl/lists"}