Nfbookmark 0.4.0
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.8.1
This package targets .NET Framework 4.8.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Nfbookmark --version 0.4.0
NuGet\Install-Package Nfbookmark -Version 0.4.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nfbookmark" Version="0.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nfbookmark" Version="0.4.0" />
<PackageReference Include="Nfbookmark" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nfbookmark --version 0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nfbookmark, 0.4.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Nfbookmark@0.4.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nfbookmark&version=0.4.0
#tool nuget:?package=Nfbookmark&version=0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About
Provides general functions for importing bookmarks from different browsers across platforms.
Key Features
- Get list of installed browsers and browser profiles
- Import bookmarks from said browser profiles
- Import bookmarks from Google Takeout .html files
- Use the imported bookmarks for your purposes
Supported platforms:
- OSX x64 and ARM
- Windows x64, x86 and ARM
- Linux x64 and ARM
Supported browsers:
- Chrome
- Chrome_beta
- Chrome_canary
- Brave
- Chromium
- Vivaldi
- Edge
- Opera
- Firefox
How to Use
Import all bookmarks from Chrome:
using System;
using bookmark_dlp;
//set verbosity
bookmark_dlp.Logger.verbosity = Logger.Verbosity.Warning;
//get list of places where browser might be installed
List<BrowserLocations> maybeLocations = Import.GetBrowserLocations();
//get list of places where browsers are actually installed
List<BrowserLocations> actualLocations = Import.GetBrowserBookmarkFilesPaths();
//list found browsers and how many profiles they have
foreach (BrowserLocations location in actualLocations)
{
Console.WriteLine(location.browsername + " " + location.foundProfiles.Count);
Console.WriteLine(location);
}
foreach (string location in actualLocations[0].foundProfiles)
{
Console.WriteLine(location);
}
string path = actualLocations[0].foundProfiles[0];
Console.WriteLine(path);
List<Folderclass> folders = Import.SmartImport(path);
Functions.PrintToConsole(folders);
// One liner to showcase:
Functions.PrintToConsole(Import.SmartImport(Import.GetBrowserBookmarkFilesPaths()[0].foundProfiles[0]));
Main Functions
The main functions provided by this library are:
bookmark_dlp.Import.SmartImport
bookmark_dlp.Import.JsonIntake
bookmark_dlp.Import.SqlIntake
bookmark_dlp.Import.HtmlTakeoutIntake
bookmark_dlp.Import.GetBrowserBookmarkFilesPaths
bookmark_dlp.Import.GetBrowserLocations
bookmark_dlp.Import.QueryChosenBookmarksFile
bookmark_dlp.Functions.FoldernameValidation
bookmark_dlp.Functions.Createfolderstructure
bookmark_dlp.Functions.PrintToConsole
Additionally:- logging capacity at
Logger.LogVerbose()
Main Types
The main types provided by this library are:
bookmark_dlp.DataStructures.Folderclass
bookmark_dlp.DataStructures.Bookmark
bookmark_dlp.DataStructures.BrowserLocations
Program using this package
Feedback & Contributing
Nfbookmark is released as open source under the GPLv3 license. Bug reports and contributions are welcome at the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Microsoft.Data.Sqlite (>= 8.0.10)
- System.Text.Json (>= 8.0.5)
-
.NETFramework 4.8.1
- Microsoft.Data.Sqlite (>= 8.0.10)
- System.Text.Json (>= 8.0.5)
-
.NETStandard 2.0
- Microsoft.Data.Sqlite (>= 8.0.10)
- System.Text.Json (>= 8.0.5)
-
.NETStandard 2.1
- Microsoft.Data.Sqlite (>= 8.0.10)
- System.Text.Json (>= 8.0.5)
-
net5.0
- Microsoft.Data.Sqlite (>= 8.0.10)
- System.Text.Json (>= 8.0.5)
-
net6.0
- Microsoft.Data.Sqlite (>= 8.0.10)
- System.Text.Json (>= 8.0.5)
-
net7.0
- Microsoft.Data.Sqlite (>= 8.0.10)
- System.Text.Json (>= 8.0.5)
-
net8.0
- Microsoft.Data.Sqlite (>= 8.0.10)
- System.Text.Json (>= 8.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.4.1 | 132 | 1/30/2025 |
0.4.0 | 101 | 1/22/2025 |
0.2.8-alpha | 106 | 7/14/2024 |
0.2.7 | 132 | 7/14/2024 |