{"id":40677967,"url":"https://github.com/curtosis-org/phub-cli","last_synced_at":"2026-01-28T23:00:31.038Z","repository":{"id":333357358,"uuid":"1137019187","full_name":"curtosis-org/phub-cli","owner":"curtosis-org","description":"Terminal-based PornHub browser inspired by ani-cli. Browse categories, search videos, and stream instantly in mpv without opening a browser.","archived":false,"fork":false,"pushed_at":"2026-01-25T19:03:29.000Z","size":50,"stargazers_count":51,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-26T03:10:31.931Z","etag":null,"topics":["bash","cli","fzf","linux","mpv","phub","phub-cli","phub-tui","pornhub","pornhub-cli","scraper","streaming","terminal","tui","yt-dlp"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/curtosis-org.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-01-18T19:11:50.000Z","updated_at":"2026-01-26T03:03:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/curtosis-org/phub-cli","commit_stats":null,"previous_names":["curtosis-org/phub-cli"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/curtosis-org/phub-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curtosis-org%2Fphub-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curtosis-org%2Fphub-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curtosis-org%2Fphub-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curtosis-org%2Fphub-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curtosis-org","download_url":"https://codeload.github.com/curtosis-org/phub-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curtosis-org%2Fphub-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28854401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","cli","fzf","linux","mpv","phub","phub-cli","phub-tui","pornhub","pornhub-cli","scraper","streaming","terminal","tui","yt-dlp"],"created_at":"2026-01-21T10:04:21.869Z","updated_at":"2026-01-28T23:00:31.021Z","avatar_url":"https://github.com/curtosis-org.png","language":"Shell","readme":"\u003cp align=\"center\"\u003e\n\u003cbr\u003e\n\u003ca href=\"http://makeapullrequest.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\"\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/os-linux-brightgreen\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/os-mac-yellowgreen\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/interface-terminal-blue\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/player-mpv-red\"\u003e\n\u003cbr\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\nphub-cli\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003e\nA terminal-based video browser inspired by ani-cli.\u003cbr\u003e\nBrowse, search, and stream directly from \u003ca href=\"https://www.pornhub.com/\"\u003epornhub.com\u003c/a\u003e — no browser required.\n\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cb\u003eMade with lust.\u003c/b\u003e\u003cbr\u003e\n\u003c/p\u003e\n\n---\n\n## Showcase\n\n```bash\nphub-cli\n```\n\n## Features\n\n- Browse categories using fzf\n- Search videos by keyword\n- Paginated results for large categories and searches\n- Instant streaming via mpv\n- Direct stream extraction using yt-dlp\n- Download videos in multiple qualities (1080p, 720p, 480p, 360p)\n- Open videos directly in your default browser\n- ani-cli–style navigation flow\n- Graceful handling of broken or unavailable videos\n- Clean terminal UI with interactive menus\n- No browser required for playback\n- No accounts, no tracking, no clutter\n\n\n---\n\n## Table of Contents\n\n\n- [Installation](#installation)\n- [Dependencies](#dependencies)\n- [Usage](#usage)\n- [Tips](#tips)\n- [Fixing errors](#fixing-errors)\n- [Technical Notes](#technical-notes)\n- [Disclaimer](#disclaimer)\n\n## Installation\n\nFrom source (recommended)\n\n```bash\ngit clone https://github.com/curtosis-org/phub-cli.git\ncd phub-cli\nchmod +x install.sh\nsudo ./install.sh\n```\n\nAfter installation, run from anywhere:\n\n```bash\nphub-cli\n```\n\n## Dependencies\n\nphub-cli relies on external tools and system Python packages.\nYou must install these before running the installer.\n\n# Required\n\n- bash\n- mpv\n- fzf\n- yt-dlp\n\n- jq : required for JSON parsing in stream and metadata handling\n  \n- curl\n- jq\n- python3\n- python3-bs4 (BeautifulSoup)\n- python3-requests (requests)\n\n### Arch Linux\n\n```bash\nsudo pacman -S mpv fzf yt-dlp python python-beautifulsoup4\n```\n\n### Debian / Ubuntu\n\n```bash\nsudo apt install mpv fzf yt-dlp python3 python3-bs4\n```\n\n### Fedora\n\n```bash\nsudo dnf install mpv fzf yt-dlp python3 python3-beautifulsoup4\n```\n\n### macOS (Homebrew)\n\n```bash\nbrew install mpv fzf yt-dlp python\npip3 install beautifulsoup4\n```\n\n## Usage\n\n```bash\nphub-cli\n```\nYou will be presented with:\n\n- Browse categories\n\n- Search videos\n\n- Quit\n\nNavigation is entirely keyboard-driven using fzf.\n\n## Tips\n\nOptional toggles:\n\n```bash\n# Enable blinking title on the home screen\nPHUBCLI_BLINK=1 phub-cli\n\n# Disable the custom fzf theme\nPHUBCLI_FZF_THEME=0 phub-cli\n```\n\n## Fixing errors\nIf a video fails to play:\n\n- It may be geo-blocked\n- It may be removed\n- It may require cookies/login\n\nphub-cli will:\n- detect fast failures \n- return you to the selection menu\n\nallow retry or navigation without crashing\n\nEnsure your dependencies are up to date:\n```bash\nyt-dlp -U\n```\n\n## Technical Notes\n\n- Uses yt-dlp to resolve stream URLs before playback\n- mpv is used only as a player, not as a scraper\n- Input is explicitly read from /dev/tty to avoid fzf / mpv stdin conflicts\n- No PhantomJS dependency\n- No virtualenv required\n- No downloads unless you modify the scripts yourself\n\n## Supported Platforms\n\nTier 1 (tested)\n\n- Linux (Arch, Debian, Fedora)\n- macOS\n\nTier 2 (may work)\n\n- WSL\n- Termux (manual setup)\n\nWindows, iOS, and consoles are not officially supported.\n\n## Disclaimer\nThis project does not host, store, or distribute any media.\nIt only provides a terminal interface to publicly accessible content.\n\nUse responsibly and in accordance with your local laws.\n\n\n\n\n\n\n\n\n**Inspired by ani-cli. Built for terminals. Powered by curiosity and lust.**\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurtosis-org%2Fphub-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurtosis-org%2Fphub-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurtosis-org%2Fphub-cli/lists"}