From fc71e4638075303b3c2e5395115f12e49d0abec5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 11 Dec 2017 21:06:25 -0800 Subject: start diy-dat mdbook --- diy-dat/.gitignore | 1 + diy-dat/src/SUMMARY.md | 13 +++++++++++++ diy-dat/src/book.toml | 2 ++ diy-dat/src/chapter_1.md | 1 + diy-dat/src/dat-logo.svg | 15 +++++++++++++++ diy-dat/src/discovery.md | 1 + diy-dat/src/drive.md | 7 +++++++ diy-dat/src/integration.md | 1 + diy-dat/src/intro.md | 4 ++++ diy-dat/src/network.md | 6 ++++++ diy-dat/src/protocol.md | 1 + diy-dat/src/references.md | 1 + diy-dat/src/sleep.md | 22 ++++++++++++++++++++++ 13 files changed, 75 insertions(+) create mode 100644 diy-dat/.gitignore create mode 100644 diy-dat/src/SUMMARY.md create mode 100644 diy-dat/src/book.toml create mode 100644 diy-dat/src/chapter_1.md create mode 100644 diy-dat/src/dat-logo.svg create mode 100644 diy-dat/src/discovery.md create mode 100644 diy-dat/src/drive.md create mode 100644 diy-dat/src/integration.md create mode 100644 diy-dat/src/intro.md create mode 100644 diy-dat/src/network.md create mode 100644 diy-dat/src/protocol.md create mode 100644 diy-dat/src/references.md create mode 100644 diy-dat/src/sleep.md diff --git a/diy-dat/.gitignore b/diy-dat/.gitignore new file mode 100644 index 0000000..5a0bf03 --- /dev/null +++ b/diy-dat/.gitignore @@ -0,0 +1 @@ +/book diff --git a/diy-dat/src/SUMMARY.md b/diy-dat/src/SUMMARY.md new file mode 100644 index 0000000..325d020 --- /dev/null +++ b/diy-dat/src/SUMMARY.md @@ -0,0 +1,13 @@ +# Summary + +[Implement Dat Yourself!](./intro.md) + +- [SLEEP v2 files and registers](./sleep.md) +- [Drive metadata and files](./drive.md) +- [Protocol](./protocol.md) +- [Discovery](./discovery.md) +- [Integration](./integration.md) + +----------- + +[References](./references.md) diff --git a/diy-dat/src/book.toml b/diy-dat/src/book.toml new file mode 100644 index 0000000..ecd5983 --- /dev/null +++ b/diy-dat/src/book.toml @@ -0,0 +1,2 @@ +title = "DIY Dat Notes" +author = "You!" diff --git a/diy-dat/src/chapter_1.md b/diy-dat/src/chapter_1.md new file mode 100644 index 0000000..b743fda --- /dev/null +++ b/diy-dat/src/chapter_1.md @@ -0,0 +1 @@ +# Chapter 1 diff --git a/diy-dat/src/dat-logo.svg b/diy-dat/src/dat-logo.svg new file mode 100644 index 0000000..d76b80b --- /dev/null +++ b/diy-dat/src/dat-logo.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/diy-dat/src/discovery.md b/diy-dat/src/discovery.md new file mode 100644 index 0000000..af6b0e4 --- /dev/null +++ b/diy-dat/src/discovery.md @@ -0,0 +1 @@ +# Discovery diff --git a/diy-dat/src/drive.md b/diy-dat/src/drive.md new file mode 100644 index 0000000..6d8073b --- /dev/null +++ b/diy-dat/src/drive.md @@ -0,0 +1,7 @@ + +- [Drive metadata and files](./drive.md) + - [x] read full history ("log") + - [x] read file tree ("ls") + - [x] import file to register + - [x] export file from register + - [x] import/export directories recursively diff --git a/diy-dat/src/integration.md b/diy-dat/src/integration.md new file mode 100644 index 0000000..50a133c --- /dev/null +++ b/diy-dat/src/integration.md @@ -0,0 +1 @@ +# Integration diff --git a/diy-dat/src/intro.md b/diy-dat/src/intro.md new file mode 100644 index 0000000..b61f4f8 --- /dev/null +++ b/diy-dat/src/intro.md @@ -0,0 +1,4 @@ + +![dat logo](./dat-logo.svg) + +This is the intro page! diff --git a/diy-dat/src/network.md b/diy-dat/src/network.md new file mode 100644 index 0000000..40ac7d5 --- /dev/null +++ b/diy-dat/src/network.md @@ -0,0 +1,6 @@ + +- [Networking](./network.md) + - [x] send/receive encrypted messages to a known host + - [ ] receive entire register from a known host + - [ ] share (upload) register to a known host + - [ ] bitfields diff --git a/diy-dat/src/protocol.md b/diy-dat/src/protocol.md new file mode 100644 index 0000000..fbd34d1 --- /dev/null +++ b/diy-dat/src/protocol.md @@ -0,0 +1 @@ +# Protocol diff --git a/diy-dat/src/references.md b/diy-dat/src/references.md new file mode 100644 index 0000000..b18be66 --- /dev/null +++ b/diy-dat/src/references.md @@ -0,0 +1 @@ +# References diff --git a/diy-dat/src/sleep.md b/diy-dat/src/sleep.md new file mode 100644 index 0000000..9168b23 --- /dev/null +++ b/diy-dat/src/sleep.md @@ -0,0 +1,22 @@ +# SLEEP v2 files and registers + +## read/write file headers + +Some info here... + +## read/write file chunks as raw bytes + +Some there... + +## pread/pwrite file chunks without seeking + +## read data entries by index + +## append data entries + +## verify entire register (signatures and merkel tree) + +## receive and insert data out of order + +## bitfields + -- cgit v1.2.3