Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inwebo/browser-bookmarks-to-json
Convert browser's bookmarks HTML file to JSON
https://github.com/inwebo/browser-bookmarks-to-json
Last synced: about 2 months ago
JSON representation
Convert browser's bookmarks HTML file to JSON
- Host: GitHub
- URL: https://github.com/inwebo/browser-bookmarks-to-json
- Owner: inwebo
- License: gpl-3.0
- Created: 2021-07-16T07:23:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-18T18:21:23.000Z (over 3 years ago)
- Last Synced: 2024-05-16T21:07:10.107Z (8 months ago)
- Language: PHP
- Size: 3.2 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Convert browser's bookmarks HTML file to JSON
## Install project
### Composer
```bash
composer require inwebo/browser-bookmarks-to-json
```### Git
```bash
git clone https://github.com/inwebo/browser-bookmarks-to-json.git
```## Install dependencies
```bash
composer install
```## Put your html files in `./input/` dir
Will parse all html files in input dir## Execute command
```bash
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](https://github.com/inwebo/browser-bookmarks-to-json/blob/master/Model/Bookmark.php)