Skip to content

massivebird/lantern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lantern

Lantern is a website connectivity monitor written in Rust 🦀

Lantern offers a simple dashboard that lets you quickly check if your internet — or one of your favorite sites — is up or down.

Building

To manually build the project, you must first install Rust.

Once you have Rust installed, run the following commands:

git clone https://github.com/massivebird/lantern
cd lantern
cargo run # runs unoptimized build

cargo run's build phase will tell you if you need to install other dependencies such as pkg-config and libssl-dev.

Nix flake

If you're using Nix, you can add the following to your flake's inputs:

inputs = {
  # ...

  lantern = {
    url = "github:massivebird/lantern";
    inputs.nixpkgs.follows = "nixpkgs";
  };

  # ...
}

Then, add the following to your environment.systemPackages:

environment.systemPackages = [
  # ...
  inputs.lantern.packages.${pkgs.system}.default
  # ...
]

Configuration

Lantern reads the config file at $HOME/.config/lantern/config.toml.

The schema looks something like this:

# $HOME/.config/lantern/config.toml

[[connection]]
name = "GitHub"
addr = "https://github.com"

[[connection]]
name = "PC"
addr = "192.168.1.159" # Local machine IP

About

Network monitor dashboard written in Rust 🦀

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published