{"id":14128473,"url":"https://github.com/dequis/tmux-url-select","last_synced_at":"2025-08-23T05:05:51.414Z","repository":{"id":14269214,"uuid":"16977065","full_name":"dequis/tmux-url-select","owner":"dequis","description":"Keyboard based URL selector that integrates with tmux","archived":false,"fork":false,"pushed_at":"2023-12-23T10:15:18.000Z","size":10,"stargazers_count":73,"open_issues_count":7,"forks_count":18,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-23T05:05:25.097Z","etag":null,"topics":["perl","tmux","url"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/dequis.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":"2014-02-19T07:37:43.000Z","updated_at":"2025-05-07T21:08:35.000Z","dependencies_parsed_at":"2024-05-02T03:08:22.058Z","dependency_job_id":"edc95dbc-745e-45e9-b6a4-f01f6a24f57f","html_url":"https://github.com/dequis/tmux-url-select","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dequis/tmux-url-select","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dequis%2Ftmux-url-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dequis%2Ftmux-url-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dequis%2Ftmux-url-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dequis%2Ftmux-url-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dequis","download_url":"https://codeload.github.com/dequis/tmux-url-select/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dequis%2Ftmux-url-select/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745472,"owners_count":24813500,"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-23T02:00:09.327Z","response_time":69,"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":["perl","tmux","url"],"created_at":"2024-08-15T16:01:45.207Z","updated_at":"2025-08-23T05:05:51.382Z","avatar_url":"https://github.com/dequis.png","language":"Perl","funding_links":[],"categories":["Perl"],"sub_categories":[],"readme":"# tmux-url-select\n\n`tmux-url-select` is a perl script that lets you select URLs with the keyboard.\n\nIt integrates with tmux to capture the current pane buffer, switch to a window\nwith highlighted links, and let you select the link you want to open/yank.\n\nIt's like the urxvtperls [url-select][1] script or [urlview][2], except that\nit's inspired by the interface of the former and the capture-pane method\nusually used with the latter.\n\n## Features\n\n * Tightly integrated to tmux to prevent flickering when switching to url\n   selection\n * No dependencies (Not even ncurses, so no portability either!)\n * Uses colors! Configurable colors!\n * Configurable external commands too!\n * vi-like keybindings (actually just `j` and `k`)\n\n[1]: https://github.com/muennich/urxvt-perls/blob/master/url-select\n[2]: http://packages.qa.debian.org/u/urlview.html\n\n## Is it any good?\n\n[Yes][3]\n\n[3]: https://news.ycombinator.com/item?id=3067434\n\n## Huge animated GIF\n\n![](http://dump.dequis.org/e1f1c.gif)\n\n## Requirements\n\nDepends on `perl`, `tmux` and `stty`.\n\nOptional and configurable: `xdg-open` (can be any url opener or browser) and\n`xclip` (for yank). Use the environment variables `TMUX_URL_SELECT_CLIP_CMD` and `TMUX_URL_SELECT_OPEN_CMD` to change these commands.\n\n## Installation\n\nPlace it somewhere in your path with name `tmux-url-select` and `chmod +x` it.\n\nAdd this to your `.tmux.conf`:\n\n    bind some-key-here run tmux-url-select\n\nWhere some-key-here is any key you want to use to start url selection.\nPersonally I use \"z\" which is an unused keybinding that is really close to my\ntmux prefix key (`` ` ``)\n\n    bind z run tmux-url-select\n\n## Usage\n\nOnce you're inside tmux-url-select, keybindings:\n\n * `j` or down arrow: down\n * `k` or up arrow: up\n * `0`-`9`: select link by number\n * `y`: yank (copy to clipboard)\n * Enter or `o`: open link\n * `Y` / `O`: yank or open link without closing\n * `q`: quit\n\n## Configuration\n\nThere's a bunch of constants near the top of the file, you can modify them to\nyour liking.\n\n    use constant COMMAND =\u003e 'xdg-open %s';\n    use constant YANK_COMMAND =\u003e 'echo %s | xclip -i';\n\n    use constant SHOW_STATUS_BAR =\u003e 1;\n    use constant VERBOSE_MESSAGES =\u003e 0;\n    use constant TMUX_WINDOW_TITLE =\u003e 'Select URL';\n\n    use constant PROMPT_COLOR =\u003e \"\\033[42;30m\";\n    use constant ACTIVE_LINK_HIGHLIGHT =\u003e \"\\033[44;4m\";\n    use constant NORMAL_LINK_HIGHLIGHT =\u003e \"\\033[94;1;4m\";\n\nProbably should add some explanations. Maybe. For now just go ahead and\nexperiment with stuff.\n\n## Known issues\n\nIf a line with a link has a background color, it will get reset after the link.\nI have no idea how to do this without writing a parser of ansi escape codes or\nusing ncurses properly, so I'm leaving it unfixed as a reminder that as humans\nwe're all flawed in different ways.\n\nMight flicker when selecting links because the whole screen is redrawn. It can't\nbe helped. Works fine for me most of the time.\n\nThere used to be a section here about problems launching process but that\nshould be fixed now.\n\n## FAQ\n\nQ: Why perl? It's dead and it sucks, cool kids use node.js nowadays.\n\nA: It's fun. Fun things are fun.\n\nQ: Can I use it with [Tmate](https://tmate.io/)?\n\nA: Yes, just set in your environment: `TMUX_URL_SELECT_TMUX_CMD=tmate`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdequis%2Ftmux-url-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdequis%2Ftmux-url-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdequis%2Ftmux-url-select/lists"}