feat: chat cli demo app (#87)

* chore: remove ffi from double ratchet

* chore: format

* feat: chat cli demo app via file transport

* chore: fix the compile issues

* chore: fix long intro copy to clipboard

* chore: move chat cli to bin folder

* chore: use tmp data folder

* chore: update doc

* chore: use encrypted db with default db pass

* chore: fmt and clippy

* chore: fix clippy and refactor

* chore: utils for helper funcs

* chore: rename sessions to chats
This commit is contained in:
kaichao
2026-04-17 14:43:04 +08:00
committed by GitHub
parent 94935c28fe
commit 6c7b3a4252
10 changed files with 1985 additions and 11 deletions
+6
View File
@@ -0,0 +1,6 @@
pub fn now() -> u64 {
std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_millis() as u64
}