Crates.io | leo-ver-serv |
lib.rs | leo-ver-serv |
version | 0.1.10 |
source | src |
created_at | 2019-07-30 12:48:51.230251 |
updated_at | 2024-01-23 18:56:11.82631 |
description | A web server which accepts snapshots from Leo, and serves web application for browsing history of known Leo files. |
homepage | |
repository | https://github.com/vitalije/fossil-delta.git |
max_upload_size | |
id | 152909 |
size | 587,574 |
leo-ver-serv
is a web server which accepts POST requests from Leo. Leo sends snapshots
of its current state, server calculates delta between the previous version of snapshot and
the current one, and stores delta in a database. Server also serves a small web application
which allows user to browse history of known Leo files.
If you already have installed cargo
and rustc
, it is enaugh to execute the following
command:
cargo install leo-ver-serv
It requires one or two arguments. The first one is a file containing known Leo files, and the second argument optionally is a port number on which server should listen.
leo-ver-serv ~/.leo/.leoRecentFiles.txt 8088
In Leo open myLeoSettings.leo add a node under @settings
with matching port:
@int history-tracer-port=8088
...and ensure history_tracer.py
in body of @settings-->@enabled-plugins
is uncommented.