Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.
/ lares Public archive
forked from fanzeyi/lares

Minimal Fever API (RSS Reader) Implementation

License

Notifications You must be signed in to change notification settings

mrusme/lares

 
 

Repository files navigation

Lares: Minimal Fever API Implementation

Build Status Crates.io Docker Status

Lares is a minimal Fever API implementation written in Rust. It aims to provide a RSS reader backend with zero setup. It uses SQLite 3 as storage engine. It does not provide an user interface.

It is recommended to use Reeder as client to lares.

Install

Cargo

cargo install lares

Docker

docker run -it fanzeyi/lares

Pre-built Binary

For each release, GitHub Action will attach pre-built binaries for Ubuntu, macOS and Windows. You can find these binaries in the release page.

Usage

Lares consists of two parts, CLI and server. Feeds and groups are only manageable via the command line interface.

$ lares --help
lares 0.1.1
Minimal RSS service

USAGE:
    lares [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -d, --database <database>     [default: lares.db]

SUBCOMMANDS:
    feed      Manages feeds
    group     Manages group
    help      Prints this message or the help of the given subcommand(s)
    server    Starts web server

Or, to start a server:

$ lares server --help
lares-server 0.1.1
Starts web server

USAGE:
    lares server [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -H, --host <host>            Specifies host of server [default: 127.0.0.1]
    -P, --password <password>    Specifies password used in authentication
    -p, --port <port>            Specifies port of server [default: 4000]
    -u, --username <username>    Specifies username used in authentication

To start a lares server listens to 127.0.0.1:4000 that only accepts authentication with lares and apassword and placing the SQLite database at /var/lares.db, run:

$ lares --database /var/lares.db server --host 127.0.0.1 --port 4000 \
  --username lares --password apassword

License

MIT

About

Minimal Fever API (RSS Reader) Implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.2%
  • Other 0.8%