[ Content contribution] 水谈可视化软件源分析工具(更多特性)
Tofloor
poster avatar
魔法师
deepin
2024-01-08 15:12
Author

引子:基于 streamlit 制作的 apt 软件源分析工具,目前提供上百个仓库

访问入口:https://status.deepinos.org.cn/Apt_Repo_Analyze

早在2年前,我就想着制作一个 apt 软件源分析工具,但在那个时候对软件源结构不太了解,原本采用 Qt 来编写软件源分析器写着写着就废了。

后来我无意间了解到了 streamlit 这个神器,并且学会了大部分的功能,也写过很多不知名(实际上是藏起来了)的星火应用软件生态,比如非常独特的就是 streamlit 可视化的星火应用商店,不过它不是运行在本地的,是运行在网页上。

由于我的心里一直想着完成一个 apt 软件源分析器,后来我试着用 streamlit 去制作那个可视化的软件源分析工具,目前,它很好的工作着,一起来看看吧。

  • 可视化的应用商店

录屏_选择区域_20240108145749.gif

  • 可视化的软件源分析器
    录屏_选择区域_20240108150026.gif

  • 仓库:

    • https://gitee.com/zinface/streamlit.apt-repo-analyzer
  • 最近更新

    • repo: 改进软件源的翻译,增加可读性
    • repo: 更新 deepin Ci 源(1个子类) beta3
    • repo: 新增 deepin Ci 源(5个子类)
    • repo: 新增 Mozilla firefox 源(1个)
    • repo: 更新 debian 源到 12.4
    • repo: 新增麒麟 archive2 源(41个)
    • repo: 新增微软 vscode 源
    • repo: 新增微软 edge 源
    • 新增 deepin v23 测试源
    • 新增 loongnix 源
    • 新增基于 bfsu 镜像站的 ubuntu/debian 源
  • 运行&部署:

    • 使用 pip 安装好 streamlit ,建议 python 3.7 以上
    • 仓库中有 Makefile ,直接执行 make run 即可
  • 添加新源

    • 只要是 apt 源基本上都可以,除了那些加密过的(例如uos)
    • backend/repomirrors.py 后面写的结构添加一条即可
Reply Favorite View the author
All Replies
yanjuner
Super Moderator
2024-01-08 16:00
#1

有点东西

Reply View the author
魔法师
deepin
2024-01-08 16:05
#2
yanjuner

有点东西

在?加个精?
smirk

Reply View the author
yanjuner
Super Moderator
2024-01-08 16:50
#3
魔法师

在?加个精?
smirk

已加,就是这么听话

Reply View the author
阿尼樱奈奈
Moderator
2024-01-08 17:07
#4

like感谢分享

Reply View the author
Ziggy
deepin
2024-01-08 17:20
#5

"repo-monitor"抓包神器,比自己用apt show优雅不少

大佬看看有没有兴趣投递到商店applaud

https://appdelivery.deepin.org.cn/#/index

Reply View the author
魔法师
deepin
2024-01-15 09:30
#6
Ziggy

"repo-monitor"抓包神器,比自己用apt show优雅不少

大佬看看有没有兴趣投递到商店applaud

https://appdelivery.deepin.org.cn/#/index

不懂就问,这是啥pride

Reply View the author
tifa
deepin
2024-01-15 11:43
#7

从ChatGLM上看到了演示效果,感觉比gradio简单好用。

Reply View the author
魔法师
deepin
2024-01-19 17:37
#8
tifa

从ChatGLM上看到了演示效果,感觉比gradio简单好用。

我写过一个简单的基于 ZhipuAI 的 streamlit 可视化,通过 选择来源,选择模型,选择 cpu/gpu,不过纯 cpu 跑效果并不怎么样(我tm直接扔掉)

Reply View the author
魔法师
deepin
2024-01-23 11:55
#9
tifa

从ChatGLM上看到了演示效果,感觉比gradio简单好用。

最近发现有网友提供了 ssh 访问的内网穿透服务器,ssh 访问过去后发现是直接进入了一个叫 ChatGLM2cpp 的程序,然后我用 streamlit 写了一个基于 ssh 连接的 chat 对话工具,通过一番操作后..... 写了一个功能很全的脚本(当然,临时的,所以这服务器已经无法访问了呢)


![a940331697b500999be17c5c2621a944.jpg](https://storage.deepin.org/thread/202401230350545330_a940331697b500999be17c5c2621a944.jpg)

5e9d540bda092549cdb08e485077e6f2.jpg

46f7a24f7e63497a25f145cd4e5e7384.jpg

image.png

d23fafa9ca62fb41107fe9af1542ffca.jpg

Reply View the author
魔法师
deepin
2024-02-01 13:04
#10

更新:

image.png

Reply View the author