Show HN:掃描QR碼,透過uvx ptn在手機上取得終端機

Show HN:掃描QR碼,透過uvx ptn在手機上取得終端機

Hacker News·

這篇「Show HN」文章介紹了「porterminal」,一個快速簡陋的網頁終端機,讓使用者能夠隧道化他們的電話和電腦。透過掃描QR碼,使用者可以在行動裝置上存取終端機介面。

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

To see all available qualifiers, see our documentation.

Quick n' dirty web terminal tunneling your phone & pc

License

Uh oh!

There was an error while loading. Please reload this page.

lyehe/porterminal

Folders and files

Latest commit

History

Repository files navigation

Image

Image

Image

Image

Image

Image

  1. uvx ptn
  2. Scan the QR
  3. Access your terminal from your phone

Image

Why

I wanted to vibe code from bed.

ngrok requires registration and the free tier sucks. Cloudflare Quick Tunnel works great but is hard to use directly on the phone. Termius requires complicated setup: port forwarding, firewall rules, key management... Tried Claude Code web, but it can't access my local hardware and environment. Also tried Happy, but it's too bulky and updates lag behind.

So I built something simpler: run a command, scan a QR, start typing.

Features

Install

One-line install (uv + ptn):

Requires Python 3.12+ and cloudflared (auto-installed if missing).

Usage

Configuration

Run ptn --init to create a starter config, or create ptn.yaml manually:

Config is searched in order: $PORTERMINAL_CONFIG_PATH, ./ptn.yaml, ./.ptn/ptn.yaml, ~/.ptn/ptn.yaml.

Security

Warning: The URL is the only authentication. Anyone with the link has full terminal access.

Contributing

Issues and PRs welcome.

License

AGPL-3.0

About

Quick n' dirty web terminal tunneling your phone & pc

Resources

License

Contributing

Security policy

Uh oh!

There was an error while loading. Please reload this page.

Stars

Watchers

Forks

Releases

  15

Packages

  0

Contributors

  3

Image

Image

Image

Languages

Footer

Footer navigation

Hacker News

相關文章

  1. Show HN:Terminal Phone – 命令行介面的端到端加密對講機

    大約 2 個月前

  2. uTerminal:專為日常遠端存取打造的桌面終端機工具

    Product Hunt - AI · 13 天前

  3. Show HN:SMTP Tunnel – 偽裝成電子郵件流量的SOCKS5代理,以繞過DPI

    4 個月前

  4. Show HN:QTap DevTools – Linux 適用的 Chrome 風格加密流量檢查器

    3 個月前

  5. Show HN:Whosthere:一款使用 Go 語言編寫的、具備現代化 TUI 的區域網路發現工具

    3 個月前