Package anchorage

Welcome to the Anchorage API documentation!

Introduction

Anchorage is a Python library and CLI to bulk archive your bookmark collection easily and without friction. It allows you to retrieve your bookmark collection from your browser of choice, filter out duplicates, local files and entries matching string, substring and regex searches, and archive the whole thing: online in The Internet Archive or locally, using ArchiveBox.

How does Anchorage work

bookmarks(load(path(browser)),
*filters)
bookmarks(load(path(browser)),…
load
JSON | JSONLZ4
load…
path
path
browser
browser
config.toml
config.toml
%3CmxGraphModel%3E%3Croot%3E%3CmxCell%20id%3D%220%22%2F%3E%3CmxCell%20id%3D%221%22%20parent%3D%220%22%2F%3E%3CmxCell%20id%3D%222%22%20value%3D%22%26lt%3Bfont%20color%3D%26quot%3B%232587f7%26quot%3B%26gt%3Bbrowser%26lt%3B%2Ffont%26gt%3B%22%20style%3D%22shape%3DmanualInput%3BwhiteSpace%3Dwrap%3Bhtml%3D1%3Bsize%3D13%3B%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%2290%22%20y%3D%22313%22%20width%3D%2273%22%20height%3D%2250%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3C%2Froot%3E%3C%2FmxGraphModel%3Efilters
String | Substring | Regex
%3CmxGraphModel%3E%3Croot…
.bookmarks

.n_dirs
.bookmarks…
anchor_locally
ArchiveBox
anchor_locally…
anchor_online
The Internet Archive
anchor_online…
anchorage.bookmarks
anchorage.bookmarks
anchorage.anchor
anchorage.anchor
anchorage.tools
anchorage.tools
Viewer does not support full SVG 1.1

Expand source code
"""
.. include:: ./documentation.md
"""

Sub-modules

anchorage.anchor

Anchorage archival methods

anchorage.anchor_infrs

Infrastructure

anchorage.anchor_tools

The tools that Anchorage uses

anchorage.anchor_utils

Anchorage utilities

anchorage.bookmarks

Anchorage bookmark processing

anchorage.cli

Anchorage CLI