From f186b71ca51e83837db60de13322394bb5e6d348 Mon Sep 17 00:00:00 2001 From: murilo ijanc Date: Tue, 24 Mar 2026 21:41:06 -0300 Subject: Initial commit Import existing tesseras.net website content. --- book/en/commands/create.html | 329 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 329 insertions(+) create mode 100644 book/en/commands/create.html (limited to 'book/en/commands/create.html') diff --git a/book/en/commands/create.html b/book/en/commands/create.html new file mode 100644 index 0000000..66db6a5 --- /dev/null +++ b/book/en/commands/create.html @@ -0,0 +1,329 @@ + + + + + + create - Tesseras User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Keyboard shortcuts

+
+

Press or to navigate between chapters

+

Press S or / to search in the book

+

Press ? to show this help

+

Press Esc to hide this help

+
+
+
+
+ + + + + + + + + + + + + +
+ +
+
+ + + + + + + +
+
+

tes create

+

Create a tessera from a directory of files.

+

Usage

+
tes create <PATH> [OPTIONS]
+
+

Arguments

+
+ + + + + + + +
ArgumentDescription
<PATH>Directory containing files to include
+
+

Options

+
+ + + + + + + + + + + + + +
OptionDescriptionDefault
-n, --non-interactiveSkip promptsoff
--dry-runPreview what would be includedoff
--visibility <VALUE>Visibility level: public, private, circlepublic
--language <CODE>Language code (e.g., en, pt-BR)en
--tags <LIST>Comma-separated tagsnone
--location <DESC>Location descriptionnone
--data-dir <PATH>Base directory for data storage~/.tesseras
+
+

Supported file formats

+
+ + + + + + + + + + + +
ExtensionTypeMemory type
.jpg, .jpegImage (JPEG)Moment
.pngImage (PNG)Moment
.wavAudio (WAV PCM)Moment
.webmVideo (WebM)Moment
.txtPlain text (UTF-8)Reflection
+
+

Files with other extensions are ignored.

+

Memory type inference

+

The command automatically assigns a memory type based on the file format:

+
    +
  • Text files (.txt) are classified as Reflection — thoughts, beliefs, or opinions
  • +
  • All other formats are classified as Moment — a photo, recording, or video of something happening
  • +
+

Examples

+

Preview before creating

+
tes create ./my-photos --dry-run
+
+

Create with metadata

+
tes create ./vacation-2026 \
+    --tags "vacation,summer,beach" \
+    --location "Florianópolis, Brazil" \
+    --language pt-BR \
+    --visibility public
+
+

Non-interactive mode

+
tes create ./daily-log --non-interactive --tags "daily"
+
+

Visibility levels

+
+ + + + + + + + + +
LevelWho can access
publicAnyone (default)
privateOnly you (and designated heirs)
circleExplicitly chosen people
+
+

What happens under the hood

+
    +
  1. Scans the directory for supported files
  2. +
  3. Computes a BLAKE3 hash for each file
  4. +
  5. Assigns a memory type based on file extension
  6. +
  7. Generates a MANIFEST listing all files with their checksums
  8. +
  9. Signs the MANIFEST with your Ed25519 private key
  10. +
  11. Stores the files and metadata in the local database
  12. +
  13. Outputs the content hash that uniquely identifies this tessera
  14. +
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + -- cgit v1.2.3