Git Product home page Git Product logo

homers's Introduction

HOMERS

This project has the purposed to be a replacement for Varken.
Since InfluxDB is not a good option for me, I decided to use prometheus and to build an exporter.

It's not ready yet, but some features are already there.

Getting Started

The easiest way to start the project is to use docker.
Image can be found at Docker Hub.

docker run -d -p 8000:8000 -v ./config.toml:/app/config.toml mcth/homers

You can either use configuration file or environment variables.
Each config key has a correspondent environment variable.
Example: config.toml:

[server]
port=8000
address="0.0.0.0"
[sonarr]
address="http://localhost:8989"
api_key=""

[tautulli]
address="http://localhost:8181"
api_key=""

[radarr]
address="http://localhost:7878"
api_key=""

[overseerr]
address="http://localhost:5055"
api_key=""
requests=200

For overseerr you can customize the number of requests you want to pull. Default is 20.

Building the project

To build the project you need to have cargo installed.
Then you can run cargo build --release.

Alternatively you can also use nix.
To build the project using nix, you can run nix build .#.
And for the docker image :

nix build .#docker
docker load < ./result

Advancement

So far it's not doing much.
[X] Retrieve Sonarr today's calendar [X] Retrieve Tautulli activity [X] Retrieve Tautulli library information [X] Retrieve Overseerr requests [X] Retrieve missing episodes from sonarr [ ] Retrieve watch information from tautulli [ ] Connect to ombi (I'm not using it but if required could do) [ ] Other

Roadmap

The point is to at least support what Varken was doing. There will also be a Grafana dashboard.
Grafana dashboard is now live at Grafana.

Acknowledgments

Since it's pretty much my first Rust project the code is far from perfect.
It's heavily inspired from the work of Lars Strojny that's provide a really good example of exporter in rust.

homers's People

Contributors

tcheronneau avatar lh-tcheronneau avatar

Stargazers

 avatar  avatar

Watchers

Lucian avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.