V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
这是一个专门讨论 idea 的地方。

每个人的时间,资源是有限的,有的时候你或许能够想到很多 idea,但是由于现实的限制,却并不是所有的 idea 都能够成为现实。

那这个时候,不妨可以把那些 idea 分享出来,启发别人。
meeop
V2EX  ›  奇思妙想

用 web 模拟桌面,感觉这个思路很有意思,但是想了想好像也没啥用

  •  
  •   meeop · 168 天前 · 3364 次点击
    这是一个创建于 168 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如下链接复制到浏览器地址栏可以看看示例效果

    以前有一阵流行云桌面,现在都搜不到了,我在想以 pc 桌面的交互方式展示一般 web 服务,有啥有用的场景吗?

    data:text/html;base64,PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KCjxoZWFkPgogICAgPG1ldGEgY2hhcnNldD0iVVRGLTgiPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCwgaW5pdGlhbC1zY2FsZT0xLjAiPgogICAgPHRpdGxlPkRlc2t0b3AgU2ltdWxhdGlvbjwvdGl0bGU+CiAgICA8c3R5bGU+CiAgICAgICAgYm9keSB7CiAgICAgICAgICAgIGZvbnQtZmFtaWx5OiBBcmlhbCwgc2Fucy1zZXJpZjsKICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2YwZjBmMDsKICAgICAgICAgICAgbWFyZ2luOiAwOwogICAgICAgICAgICBvdmVyZmxvdzogYXV0bzsKICAgICAgICAgICAgd2lkdGg6IDEwMHZ3OwogICAgICAgICAgICBoZWlnaHQ6IDEwMHZoOwogICAgICAgIH0KCiAgICAgICAgI2Rlc2t0b3AgewogICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgICAgICAgICAgIHdpZHRoOiAxMDAwJTsKICAgICAgICAgICAgaGVpZ2h0OiAxMDAwJTsKICAgICAgICAgICAgcGFkZGluZzogMjBweDsKICAgICAgICB9CgogICAgICAgIC5zaG9ydGN1dCB7CiAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyOwogICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmOwogICAgICAgICAgICBwYWRkaW5nOiAxMHB4OwogICAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjY2NjOwogICAgICAgICAgICBib3JkZXItcmFkaXVzOiA1cHg7CiAgICAgICAgICAgIGJveC1zaGFkb3c6IDAgMnB4IDVweCByZ2JhKDAsIDAsIDAsIDAuMSk7CiAgICAgICAgfQoKICAgICAgICAud2luZG93IHsKICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlOwogICAgICAgICAgICB3aWR0aDogNTB2dzsKCiAgICAgICAgICAgIGhlaWdodDogNTB2aDsKICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjsKICAgICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2NjYzsKICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogNXB4OwogICAgICAgICAgICBib3gtc2hhZG93OiAwIDJweCA1cHggcmdiYSgwLCAwLCAwLCAwLjMpOwogICAgICAgICAgICB6LWluZGV4OiAxMDA7CiAgICAgICAgfQoKICAgICAgICAud2luZG93LXRpdGxlYmFyIHsKICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2YwZjBmMDsKICAgICAgICAgICAgcGFkZGluZzogOHB4OwogICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2NjYzsKICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogNXB4IDVweCAwIDA7CiAgICAgICAgICAgIGN1cnNvcjogbW92ZTsKICAgICAgICB9CgogICAgICAgIC50aXRsZSB7CiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkOwogICAgICAgIH0KCiAgICAgICAgLmNsb3NlLWJ0biB7CiAgICAgICAgICAgIGZsb2F0OiByaWdodDsKICAgICAgICAgICAgYm9yZGVyOiBub25lOwogICAgICAgICAgICBiYWNrZ3JvdW5kOiBub25lOwogICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7CiAgICAgICAgfQoKICAgICAgICAud2luZG93LWNvbnRlbnQgewogICAgICAgICAgICBwYWRkaW5nOiAxMHB4OwogICAgICAgICAgICBoZWlnaHQ6IGNhbGMoMTAwJSAtIDMwcHgpOwogICAgICAgICAgICBvdmVyZmxvdzogaGlkZGVuOwogICAgICAgIH0KCiAgICAgICAgLmlmcmFtZS1jb250YWluZXIgewogICAgICAgICAgICBoZWlnaHQ6IGNhbGMoMTAwJSAtIDMwcHgpOwogICAgICAgIH0KCiAgICAgICAgLmlmcmFtZS1jb250YWluZXIgaWZyYW1lIHsKICAgICAgICAgICAgd2lkdGg6IDEwMCU7CiAgICAgICAgICAgIGhlaWdodDogMTAwJTsKICAgICAgICAgICAgYm9yZGVyOiBub25lOwogICAgICAgIH0KCiAgICAgICAgLnJlc2l6ZS1oYW5kbGUgewogICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgICAgICAgICAgIHdpZHRoOiAxMHB4OwogICAgICAgICAgICBoZWlnaHQ6IDEwcHg7CiAgICAgICAgICAgIGJvdHRvbTogMDsKICAgICAgICAgICAgcmlnaHQ6IDA7CiAgICAgICAgICAgIGN1cnNvcjogbndzZS1yZXNpemU7CiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNjY2M7CiAgICAgICAgfQogICAgPC9zdHlsZT4KPC9oZWFkPgoKPGJvZHk+CiAgICA8ZGl2IGlkPSJkZXNrdG9wIj4KICAgICAgICA8ZGl2IGNsYXNzPSJzaG9ydGN1dCIgaWQ9ImNyZWF0ZVdpbmRvd0J0biIgc3R5bGU9ImxlZnQ6IDIwMHB4OyB0b3A6IDMwcHg7Ij4KICAgICAgICAgICAg54K55Ye75Yib5bu65rWP6KeI5Zmo56qX5Y+jCiAgICAgICAgPC9kaXY+CiAgICAgICAgPGRpdj4KICAgICAgICAgICAgPGJ1dHRvbiBvbmNsaWNrPSdjcmVhdGVCcm93c2VyV2luZG93KCJodHRwczovL2N0b29sLmRldi90b29sLmh0bWwjL3Rvb2wvanNvbj9jYXRlZ29yeT1jb252ZXJzaW9uIiknPmpzb25FZGl0PC9idXR0b24+PGJyPgogICAgICAgIDwvZGl2PgogICAgPC9kaXY+CgogICAgPHNjcmlwdD4KICAgICAgICBsZXQgekluZGV4ID0gMTsgCgogICAgICAgIAogICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdjcmVhdGVXaW5kb3dCdG4nKS5hZGRFdmVudExpc3RlbmVyKCdjbGljaycsICgpID0+IHsKICAgICAgICAgICAgY3JlYXRlQnJvd3NlcldpbmRvdygpOwogICAgICAgIH0pOwoKICAgICAgICAKICAgICAgICBmdW5jdGlvbiBjbG9zZVdpbmRvdyh3aW5kb3dJZCkgewogICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCh3aW5kb3dJZCkucmVtb3ZlKCk7CiAgICAgICAgfQoKICAgICAgICAKICAgICAgICBmdW5jdGlvbiBkcmFnV2luZG93KHdpbmRvd0lkLCBldmVudCkgewogICAgICAgICAgICBjb25zdCB3aW5kb3dFbGVtID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQod2luZG93SWQpOwogICAgICAgICAgICB3aW5kb3dFbGVtLnN0eWxlLnpJbmRleCA9ICsrekluZGV4OyAKICAgICAgICAgICAgbGV0IHBvc1ggPSBldmVudC5jbGllbnRYOwogICAgICAgICAgICBsZXQgcG9zWSA9IGV2ZW50LmNsaWVudFk7CiAgICAgICAgICAgIGxldCB3aW5kb3dMZWZ0ID0gd2luZG93RWxlbS5vZmZzZXRMZWZ0OwogICAgICAgICAgICBsZXQgd2luZG93VG9wID0gd2luZG93RWxlbS5vZmZzZXRUb3A7CgogICAgICAgICAgICBmdW5jdGlvbiBtb3ZlV2luZG93KGV2ZW50KSB7CiAgICAgICAgICAgICAgICBsZXQgZHggPSBldmVudC5jbGllbnRYIC0gcG9zWDsKICAgICAgICAgICAgICAgIGxldCBkeSA9IGV2ZW50LmNsaWVudFkgLSBwb3NZOwogICAgICAgICAgICAgICAgd2luZG93RWxlbS5zdHlsZS5sZWZ0ID0gd2luZG93TGVmdCArIGR4ICsgJ3B4JzsKICAgICAgICAgICAgICAgIHdpbmRvd0VsZW0uc3R5bGUudG9wID0gd2luZG93VG9wICsgZHkgKyAncHgnOwogICAgICAgICAgICB9CgogICAgICAgICAgICBmdW5jdGlvbiBzdG9wTW92ZSgpIHsKICAgICAgICAgICAgICAgIGRvY3VtZW50LnJlbW92ZUV2ZW50TGlzdGVuZXIoJ21vdXNlbW92ZScsIG1vdmVXaW5kb3cpOwogICAgICAgICAgICAgICAgZG9jdW1lbnQucmVtb3ZlRXZlbnRMaXN0ZW5lcignbW91c2V1cCcsIHN0b3BNb3ZlKTsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lcignbW91c2Vtb3ZlJywgbW92ZVdpbmRvdyk7CiAgICAgICAgICAgIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoJ21vdXNldXAnLCBzdG9wTW92ZSk7CiAgICAgICAgfQoKICAgICAgICAKICAgICAgICBmdW5jdGlvbiBjcmVhdGVCcm93c2VyV2luZG93KHVybCkgewogICAgICAgICAgICBjb25zdCB3aW5kb3dJZCA9IGB3aW5kb3cke3pJbmRleH1gOwogICAgICAgICAgICBjb25zdCBpZnJhbWVJZCA9IGBpZnJhbWUke3pJbmRleH1gOwoKICAgICAgICAgICAgY29uc3QgbmV3V2luZG93ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnZGl2Jyk7CiAgICAgICAgICAgIG5ld1dpbmRvdy5pZCA9IHdpbmRvd0lkOwogICAgICAgICAgICBuZXdXaW5kb3cuY2xhc3NOYW1lID0gJ3dpbmRvdyc7CiAgICAgICAgICAgIG5ld1dpbmRvdy5zdHlsZS5sZWZ0ID0gJzEwMHB4JzsgCiAgICAgICAgICAgIG5ld1dpbmRvdy5zdHlsZS50b3AgPSAnMTAwcHgnOyAKICAgICAgICAgICAgbmV3V2luZG93LnN0eWxlLnpJbmRleCA9ICsrekluZGV4OyAKICAgICAgICAgICAgbmV3V2luZG93LmlubmVySFRNTCA9IGAKICAgICAgICAgICAgPGRpdiBjbGFzcz0id2luZG93LXRpdGxlYmFyIiBvbm1vdXNlZG93bj0iZHJhZ1dpbmRvdygnJHt3aW5kb3dJZH0nLCBldmVudCkiPgogICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9InRpdGxlIj7mtY/op4jlmajnqpflj6M8L3NwYW4+CiAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPSJjbG9zZS1idG4iIG9uY2xpY2s9ImNsb3NlV2luZG93KCcke3dpbmRvd0lkfScpIj5YPC9idXR0b24+CiAgICAgICAgICAgIDwvZGl2PgogICAgICAgICAgICA8ZGl2IGNsYXNzPSJ3aW5kb3ctY29udGVudCI+CiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPSJpZnJhbWUtY29udGFpbmVyIj4KICAgICAgICAgICAgICAgICAgICA8aWZyYW1lIGlkPSIke2lmcmFtZUlkfSIgc3JjPSIiPjwvaWZyYW1lPgogICAgICAgICAgICAgICAgPC9kaXY+CiAgICAgICAgICAgIDwvZGl2PgogICAgICAgICAgICA8ZGl2IGNsYXNzPSJyZXNpemUtaGFuZGxlIiBvbm1vdXNlZG93bj0ic3RhcnRSZXNpemUoZXZlbnQpIj48L2Rpdj4KICAgICAgICBgOwogICAgICAgICAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKG5ld1dpbmRvdyk7CgogICAgICAgICAgICAKICAgICAgICAgICAgY29uc3QgaWZyYW1lID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoaWZyYW1lSWQpOwogICAgICAgICAgICBpZiAodXJsKSB7CiAgICAgICAgICAgICAgICBpZnJhbWUuc3JjID0gdXJsOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgY29uc3QgaW5wdXRVcmwgPSBwcm9tcHQoJ+ivt+i+k+WFpee9keWdgO+8micsICdodHRwczovLycpOwogICAgICAgICAgICAgICAgaWYgKGlucHV0VXJsKSB7CiAgICAgICAgICAgICAgICAgICAgaWZyYW1lLnNyYyA9IGlucHV0VXJsOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgIH0KCiAgICAgICAgCiAgICAgICAgZnVuY3Rpb24gc3RhcnRSZXNpemUoZXZlbnQpIHsKICAgICAgICAgICAgY29uc3QgcmVzaXplSGFuZGxlID0gZXZlbnQudGFyZ2V0OwogICAgICAgICAgICBjb25zdCB3aW5kb3dFbGVtID0gcmVzaXplSGFuZGxlLnBhcmVudEVsZW1lbnQ7CiAgICAgICAgICAgIGNvbnN0IGlmcmFtZUNvbnRhaW5lciA9IHdpbmRvd0VsZW0ucXVlcnlTZWxlY3RvcignLmlmcmFtZS1jb250YWluZXInKTsKICAgICAgICAgICAgY29uc3QgaWZyYW1lID0gaWZyYW1lQ29udGFpbmVyLnF1ZXJ5U2VsZWN0b3IoJ2lmcmFtZScpOwogICAgICAgICAgICBsZXQgc3RhcnRYID0gZXZlbnQuY2xpZW50WDsKICAgICAgICAgICAgbGV0IHN0YXJ0WSA9IGV2ZW50LmNsaWVudFk7CiAgICAgICAgICAgIGxldCBzdGFydFdpZHRoID0gd2luZG93RWxlbS5vZmZzZXRXaWR0aDsKICAgICAgICAgICAgbGV0IHN0YXJ0SGVpZ2h0ID0gd2luZG93RWxlbS5vZmZzZXRIZWlnaHQ7CgogICAgICAgICAgICBmdW5jdGlvbiByZXNpemVXaW5kb3coZXZlbnQpIHsKICAgICAgICAgICAgICAgIGxldCBkeCA9IGV2ZW50LmNsaWVudFggLSBzdGFydFg7CiAgICAgICAgICAgICAgICBsZXQgZHkgPSBldmVudC5jbGllbnRZIC0gc3RhcnRZOwogICAgICAgICAgICAgICAgbGV0IG5ld1dpZHRoID0gc3RhcnRXaWR0aCArIGR4OwogICAgICAgICAgICAgICAgbGV0IG5ld0hlaWdodCA9IHN0YXJ0SGVpZ2h0ICsgZHk7CgogICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICB3aW5kb3dFbGVtLnN0eWxlLndpZHRoID0gbmV3V2lkdGggKyAncHgnOwogICAgICAgICAgICAgICAgd2luZG93RWxlbS5zdHlsZS5oZWlnaHQgPSBuZXdIZWlnaHQgKyAncHgnOwogICAgICAgICAgICAgICAgaWZyYW1lQ29udGFpbmVyLnN0eWxlLmhlaWdodCA9IGBjYWxjKDEwMCUgLSAke3dpbmRvd0VsZW0ucXVlcnlTZWxlY3RvcignLndpbmRvdy10aXRsZWJhcicpLm9mZnNldEhlaWdodH1weClgOwogICAgICAgICAgICB9CgogICAgICAgICAgICBmdW5jdGlvbiBzdG9wUmVzaXplKCkgewogICAgICAgICAgICAgICAgZG9jdW1lbnQucmVtb3ZlRXZlbnRMaXN0ZW5lcignbW91c2Vtb3ZlJywgcmVzaXplV2luZG93KTsKICAgICAgICAgICAgICAgIGRvY3VtZW50LnJlbW92ZUV2ZW50TGlzdGVuZXIoJ21vdXNldXAnLCBzdG9wUmVzaXplKTsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lcignbW91c2Vtb3ZlJywgcmVzaXplV2luZG93KTsKICAgICAgICAgICAgZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lcignbW91c2V1cCcsIHN0b3BSZXNpemUpOwogICAgICAgIH0KICAgIDwvc2NyaXB0Pgo8L2JvZHk+Cgo8L2h0bWw+

    22 条回复    2024-07-16 11:03:37 +08:00
    webbillion
        1
    webbillion  
       168 天前
    没用但有意思,不是还有 jslinux 么
    leconio
        2
    leconio  
       168 天前 via iPhone
    群晖主页
    nzd
        3
    nzd  
       168 天前
    对 iPad 或许有用
    kero991
        4
    kero991  
       168 天前   ❤️ 1
    前段时间不是有个很著名的开源项目是搞这个的吗
    https://puter.com/
    https://github.com/HeyPuter/puter

    另外,更早的可道云虽然是个文件管理项目,但也有个“云桌面”来着
    sentinelK
        5
    sentinelK  
       168 天前   ❤️ 2
    窗口式交互在 2010 年左右火过一阵,但很快就烟消云散了。

    窗口式交互有几个前提:
    1 、需要有鼠标。
    2 、对设备带宽有比较大的需求。
    3 、屏幕需要够大。

    然后就是 2010 年左右,带宽逐渐满足了,ExtJS 等类似 UI 框架开始发力,然后 2012 年就移动互联网了……
    SkywalkerJi
        6
    SkywalkerJi  
       168 天前
    被手机 app 干掉了,电脑都没人用了,模拟 pc 桌面还有什么意义。
    Configuration
        7
    Configuration  
       168 天前   ❤️ 1
    @SkywalkerJi [电脑都没人用了] ,企业里的人都用手机办公的吗?
    cheneydog
        8
    cheneydog  
       168 天前
    个人觉得适合集成各种管理软件。
    不同软件的界面风格肯定是不同的,直接拉到一个管理端,要么重新开发界面、要么乱起八糟。
    用桌面式方式集成,即使花花绿绿也不显得太乱。
    SawyerGuo
        9
    SawyerGuo  
       168 天前
    我很早之前也有这想法,但是这类东西基本都没法运行常用 APP ,不如直接远程桌面。
    meeop
        10
    meeop  
    OP
       168 天前
    @kero991 这个好强大
    Greendays
        11
    Greendays  
       168 天前
    @kero991 牛的,给家里服务器装个看看
    royalknight
        12
    royalknight  
       168 天前   ❤️ 1
    借楼推荐下我的 webos: https://github.com/royalknight56/vtron
    hades97
        13
    hades97  
       167 天前   ❤️ 1
    有个叫 sealos 的,你可以看看
    guhuisec
        14
    guhuisec  
       167 天前   ❤️ 1
    summerLast
        15
    summerLast  
       166 天前   ❤️ 1
    LipGallagher
        16
    LipGallagher  
       166 天前   ❤️ 1
    部署完了基本就没开过了 https://nav.sob.im/
    TaoQAQ
        17
    TaoQAQ  
       166 天前
    有用,极空间就是配套的 Web 模拟桌面,用户操作起来有熟悉感。
    z1WhpL268TWE173O
        18
    z1WhpL268TWE173O  
       165 天前
    有用的, 知道跨境行业的紫鸟浏览器吗? 大概率也是基于这个底层逻辑来实现的。
    Meteora626
        19
    Meteora626  
       165 天前
    记得小学那时候 qq 空间好多这玩意,点进去就是一台电脑 可以用 qq 播放器啥的
    panda1001
        20
    panda1001  
       164 天前 via Android
    十几年前火了一阵子,企鹅家做了个 Q+桌面。后来手机无窗口还不适应,装了个悬浮窗 app
    atpex
        21
    atpex  
       163 天前
    @SkywalkerJi 想问题多点包容,不是什么东西都是一本道
    i706
        22
    i706  
       162 天前
    早些时候模拟 win7 有用 熟悉操作
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1499 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:10 · PVG 01:10 · LAX 09:10 · JFK 12:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.