{"id":18537983,"url":"https://github.com/jp1337/owstats","last_synced_at":"2026-04-09T12:50:07.747Z","repository":{"id":39777640,"uuid":"192190144","full_name":"jp1337/owstats","owner":"jp1337","description":"Self Hosted Overwatch Statistics written in Node.JS using OWAPI as Statistics Source","archived":false,"fork":false,"pushed_at":"2025-01-07T12:29:17.000Z","size":32071,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T07:44:02.330Z","etag":null,"topics":["javascript","mariadb","mysql","nodejs","overwatch","overwatch-api","webinterface","website"],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jp1337.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-16T12:48:05.000Z","updated_at":"2025-01-07T12:29:22.000Z","dependencies_parsed_at":"2025-02-17T07:44:05.342Z","dependency_job_id":"dc43ed4e-5d42-4ea6-9016-6c92458bb494","html_url":"https://github.com/jp1337/owstats","commit_stats":null,"previous_names":["jp1337/owstats"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jp1337%2Fowstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jp1337%2Fowstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jp1337%2Fowstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jp1337%2Fowstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jp1337","download_url":"https://codeload.github.com/jp1337/owstats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254257084,"owners_count":22040403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["javascript","mariadb","mysql","nodejs","overwatch","overwatch-api","webinterface","website"],"created_at":"2024-11-06T19:41:32.536Z","updated_at":"2025-12-30T23:04:58.805Z","avatar_url":"https://github.com/jp1337.png","language":"CSS","readme":"# owstats\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/20c5fc0141f4491293cbb86666bc5570)](https://app.codacy.com/app/JPylypiw/owstats?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=jpylypiw/owstats\u0026utm_campaign=Badge_Grade_Dashboard)\n\n## Description\n\nPrivate Overwatch statistics backend application.\n\n## Requirements\n\nWhat do you need to execute owstats and owapi?\n\n### Requirements for owstats\n\n- We support Windows and Linux\n- MySQL / MariaDB Database\n- Node.JS and NPM Package Manager\n\n### Requirements for owapi\n\n- Python \u003e Version 3.5\n- Linux / Unix based server\n- apt packages `apt install redis-server libxslt-dev python3-dev build-essential zlib1g-dev pkg-config`\n\n## References\n\n1. [OWAPI - Overwatch JSON API](https://github.com/SunDwarf/OWAPI)\n1. [Node.js](https://nodejs.org/en/)\n1. [mysqljs - A pure node.js JavaScript Client implementing the MySql protocol.](https://github.com/mysqljs/mysql)\n\n## Installation\n\nWe recommend a linux / unix environment for use of owapi and owstats.\n\nLinux Installation steps (Optimized for Debian):\n\n1. Follow the installation steps of OWAPI showed in their [Readme](https://github.com/SunDwarf/OWAPI/blob/master/README.md)\n\n1. To use owapi as systemd service add the following content into the file `/lib/systemd/system/owapi.service` and edit the file for your environment.\n\n``` bash\n[Unit]\nDescription=OWAPI - Overwatch API\nWants=network-online.target\nAfter=syslog.target time-sync.target network.target network-online.target\n\n[Service]\nType=oneshot\nExecStart=/opt/OWAPI/run.sh\nUser=owapi\nGroup=owapi\n\n[Install]\nWantedBy=multi-user.target\nAlias=owapi.service\n\n\n```\n\n1. add the following content into `/PATH TO OWAPI/run.sh` and edit the file for your system.\n\n``` bash\n#!/usr/bin/env bash\n\nexport LC_ALL=C.UTF-8\nexport LANG=C.UTF-8\n\ncd /opt/OWAPI\n\npython3.5 -m venv ./venv\n\nsource ./venv/bin/activate\n\nPYTHONPATH=. asphalt run -l uvloop config.yml\n\nexit 0\n```\n\n1. start the owapi service and look out for errors. You have to cancel the script after starting using `Strg + C`\n\n1. Clone this repository into a folder you like. We recommend `/opt/owstats` or `/usr/local/owstats`\n\n1. Run `npm install` to setup the required Node.js Packages\n\n1. execute the `setup.sql` file in your MySQL or MariaDB database.\n\n1. Copy the .example-files in config folder to .js files and edit the default values to your values.\n\n1. Execute `node readdata.js` and watch for possible errors.\n\n1. Add the following line to your crontab using the command `crontab -e` and edit the execute frequency. In our example we read the data every hour.\n\n``` bash\n0 * * * * /usr/bin/node /opt/owstats/readdata.js\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjp1337%2Fowstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjp1337%2Fowstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjp1337%2Fowstats/lists"}