{"id":21965517,"url":"https://github.com/softius/statis","last_synced_at":"2026-04-08T16:31:35.366Z","repository":{"id":11798218,"uuid":"14343304","full_name":"softius/Statis","owner":"softius","description":null,"archived":false,"fork":false,"pushed_at":"2015-08-02T20:20:31.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-29T17:37:01.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/softius.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}},"created_at":"2013-11-12T19:52:35.000Z","updated_at":"2016-01-08T15:32:45.000Z","dependencies_parsed_at":"2022-09-24T05:11:20.160Z","dependency_job_id":null,"html_url":"https://github.com/softius/Statis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/softius/Statis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softius%2FStatis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softius%2FStatis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softius%2FStatis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softius%2FStatis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softius","download_url":"https://codeload.github.com/softius/Statis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softius%2FStatis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31564847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-29T12:47:57.458Z","updated_at":"2026-04-08T16:31:35.351Z","avatar_url":"https://github.com/softius.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Statis\n\n\nA simple monitoring application for websites and MySQL\n\n## Installation\n\nStatis requires nodejs 0.10.x\n\nTo install from GitHub, clone the repository and install dependencies using npm:\n\n```\ngit clone git://github.com/softius/Statis.git\ncd Statis\nnpm install\nnode console.js\n```\n\nHelp is available by executing `node console.js -h`.\n\n## Configuration\n\nConfiguration goes in `config.json`. You can start by copying `config-sample.json` to `config.json`. Statis perceives all endpoints to be monitored as nodes and provides support for http, mysql and sockets in general. \n\nIt is also possible to have multiple configuration files. Create a new file i.e. `config2.json` in any directory according to the structure defined in `config-sample.json`. The new configuration file can be passed during execution via `-c` option as follows:\n\n```node console.js -c config2.json```\n\n``` JAVASCRIPT\n{\n\t\"nodes\": [\n\t\t{\n\t\t\t\"label\": \"Google\",\n\t\t\t\"http\": {\n\t\t\t\t\"hostname\": \"google.com\",\n\t\t\t\t\"port\": 80,\n\t\t\t\t\"path\": \"/\",\n\t\t\t\t\"method\": \"GET\"\n\t\t\t}\n\t\t}\n\t]\n}\n```\n\nHere is an example for configuring http nodes\n``` JAVASCRIPT\n{\n\t\"label\": \"Google\",\n\t\"http\": {\n\t\t\"hostname\": \"google.com\",\n\t\t\"port\": 80,\n\t\t\"path\": \"/\",\n\t\t\"method\": \"GET\"\n\t}\n}\n```\n\nHere is an example for configuring socket nodes\n``` JAVASCRIPT\n{\n\t\"label\": \"Google\",\n\t\"socket\": {\n\t\t\"host\": \"google.com\",\n\t\t\"port\": 80\n\t}\n}\n```\n\nHere is an example for configuring mysql nodes\n``` JAVASCRIPT\n{\n\t\"label\": \"Localhost MySQL\",\n\t\"mysql\": {\n\t\t\"host\": \"127.0.0.1\",\n\t\t\"user\": \"root\",\n\t\t\"password\": \"root\"\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftius%2Fstatis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftius%2Fstatis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftius%2Fstatis/lists"}