Skip to content

这个项目用于编辑Mac OS下, Safari书签的简单应用. 基于Python3.8, Flask1.1.1, Vue2.6

Notifications You must be signed in to change notification settings

jianganlin/SafariBookmarksEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safari Bookmarks Editor

这个项目用于编辑Mac OS下, Safari书签的简单应用. 基于Python3.8, Flask1.1.1, Vue2.6, element

参考:

读取Safari Bookmark
https://sspai.com/post/53996

Python 读取plist
https://docs.python.org/zh-cn/3.6/library/plistlib.html

flask入门:
https://zhuanlan.zhihu.com/p/94617478

启动流程

1, 读取~/Library/Safari/Bookmarks.plist到本地目录;
2, 初始化数据到本地: sqlite DB;
3, 读取数据到Web页面;
4, 页面操作: 查看阅读或删除

安装

创建虚拟环境:
python3 -m venv venv

激活环境:
sh ./venv/bin/activate

安装flask:
pip3 install flask

安装数据库依赖:
pip3 install flask_sqlalchemy

安装数据映射
pip3 install marshmallow-sqlalchemy
pip3 install flask-marshmallow


初始化数据:
flask initdb

启动:
flask run

参考

网络爬虫scrapy: https://www.osgeo.cn/scrapy/topics/media-pipeline.html
Flask官网: https://www.osgeo.cn/flask/

About

这个项目用于编辑Mac OS下, Safari书签的简单应用. 基于Python3.8, Flask1.1.1, Vue2.6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published