Skip to content
/ .agent Public

Assorted tools for extracting links from HTML, user agent state, and exports.

Notifications You must be signed in to change notification settings

jwp/.agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dot-agent link aggregation

Extraction and conversion tools for sessions, bookmarks, and HTML anchors.

This is not likely to be useful to others.

Link storage structure:

1. Link
2. Time Context (Date Added or First Visit or Nothing)
3. Icon (Often a data URI)
4. Title (An emoji laden mess)

Aggregate visitation structure:

1. Link
2. Visit Count
3. Earliest Visit Time
4. Latest Visit Time

Released under CC-0 or Public Domain.

Purpose

  • Tab exports for controlling oversized user agent sessions.
  • Session backup exports for recovering past tabs.
  • Link extraction from other XML/HTML link stores. (netscape bookmark exports)

Usage

# Copy or move session json, bookmarks, HTML files inside one directory.
xal process path/to/export/collection/ filters-file >links.tsv

# Copies sqlite database into temporary directory before joining with `links.tsv`.
xal query visitation | xal track -Amozilla-firefox -Agoogle-chrome links.tsv >visits.tsv

About

Assorted tools for extracting links from HTML, user agent state, and exports.

Topics

Resources

Stars

Watchers

Forks