{"id":18897836,"url":"https://github.com/aneisch/planefinder-stats","last_synced_at":"2025-06-11T00:04:37.184Z","repository":{"id":79012379,"uuid":"241282845","full_name":"aneisch/planefinder-stats","owner":"aneisch","description":"Query PlaneFinder client and store stats in InfluxDB","archived":false,"fork":false,"pushed_at":"2020-02-23T04:41:57.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T18:47:20.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aneisch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-02-18T05:46:32.000Z","updated_at":"2020-02-23T04:41:59.000Z","dependencies_parsed_at":"2023-07-03T04:45:42.554Z","dependency_job_id":null,"html_url":"https://github.com/aneisch/planefinder-stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2Fplanefinder-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2Fplanefinder-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2Fplanefinder-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2Fplanefinder-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aneisch","download_url":"https://codeload.github.com/aneisch/planefinder-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2Fplanefinder-stats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259172950,"owners_count":22816555,"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":[],"created_at":"2024-11-08T08:39:45.010Z","updated_at":"2025-06-11T00:04:37.160Z","avatar_url":"https://github.com/aneisch.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# planefinder-stats\n\nQuery [Plane Finder client](https://planefinder.net/sharing/client) and store stats in InfluxDB\n\nThe following data is retrieved from the /ajax/stats endpoint of the [Plane Finder client](https://planefinder.net/sharing/client):\n```\n{\n  \"executable_start_time\": 1581968285.019631,\n  \"client_version\": \"4.1.14 armhf\",\n  \"total_modes_packets\": 10388550,\n  \"total_modes_packets_ps\": 107,\n  \"prev_total_modes_packets\": 0,\n  \"total_modeac_packets\": 19834012,\n  \"total_modeac_packets_ps\": 216,\n  \"prev_total_modeac_packets\": 0,\n  \"master_server_bytes_out\": 10129237,\n  \"prev_master_server_bytes_out\": 0,\n  \"master_server_bytes_in\": 1154324,\n  \"local_server_bytes_out\": 8254370,\n  \"local_server_bytes_in\": 1005924,\n  \"mlat_bytes_out\": 0,\n  \"mlat_bytes_in\": 0,\n  \"receiver_bytes_out\": 28,\n  \"receiver_bytes_in\": 506117460,\n  \"receiver_bytes_out_ps\": 0,\n  \"receiver_bytes_in_ps\": 5384,\n  \"total_modes_crc_bad\": 21209203,\n  \"total_modes_crc_corrected\": 0,\n  \"total_modes_types\": {\n    \"0\": 2160626,\n    \"4\": 542864,\n    \"5\": 14109,\n    \"11\": 3373623,\n    \"16\": 69819,\n    \"17\": 4222106,\n    \"18\": 1,\n    \"20\": 5244,\n    \"21\": 158\n  }\n}\n```\n\n### Example docker-compose:\n```yaml\nversion: '3.2'\nservices:\n    planefinder-stats:\n        container_name: planefinder-stats\n        image: aneisch/planefinder-stats\n        environment:\n          - INFLUX_HOST=192.168.1.5\n          - PLANEFINDER_HOST=192.168.1.55\n```\n\n### Example `docker run`:\n```bash\ndocker run -d --name planefinder-stats -e INFLUX_HOST=192.168.1.5 \\\n-e PLANEFINDER_HOST=192.168.1.55 \\\naneisch/planefinder-stats\n```\n\n### Environmental Variables\nYou only need to specify the environmental variables in `docker run` or your docker-compose file that you want/need to override:\n\nVariable | Default | Description\n-- | -- | --\nINFLUX_HOST | 10.0.1.22 | The server hosting influxdb\nINFLUX_PORT | 8086 | Influxdb HTTP port\nINFLUX_DATABASE | planefinder | Database which readings are written to\nPLANEFINDER_HOST | 10.0.1.8 | Host which is running PlaneFinder client\nPLANEFINDER_PORT | 80 | Web port of Plane Finder client\nINTERVAL | 1 | Sleep time between updates (seconds)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneisch%2Fplanefinder-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneisch%2Fplanefinder-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneisch%2Fplanefinder-stats/lists"}