Skip to content

stigmee/stigmark-server

Repository files navigation

Stigmark

Stigmark is a kind of shared bookmark manager. The idea is to start collect data for Stigmee AI.

Client

It comes as a Webbrowser extension (for now Chrome, Brave, Edge).

Server

The server is written in Rust. It relies on Rocket which in turn, needs to use a nightly version of Rust.

This is temporary. We'll move later to bare simple - if it means something in Rust - Hyper based framework and Tokio.

How to compile :

  1. Install Rust compiler with rustup
  2. Install nightly compiler (required by Rocket library). In command line (works with bash/cmd/powershell) type the following instructions :
rustup default nightly
  1. Fetch the source code :
git clone https://github.com/stigmee/stigmark-rocket-rs
  1. Enter the directory and compile with cargo (the Rust package manager) :
cd stigmark-rocket-rs
cargo run

How to use it ?

step 1 step 2 step 3 step 4 step 5

test

In test directory, you'll find rust tests lib+app

Bugs

Yes

TODO

A lot.

  • make it fully RESTful
  • Rocket -> Hyper/Tokio

Notes

  • Not RESTful yet