Skip to content

Latest commit

 

History

History
83 lines (53 loc) · 2.14 KB

README.org

File metadata and controls

83 lines (53 loc) · 2.14 KB

Access your Firefox bookmarks and history with ivy interface

http://melpa.org/packages/counsel-ffdata-badge.svg

Introduction

counsel-ffdata allow you to access your Firefox user data (currently bookmarks and history) with ivy interface in Emacs.

screenshot/access_bookmarks.png

screenshot/access_history.png

Quick Start

Install sqlite3 binary

For most *nix distribution, you can simply install it with your system package manager. For example,

sudo pacman -S sqlite
sudo apt-get install sqlite3

For Windows system, you can use choco.

choco install sqlite

Install plugin

Install from Melpa

counsel-ffdata is currently available on melpa, so you can install it with

M-x package-install RET counsel-ffdata RET

Install manually

counsel-ffdata is depend on ivy and emacsql, you need to install them manually.

Clone this repo, Write following Elisp in your .emacs file.

(add-to-list 'load-path "/path/to/plugin")
(require 'counsel-ffdata)
(global-set-key "C-c F h" #'counsel-ffdata-firefox-history)
(global-set-key "C-c F b" #'counsel-ffdata-firefox-bookmarks)

Customization

Bind the functions below to your favourite key.

FunctionsUsage
counsel-ffdata-firefox-bookmarksAccess your Firefox Bookmarks
counsel-ffdata-firefox-historyAccess your Firefox History

counsel-ffdata will guess the path of your Firefox database. However, but if you use different Firefox profile, you may get unexpected behaviour. Customize counsel-ffdata-database-path to specify your path to firefox database.

Contribution

Issue reporting and PR are welcome.

Support

如果你觉得我的作品为你带来便利, 欢迎使用爱发电支持我

https://afdian.net/@cireu

If you like my work, you can support me via Patreon

https://www.patreon.com/user?u=24945220