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
.
-
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
-
Create CSV file. Requires sqlite3 installed.
npm run create-csv
-
Download history(History files must have been generated.).
npm run download-history
-
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
- [https://github.com/christiangenco/chrome-export-history](History csv export from Chrome extension)