leo-ver-serv

Crates.ioleo-ver-serv
lib.rsleo-ver-serv
version0.1.10
sourcesrc
created_at2019-07-30 12:48:51.230251
updated_at2024-01-23 18:56:11.82631
descriptionA web server which accepts snapshots from Leo, and serves web application for browsing history of known Leo files.
homepage
repositoryhttps://github.com/vitalije/fossil-delta.git
max_upload_size
id152909
size587,574
Виталије Милошевић (vitalije)

documentation

README

Leo version server

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.

Installation

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

Leo Configuration

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.

Commit count: 55

cargo fmt