From 19c2efc15c0d8fcf4e6dea73c7f24f1149099116 Mon Sep 17 00:00:00 2001 From: Kris Yotam <75515498+krisyotam@users.noreply.github.com> Date: Thu, 14 May 2026 16:25:18 -0500 Subject: [PATCH] convert README.md to README.txt --- README.md | 229 ----------------------------------------------------- README.txt | 228 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 228 insertions(+), 229 deletions(-) delete mode 100644 README.md create mode 100644 README.txt diff --git a/README.md b/README.md deleted file mode 100644 index 49089cc90ed3e010bf8c178d4c7a63887354c97c..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,229 +0,0 @@ -# sbot - -**Simple Archiver Bot** -- a suckless web archiver written in C. - -sbot creates self-contained archives of web pages and entire websites. -Every resource -- CSS, images, fonts, scripts -- is fetched and inlined -directly into the HTML as base64 data URIs. The result is a single file -(or directory of files) that renders perfectly offline, with no external -dependencies, forever. - -## Why - -Web pages disappear. Link rot is real. The average web page has a -half-life of about two years. Bookmarks break, articles vanish, -references evaporate. - -sbot solves this by creating archives that are: - -- **Self-contained.** Everything is inlined. No external requests needed. -- **Human-readable.** Output is standard HTML. Open it in any browser. -- **Permanent.** No database, no server, no special viewer. Just files. -- **Metadata-rich.** GWTAR headers record provenance, date, and source. - -## Modes - -### Single Page Archive - -```sh -sbot https://example.com/article -``` - -Archives a single page in **GWTAR format** (Gwern Web Tar Archive). This -is the default mode and the most common use case. The output is one -`.gwtar.html` file containing: - -- A GWTAR metadata header (HTML comment) with title, source URL, domain, - author, archive date, and generator version -- The full HTML with all CSS stylesheets inlined as `