{"id":49498,"library":"terminal-expose","title":"Terminal Expose","description":"Terminal Expose is an interactive terminal sharing tool that starts a real shell or command on your machine and exposes it over HTTP and WebSocket for trusted collaborators to connect via browser or CLI. Version 1.3.1 is the latest stable release with a moderate release cadence. Key differentiators include token-based authentication, LAN URL generation, optional Cloudflare Quick Tunnel for public HTTPS access, PTY resize for remote clients, and an in-memory buffer for replaying recent output. It requires Node.js >=18 and provides both a server package and a separate CLI client package (terminal-expose-cli).","status":"active","version":"1.3.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","terminal","shell","sharing","xterm","pty","websocket"],"install":[{"cmd":"npm install terminal-expose","lang":"bash","label":"npm"},{"cmd":"yarn add terminal-expose","lang":"bash","label":"yarn"},{"cmd":"pnpm add terminal-expose","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required to connect to a terminal-expose session from another terminal","package":"terminal-expose-cli","optional":true}],"imports":[{"note":"Install globally with npm install -g terminal-expose or use npx terminal-expose. For CLI client, use terminal-expose-cli.","wrong":"terminal-expose (without npx if globally installed)","symbol":"terminal-expose CLI","correct":"npx terminal-expose"}],"quickstart":{"code":"npm install -g terminal-expose\nterminal-expose","lang":"bash","description":"Global install and start exposing the default shell. Access via the printed session URLs."},"warnings":[{"fix":"Share the full session URL only with trusted collaborators. Use SESSION_TOKEN environment variable to set a custom token.","message":"Session URLs give full read/write access to the terminal. Anyone with the URL can view and type.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Only use --public when absolutely necessary. Ensure SESSION_TOKEN is set to a strong secret.","message":"Public tunnel mode (--public) exposes the terminal to the internet via Cloudflare. This bypasses local network restrictions but also exposes the session to any URL holder.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Upgrade Node.js to >=18.","message":"Node.js version requirement: engine node >=18. Running on older Node versions will fail.","severity":"breaking","affected_versions":">=1.3.0"}],"env_vars":null,"search_vec":"'1.3.1':38 '18':85 'access':66 'authent':55 'base':54 'browser':34 'buffer':77 'cadenc':48 'cli':36,95,101 'client':71,96 'cloudflar':60 'collabor':30 'command':17 'connect':32 'differenti':50 'expos':2,4,22,100 'generat':58 'http':25 'https':65 'in-memori':74 'includ':51 'interact':7 'javascript':102 'key':49 'lan':56 'latest':41 'machin':20 'memori':76 'moder':46 'node.js':84 'option':59 'output':81 'packag':91,97 'provid':87 'pti':67,107 'public':64 'quick':61 'real':14 'recent':80 'releas':43,47 'remot':70 'replay':79 'requir':83 'resiz':68 'separ':94 'server':90 'share':9,105 'shell':15,104 'stabl':42 'start':12 'termin':1,3,8,99,103 'terminal-expose-c':98 'token':53 'token-bas':52 'tool':10 'trust':29 'tunnel':62 'url':57 'version':37 'via':33 'websocket':27,108 'xterm':106","created_at":"2026-06-07T17:02:05.058917+00:00","updated_at":"2026-06-07T17:02:05.058917+00:00","problems":[{"fix":"Run 'npm install -g terminal-expose' to install globally.","cause":"Package not installed globally or locally","error":"Error: Cannot find module 'terminal-expose'"},{"fix":"Use a different port via PORT environment variable, e.g., PORT=4000 terminal-expose","cause":"Port 5555 is already occupied by another process","error":"Error: listen EADDRINUSE: address already in use :::5555"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"terminal-expose","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","messaging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}