{"id":20191084,"url":"https://github.com/53ningen/sousie","last_synced_at":"2025-04-10T09:38:32.223Z","repository":{"id":71409556,"uuid":"117768161","full_name":"53ningen/sousie","owner":"53ningen","description":"The website health checker working on AWS Lambda","archived":false,"fork":false,"pushed_at":"2018-02-20T17:30:00.000Z","size":118,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-24T08:38:54.757Z","etag":null,"topics":["aws-lambda","health-check","slack-webhook"],"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/53ningen.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}},"created_at":"2018-01-17T01:52:52.000Z","updated_at":"2019-09-30T07:39:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9b7204e-03b8-4e6d-b046-927602df67e6","html_url":"https://github.com/53ningen/sousie","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/53ningen%2Fsousie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/53ningen%2Fsousie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/53ningen%2Fsousie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/53ningen%2Fsousie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/53ningen","download_url":"https://codeload.github.com/53ningen/sousie/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248192848,"owners_count":21062754,"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":["aws-lambda","health-check","slack-webhook"],"created_at":"2024-11-14T03:47:36.121Z","updated_at":"2025-04-10T09:38:32.198Z","avatar_url":"https://github.com/53ningen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sousie\n==================\n[![Build Status](https://travis-ci.org/53ningen/sousie.svg?branch=master)](https://travis-ci.org/53ningen/sousie)\n\nWebsite health checker working on AWS Lambda\n\n## Install\n### Install aws-cli\n\n```\n# Install pip\ncurl \"https://bootstrap.pypa.io/get-pip.py\" -o \"get-pip.py\"\nsudo python get-pip.py\n\n# Install aws-cli\npip install awscli\n# or\npip install -r  ./requirements.txt\n\n# then\naws configure\n```\n\n### Install Apex\n\nSee [official document](http://apex.run/#installation)\n\n```\n# On macOS, Linux, or OpenBSD run the following:\ncurl https://raw.githubusercontent.com/apex/apex/master/install.sh | sh\n```\n\n### Clone\n\n```\n# git clone\ngit clone git@github.com:53ningen/sousie.git\ncd sousie\n```\n\n## Config\n### Configure IAM Role\n\nCopy `project.json.template` to `project.json`\n\n```\ncp ./project.json.template ./project.json\n```\n\nplace your IAM Role into `role`\n\n```\n\"role\": \"arn:aws:iam::***********:role/example\",\n```\n\n### Configure application\n\nCopy `config.json.template` to `config.json` and edit it\n\n```\ncp ./config.json.template ./config.json\n```\n\n* `user-agent`(string): User-Agent header\n* `items`(array): health check target items\n  * `method`(string): `GET`, `POST`, `PUT`, `DELETE`, `HEAD`...\n  * `url`(string): health check target url\n  * `port`(number): health check target port\n  * `timeout_millisec`(number): request timeout (ms)\n* `slack`(object, optional)\n  * `notify-on-success`(boolean): enable success notification\n  * `webhook_url`(string): slack incomming webhook url\n  * `channel`(string): notification target channel (ex: `#random`)\n  * `username`(string): username of slack notification\n  * `icon_emoji`(string): user icon of slack notification\n  * `mention_targets`(array): if you want to receive mention, place the account of slack\n\n## Deploy\n\n```\nyarn install\nyarn build\napex deploy\n```\n\n## Invoke\n\n```\napex invoke alive\n```\n\n## Test\n\n```\nyarn test\n```\n\n## Author\n\ngomi_ningen ([@53ningen](https://github.com/53ningen))\n\n## License\n\nMIT\n\n## Special Thanks\n\nQueen Soucie Elnea Ortlinde\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F53ningen%2Fsousie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F53ningen%2Fsousie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F53ningen%2Fsousie/lists"}