Giter Club home page Giter Club logo

bookmark-tagging's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.