TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What’s the best to serve commandline output as HTML

2 点作者 mr_o47大约 4 年前

2 条评论

sigmaprimus大约 4 年前
Do You mean &gt; Broadcast a running command line applications&#x27; output over the internet so that people can view it using their web browser? I would use some sort of social media livestream with screenshare to get it up and running QaD.<p>If You just want to send the output (Not Live) of a command line app as a snapshot then probably Pipe-ing | the output to create a .txt file in the website folder of your server would work for that.<p>If You want to view and control the commandline application. You probably want to look into Socket Programming, or set up an SSH connection, maybe there is a web based telnet client plugin like Putty for browsers?
评论 #26677863 未加载
pestatije大约 4 年前
Do you mean like curl?
评论 #26642602 未加载