Categorygithub.com/hashworks/plexStats
modulepackage
1.2.0
Repository: https://github.com/hashworks/plexstats.git
Documentation: pkg.go.dev

# README

plexStats

plexStats is a project I did at my university (HTWK Leipzig) to get my accreditation for the exam of the databases module.

It provides a webservice with Gin with a webhook endpoint for Plex and gathers all received information in a SQLite database. The frontend shows basic usage statistics like total plays by hour.

example image of the frontend

I got inspired by Tautulli which provides full stack monitoring and tracking for Plex Media Servers.

Deployment

Thanks to go-bindata you can deploy it with a single binary from the releases page. Just pick one for your architecture and launch it, it will provide you with a web server running on http://localhost:65431/. The webhook is available on http://localhost:65431/webhook.

Note that it will create a SQLite Database in a file named plex.db in your current working directory.

By source

If you want to build by source you have to install the following dependencies:

Afterwards you can install the Go dependencies.

make dependencies

And build plexStats which will provide you with a binary under ./bin/plexStats.

make build

# Variables

No description provided by the author
No description provided by the author
Set the following uppercase three with -ldflags "-X main.VERSION=v1.2.3 [...]".

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author