{"id":19200738,"url":"https://github.com/guiepi/plex-observer","last_synced_at":"2026-06-17T22:31:48.454Z","repository":{"id":218413330,"uuid":"612421667","full_name":"GuiEpi/plex-observer","owner":"GuiEpi","description":"Plex observer is a bot discord created for people who have a plex server with limited resources. You can define a number of seats and once the bot is deployed it will let you know which people are connected and therefore which seats are left.","archived":false,"fork":false,"pushed_at":"2024-01-21T18:18:47.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T05:27:43.821Z","etag":null,"topics":["discord-bot","plex","pycord","python-plexapi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GuiEpi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-03-10T23:06:03.000Z","updated_at":"2024-02-14T08:38:20.000Z","dependencies_parsed_at":"2024-01-21T21:09:15.146Z","dependency_job_id":null,"html_url":"https://github.com/GuiEpi/plex-observer","commit_stats":null,"previous_names":["guiepi/plex-observer"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GuiEpi/plex-observer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiEpi%2Fplex-observer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiEpi%2Fplex-observer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiEpi%2Fplex-observer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiEpi%2Fplex-observer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuiEpi","download_url":"https://codeload.github.com/GuiEpi/plex-observer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiEpi%2Fplex-observer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34468766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord-bot","plex","pycord","python-plexapi"],"created_at":"2024-11-09T12:34:37.821Z","updated_at":"2026-06-17T22:31:48.431Z","avatar_url":"https://github.com/GuiEpi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Project Image](https://raw.githubusercontent.com/GuiEpi/plex-observer/master/assets/plex_observer.png)\n\n# Plex Observer\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) \n[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)\n![Python 3.11](https://img.shields.io/badge/python-3.11-blue)\n\n\nPlex Observer is a Discord bot that monitors a Plex server and updates the bot's status based on the number of available slots on the server.\n\n## 🚀 Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\n- Python 3.11\n- [Poetry](https://python-poetry.org/docs/)\n\n### Installation\n\n1. Clone the repo\n```bash\ngit clone https://github.com/GuiEpi/plex-observer.git\n```\n2. Navigate to the project directory\n```bash\ncd plex-observer\n```\n3. Set the Python version for the environment\n```bash\npoetry env use 3.11\n```\n4. Install dependencies\n```bash\npoetry install\n```\n\u003e Note: The project uses Python 3.11 due to an issue with the multidict dependency in Python 3.12.\n\n## ⚙️ Configuration\nPlex Observer requires minimal configuration to function. You need to provide a Discord bot token and Plex credentials (either a username and password or a baseurl and token).\n\nAn minimal example configuration file is provided as `example.config.ini`. Simply replace `\u003cdiscord-bot-token\u003e`, `\u003cplex-username\u003e` and `\u003cplex-username\u003e` with yours and rename the file to `config.ini`.\n\nHere's an example of a fully specified `config.ini` file:\n```ini\n[settings]\nplaces = 10\ninterval = 10\n\n[discord]\ntoken = NDY3NzE1NTAbUjYwMzg2ODI2.DiuplA.T336twFYOlzcHqcU1xV5skYyHX0\ntoken_dev = BuZbzE1NTAyJIUhdvYwMzg2ODI2.JaopjB.T529twFYOlzcHqcU1uEK78jx\n\n[plex]\nusername = johndoe\npassword = kodi-stinks\nbaseurl = http://127.0.0.1:32400\ntoken = XBHSMSJSDJ763JSm\n```\n\n## 🕹 Usage\nTo run Plex Observer, execute the following command:\n```bash\npoetry run python3 src/main.py\n```\nYou can specify the environment (prod or dev) with the -e or --env argument:\n```bash\npoetry run python3 src/main.py --env dev\n```\n\n## 🐳 Docker Deployment\nYou can also deploy Plex Observer using Docker:\n```bash\ndocker build -t plex-observer .\ndocker run -d plex-observer\n```\n\u003e * `-t plex-observer`: This flag is used in the `docker build` command. The `-t` stands for \"tag\". It tags the image with the name `plex-observer` so you can easily refer to the image later.\n\u003e * `-d`: This flag is used in the `docker run` command. The `-d` stands for \"detached\". It means that Docker will run your container in the background and print the container ID.\n\n\n## 🤝 Contributing\nContributions, issues, and feature requests are welcome! Feel free to check the issues page.\n\n## 📝 License\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiepi%2Fplex-observer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguiepi%2Fplex-observer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiepi%2Fplex-observer/lists"}