Alexandria
The fetcher saves web articles into your Alexandria knowledge base. Given a URL, it extracts article content and metadata, converts the body to Markdown, and creates a tagged note.
cargo build -p alexandria-fetcher
The binary is called akb-fetcher.
akb-fetcher https://example.com/article
akb-fetcher https://example.com/article --akb-path ~/my-kb
akb-fetcher -v https://example.com/article
akb-fetcher finds your workspace in this order:
--akb-path flag - if provided, uses this path directlynotes/, media/, trash/ subdirectories~/.config/alexandria/config.json for a saved workspace_path--akb-path| Field | Source (priority order) |
|---|---|
| Title | og:title → twitter:title → <title> → <h1> |
| Body | Readability extraction → Markdown conversion |
| Author | meta[name=author] → meta[property=article:author] |
| Published date | meta[property=article:published_time] → meta[name=date] |
| Keywords | meta[name=keywords] (comma-separated) |
| Original URL | The URL you passed in |
Fetched Articles tagEach fetched article is tagged with Fetched Articles. This tag is created automatically on first use with these properties:
You can search and filter fetched articles with this tag.