browser_data 0.0.1 browser_data: ^0.0.1 copied to clipboard
dart package to retrieve browser's data.
browser_data #
browser-data
is a dart package to retrieve browser's data.
Features #
- ✅ History
- ✅ Bookmarks
- ❌ Downloads
- ❌ Passwords
Support Browsers #
- Chromium
- Chrome
- Firefox
- LibreWolf
- Safari
- Edge
- Opera
- OperaGX
- Brave
- Vivaldi
Getting Started #
In the pubspec.yaml
of your flutter project, add the following dependency:
dependencies:
...
browser_data: latest
Next we need to install this
# Dart
pub get
# Flutter
flutter packages get
Usage #
Before start you must need to download sqlite3.dll for use this package.
import 'package:browser_data/browser_data.dart';
var chrome = Chrome(sqlite3Path: './sqlite3.dll');
To get history
from a specific browser:
You can limit history count.
var outputs = await chrome.fetchHistory(limit: 10);
To get bookmarks
from a specific browser:
var outputs = await chrome.fetchBookmarks();
Contribution #
Feel free to file an issue if you find a problem or make pull requests.
All contributions are welcome :)