@tonk/cli 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +22 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -67,6 +67,28 @@ Options:
67
67
  - `-k, --key <path>` - Path to SSH key file
68
68
  - `-u, --user <name>` - SSH username (default: ec2-user)
69
69
  - `-t, --token <token>` - Pinggy.io access token for public URL
70
+ - `-b, --backblaze` - Enable Backblaze B2 storage for document backup
71
+ - `-f, --filesystem` - Enable filesystem storage for document backup
72
+
73
+ #### Persistence Features
74
+
75
+ Tonk supports multiple options for persisting your documents:
76
+
77
+ 1. **Backblaze B2 Storage**: Cloud-based backup for your documents
78
+ - Secure, scalable cloud storage
79
+ - Automatic synchronization at configurable intervals
80
+ - Requires a Backblaze B2 account with bucket and application keys
81
+
82
+ 2. **Filesystem Storage**: Local file-based storage on your server
83
+ - Store documents directly on the server's filesystem
84
+ - Configurable storage path and sync intervals
85
+ - Automatic directory creation
86
+
87
+ 3. **Dual Storage**: Use both Backblaze and filesystem storage
88
+ - Configure a primary storage option
89
+ - Automatic fallback to secondary storage
90
+
91
+ During deployment, you'll be guided through setting up your preferred storage options interactively if not specified via command-line options.
70
92
 
71
93
  ## Development
72
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonk/cli",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "The Tonk stack command line utility",
5
5
  "type": "module",
6
6
  "bin": {