1.0.0 • Published 3 years ago

@theopenweb/chrome-history-helper v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Description

Copies files from Chrome History. This libary is for copying history data. sqlite3 is required to use this library. Test by executing:sqlite3 --version. bash is required for shell commands. CURRENTLY ONLY WINDOWS! PLEASE CONTACT FOR OTHER SUPPORT REQUESTS.

Reasons

  • To backup Chrome History.
  • To get Chrome History in a parseable format.
  • To prevent Chrome from deleting old history.

Usage

npm install @theopenweb/chrome-history-helper

All results are generated in ./results/
To do steps 1 & 2 use npm run csv.
To do steps 3 & 4 use npm run download.

  1. Copy history file to other location(because may be in use by Chrome and always good to work from copy). Example using Git Bash. npm run copy

  2. Create CSV file. Requires sqlite3 installed. npm run create-csv

  3. Download history(History files must have been generated.). npm run download-history

  4. Download domain views npm run download-domain-views

SQLite3 Installation

Download:

Setup:

For Windows, put the SQLite3 file in a directory accessible by your PATH environment variable. If you don't have a suitable area, Use an easy to reach area such as "C:\bin" and set in your PATH environment variable.

Details

Format is DATE,URL. Want to get just URLS. Then take array of URLS and get domains only. Then take that array and map to object with {count}.

Related