• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

yguan/bookmark-tagging: Library to transform Chrome bookmarks to tags

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

yguan/bookmark-tagging

开源软件地址:

https://github.com/yguan/bookmark-tagging

开源编程语言:

JavaScript 99.7%

开源软件介绍:

Bookmarks Tagging

This repository contains the source code of a Chrome extension which allows you to manage your bookmarks with tags instead of folders. You can package it as a Chrome extension or run it standalone as a website. You can also download the extension from the Chrome Web Store.

Demo

It's hosted here. However, the Web version has some missing functionality due to the security permission in Chrome.

User Manual

The user manual on how to use the bookmark extension is here.

Development

Here is a list of files that are the foundation of the app:

  • index.html - page that hosts the app
  • ui.css - CSS Style Override
  • app.js - app entry point
  • all-views.js - angular.js view routing and controller registrations
  • idb.js - wrapper of db.js
  • bookmark-loader.js - parse Chrome bookmarks and persist bookmarks and tagGroups
  • chrome-bookmark-parser.js - parse the Chrome bookmarks and return bookmarks and tagGroups

Here are a couple links on building Chrome extension:

Build

require.js is used to manage dependency, and r.js is used to build the package. You can modify app.build.js to package the way you want. Details can be find here.

To build the package, you have to have node.js installed, then in command line console, run the followings steps:

  • go to bookmark-tagging folder
  • run node tools/r.js -o app/app.build.js

The output folder is app-built, you can change it in the app.build.js.

Run as a Website locally

If you have python installed, run the following steps in the command line console:

  • go to app folder
  • run python -m http.server (you can specify port number at the end as well, default is 8000)
  • go Chrome, and type in the localhost:8000 to the address bar
  • you should see the app running in the browser in a few second

Note: you may have to refresh your browser manually a lot during the development so that the app loads the JavaScript files correctly.

Load as an extension

Follow the steps from the Developer Guide, and load the files from the app folder.

Publish to Chrome Web Store

Create a zip file from the app folder, and then follow steps 3 in this guide. License

MIT




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap