about summary refs log tree commit diff
path: root/tools/blog_cli/README.md
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-09T01·29+0000
committerVincent Ambo <tazjin@google.com>2020-02-09T01·30+0000
commit31b3e533c65243364b01af6d228e19d41db0906e (patch)
treeff3a03f39d76a4ef41f3f00a3f5d5072cfe34e4b /tools/blog_cli/README.md
parenteb6e64ad475e91df9f16c6a52ee9d36f0e4a2d4a (diff)
chore(tools): Remove //tools/blog_cli r/501
No longer needed with the deprecation of tazblog.
Diffstat (limited to 'tools/blog_cli/README.md')
-rw-r--r--tools/blog_cli/README.md41
1 files changed, 0 insertions, 41 deletions
diff --git a/tools/blog_cli/README.md b/tools/blog_cli/README.md
deleted file mode 100644
index 7afa0fe9207a..000000000000
--- a/tools/blog_cli/README.md
+++ /dev/null
@@ -1,41 +0,0 @@
-tazblog CLI
-===========
-
-My blog stores its content in DNS, spread out over three types of `TXT` entries:
-
-* `TXT _posts.blog.tazj.in.`: A sorted list of posts, serialised as a JSON list of
-  strings (e.g. `["1486830338", "1476807384"]`)
-
-* `TXT _chunks.$postID.blog.tazj.in`: JSON chunks containing the blog post text
-
-* `TXT _meta.$postID.blog.tazj.in`: JSON blob with blog post metadata
-
-All JSON blobs are base64-encoded.
-
-This CLI tool helps to update those records.
-
-Each blog post data is a series of JSON-encoded structures which follow one of
-these formats:
-
-```
-struct metadata {
-    chunks: int
-    title: string
-    date: date
-}
-```
-
-Where `chunks` describes the number of chunks following this format:
-
-```
-struct chunk {
-    c: int
-    t: string
-}
-```
-
-Writing a blog post to DNS means taking its text and metadata, chunking it up
-and writing the chunks.
-
-Reading a blog post means retrieving all data, reading the metadata and then
-assembling the chunks in order.