Skip to content

该项目借助pintree导出json文件,然后生成静态书签首页。This project exports a JSON file with the help of pintree and then generates a static bookmark homepage.

License

Notifications You must be signed in to change notification settings

MakiWinster/localBookMarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English

Local Bookmarks 把书签转换为静态网页

一个简洁优雅的本地书签管理工具,把书签转换为浏览器主页。

使用方法

  1. 安装浏览器扩展:
  1. 使用扩展导出书签:
  • 安装扩展后点击扩展图标
  • 导出书签为 pintree.json 文件
  1. 克隆仓库到本地:
git clone https://github.com/MakiWinster/homepage.git
cd homepage
  1. 替换文件:
  • 将导出的 pintree.json 复制到项目根目录,替换原有的 pintree.json 文件
  1. 安装依赖:
pip install -r requirements.txt
  1. 生成静态页面:
python generate_homepage.py
  1. 在浏览器中打开生成的 index.html 文件,并可以设置为浏览器主页

  2. (可选)设置为新标签页:

  • Edge浏览器: 安装 New Tab Changer
  • Chrome浏览器: 安装 New Tab Changer
  • 安装扩展后,在扩展设置中将新标签页地址设置为生成的 index.html 文件路径

书签配置

书签数据存储在 pintree.json 文件中,可以按照以下格式添加或修改书签:

{
  "type": "folder",
  "title": "文件夹名称",
  "children": [
    {
      "type": "link",
      "title": "书签标题",
      "icon": "图标URL",
      "url": "书签URL"
    }
  ]
}
  • pintree.json中已经添加了示例书签

贡献

欢迎提交 Issue 和 Pull Request 来帮助改进这个项目!

许可证

MIT License

About

该项目借助pintree导出json文件,然后生成静态书签首页。This project exports a JSON file with the help of pintree and then generates a static bookmark homepage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published