Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inspurer/chromebookmarkvisual
a visaul project for chrome browser bookmark; which can make access to muti-depth bookmark more easily.
https://github.com/inspurer/chromebookmarkvisual
bookmarks chrome-bookmarks data-visualization echarts
Last synced: 2 days ago
JSON representation
a visaul project for chrome browser bookmark; which can make access to muti-depth bookmark more easily.
- Host: GitHub
- URL: https://github.com/inspurer/chromebookmarkvisual
- Owner: inspurer
- License: apache-2.0
- Created: 2021-12-29T07:58:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-01T02:39:00.000Z (almost 3 years ago)
- Last Synced: 2024-11-06T13:14:38.993Z (about 2 months ago)
- Topics: bookmarks, chrome-bookmarks, data-visualization, echarts
- Language: HTML
- Homepage:
- Size: 1.94 MB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 浏览器书签可视化项目
Chrome BookMark Visual Project
as well as FireFox, Microsoft Edge
完成这个 mini-project 的初衷是书签太多,层次深,无法直观触达
故可视化之,项目的**叶子节点可以直接点击打开书签**。## Chrome 扩展
对应的 chrome 扩展已上线 Chrome 应用商店,在线安装即可,无需配置,体验地址,求个好评
[https://chrome.google.com/webstore/detail/bookmarktree/obhnldggnjdmbmidjkjjnlclooehbngf?hl=zh-CN](https://chrome.google.com/webstore/detail/bookmarktree/obhnldggnjdmbmidjkjjnlclooehbngf?hl=zh-CN)
**插件的源代码在本项目的 chrome-extension-src 文件夹下**
## 可视化效果
全景图:
![](./img/all.png)
选中叶子节点可点击直达书签的地址:
![](./img/click.png)
## 运行环境
python 3.6.6 及 python3.6.6+## 运行步骤
1. `git clone [email protected]:inspurer/ChromeBookmarkVisual.git`2. `pip install requirements.txt`
3. 在浏览器中将收藏的书签导出为 html,命名为 `bookmarks.html`
4. 运行 `parse_bookmark_html_to_json.py` 得到 `bookmarks.json`
5. 在 Pycharm 中选择浏览器打开 `tree-radial.html`,即可看到可视化效果,并可点击叶子节点;**注意不要直接在文件夹中打开这个 html,会被 CROS 拦住 json 文件无法加载**
过程可以参考B站对应视频:[Chrome 浏览器书签层次可视化
](https://www.bilibili.com/video/BV1JY411p7f2)## 个性配置
1. 可在 `parse_bookmark_html_to_json.py` 文件中 `exclude_collection` 变量中添加不需要可视化的根书签收藏夹。
2. 可在 `tree-radial.html` 中 `myChart.setOption` 设置图表样式,如 `layout = orthogonal` 可设置成层次树状图,
`initialTreeDepth` 可以设置初始最大层数。## 参考
[使用ECharts绘制网址径向树状图](https://www.cnblogs.com/rustfisher/p/15219690.html)
## 其他
转载引用本项目中的代码,请注明来源