V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
canacan
V2EX  ›  程序员

在 GitHub 上看到一个很酷的 ssh tui 项目

  •  
  •   canacan · Jul 6, 2023 · 2979 views
    This topic created in 1033 days ago, the information mentioned may be changed or developed.

    https://github.com/picosh

    有大佬讲解一下这是啥原理吗,用 ssh 来生成、管理博客。

    1 replies    2023-07-06 11:15:47 +08:00
    AddictX
        1
    AddictX  
       Jul 6, 2023   ❤️ 1
    没看代码,看了下 go.mod ,用的应该是 https://github.com/charmbracelet/wish 这个框架。
    之前看 https://github.com/charmbracelet/soft-serve 的时候简单了解过,原理大概就是用 go 实现了一个 ssh 服务器,客户端登录之后运行预设的命令或 tui 程序。
    tui 框架用的是 https://github.com/charmbracelet/bubbletea 组件库可以在 https://charm.sh/ 里面找。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2691 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 13:11 · PVG 21:11 · LAX 06:11 · JFK 09:11
    ♥ Do have faith in what you're doing.