Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookmarker

Build Status

This project is used to parse your Chrome bookmarker file into a human readable format so you can see it anywhere :)

Made with Elixir 💜

Convert your Google Chrome's bookmarks into markdown files

Installation

mix escript.install github lubien/bookmarker

Build

Enter the cloned repo folder then:

mix deps.get
mix #=> aliased mix.escript_build

Usage

Usage: bookmarker [options]

  -f, --file            Set where your chrome bookmarks file is.
                        Default: ~/.config/google-chrome/Default/Bookmarks
  -t, --title           Set a title for the rendered markdown.
                        Default: Google Chrome Bookmarks
  -d, --description     Set a description for the rendered markdown.
                        Default: Generated by Bookmarker
  -s, --sort            Set if the list is sorted.
                        Default: false
  -sb --sortby          Set to specify sorting strategy.
                        Valid startegies are [name-asc, name-desc, bookmark-count-asc, bookmark-count-desc]
  --no-timestamp        Prevent appending of build datetime after description.
                        Default: use timestamp
  -D, --double-space    Put a blank line between each bookmark/heading.
                        Default: single-spaced
  -H, --strip-html      Replace HTML tags in bookmark/folder names with parens
                        (e.g. "<b>text</b>" becomes "(text)") so raw tags don't
                        break rendering in tools like Obsidian.
                        Default: false
  -i, --ignore          Ignore folders. You may set this multiple times.
  -p, --path            Restrict to folder. You may set this one time only.
  -o, --output          Save rendered markdown to a file.
                        Default: none (output to stdin)

Examples:

  bookmarker
    # output into your stdout.

  bookmarker -i "Foo/Bar"
    # ignore the folder named Bar inside Foo.

  bookmarker -o "./foo.md"
    # save rendered markdown into a file named "foo.md" in your cwd.

  bookmarker -D
    # put a blank line between each bookmark/heading.

  bookmarker -H
    # replace HTML tags in bookmark/folder names with parens,
    # e.g. "<b>text</b>" becomes "(text)".

License

MIT

About

Export Google Chrome bookmarks into markdown files

Topics

Resources

Stars

69 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages