{"id":15655022,"url":"https://github.com/zkat/supports-hyperlinks","last_synced_at":"2025-04-05T03:07:47.682Z","repository":{"id":57668997,"uuid":"405278228","full_name":"zkat/supports-hyperlinks","owner":"zkat","description":"Detect whether the current terminal supports rendering hyperlinks","archived":false,"fork":false,"pushed_at":"2024-11-26T09:12:37.000Z","size":43,"stargazers_count":27,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T02:04:23.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zkat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["zkat"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-09-11T04:00:44.000Z","updated_at":"2024-11-26T09:12:41.000Z","dependencies_parsed_at":"2024-12-28T15:11:27.410Z","dependency_job_id":"03922cc7-6d89-4b6f-b95f-deb5c4d5ec95","html_url":"https://github.com/zkat/supports-hyperlinks","commit_stats":{"total_commits":27,"total_committers":4,"mean_commits":6.75,"dds":"0.11111111111111116","last_synced_commit":"cd8923675fb77ee336b0c5b7f7f851851a2a6b5c"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkat%2Fsupports-hyperlinks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkat%2Fsupports-hyperlinks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkat%2Fsupports-hyperlinks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkat%2Fsupports-hyperlinks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkat","download_url":"https://codeload.github.com/zkat/supports-hyperlinks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280264,"owners_count":20912967,"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":"2024-10-03T12:55:32.109Z","updated_at":"2025-04-05T03:07:47.657Z","avatar_url":"https://github.com/zkat.png","language":"Rust","funding_links":["https://github.com/sponsors/zkat"],"categories":[],"sub_categories":[],"readme":"Detects whether the current terminal supports [hyperlinks in terminal\nemulators](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda).\n\nIt tries to detect and support all known terminals and terminal families that\nsupport this. If a declaration is wrong, missing, or could be improved, please\nsend a PR!\n\n## Example\n\nThe API is super simple!\n\n```rust\nuse supports_hyperlinks::Stream;\n\nif supports_hyperlinks::on(Stream::Stdout) {\n    println!(\"This terminal supports hyperlinks on stdout\");\n} else {\n    println!(\"No hyperlinks, please\");\n}\n```\n\nAnd that's it!\n\n## Forcing hyperlinks in tools that use `supports-hyperlinks`\n\nYou may set the `FORCE_HYPERLINK` environment variable to force\n`supports-hyperlinks` to return true for its checks. If the value is `0`, this\nwill force it to be _false_, instead.\n\n## MSRV\n\nThe minimum supported Rust version is 1.70.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkat%2Fsupports-hyperlinks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkat%2Fsupports-hyperlinks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkat%2Fsupports-hyperlinks/lists"}