inwebo / browser-bookmarks-to-json
Convert browser's bookmarks HTML file to JSON
0.0.2
2021-07-18 18:20 UTC
Requires
- php: >=7.4
- ext-dom: *
- symfony/console: ^5.3
This package is auto-updated.
Last update: 2024-12-19 02:02:18 UTC
README
Install project
Composer
composer require inwebo/browser-bookmarks-to-json
Git
git clone https://github.com/inwebo/browser-bookmarks-to-json.git
Install dependencies
composer install
Put your html files in ./input/
dir
Will parse all html files in input dir
Execute command
php -f export.php export:bookmarks
# Alias
php -f export.php eb
You Should have a json object in output : data.json
A serialized collection of Inwebo\Browser\Model\Bookmark models, see Bookmark model