{"id":22208345,"url":"https://github.com/steenhansen/crash-sms","last_synced_at":"2025-03-25T04:36:48.090Z","repository":{"id":149759797,"uuid":"188640243","full_name":"steenhansen/crash-sms","owner":"steenhansen","description":"Periodically checks other sites, sending SMS messages when errors found in html","archived":false,"fork":false,"pushed_at":"2023-03-01T18:08:37.000Z","size":1512,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T04:42:45.464Z","etag":null,"topics":["clojure","dynamodb","enlive","monger"],"latest_commit_sha":null,"homepage":"https://fathomless-woodland-85635.herokuapp.com/","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steenhansen.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-05-26T04:34:09.000Z","updated_at":"2022-08-30T20:30:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"d41e49b8-8991-4bd6-85d3-0f89bc82fe89","html_url":"https://github.com/steenhansen/crash-sms","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/steenhansen%2Fcrash-sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Fcrash-sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Fcrash-sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Fcrash-sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steenhansen","download_url":"https://codeload.github.com/steenhansen/crash-sms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245401372,"owners_count":20609163,"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":["clojure","dynamodb","enlive","monger"],"created_at":"2024-12-02T19:17:49.204Z","updated_at":"2025-03-25T04:36:48.072Z","avatar_url":"https://github.com/steenhansen.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Crash-sms - Deprecated\n\n\n\u003ca name='fast-start'\u003e\u003c/a\u003e\n\nCrash-sms is a Clojure program that runs on Heroku at https://fathomless-woodland-85635.herokuapp.com/ which checks a list of websites every 2 hours and texts a list of phones when a website does not conform to a valid state. Non cached website pages are checked for database, WordPress, and Node.js errors and or crashes. The Heroku add-on Till Mobile handles the SMS messaging, while Temporize Scheduler add-on handles the cron jobs.\n\n\nSystem Setup:\n\n - get Java Windows x64  [jdk-8u271-windows-x64.exe](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html)\n\n - get Leiningen [installer](https://djpowell.github.io/leiningen-win-installer/)\n\n - $ cd crash-sms\n\n - To download Clojure dependencies:\n\n       $ lein deps            \n\n### Compile crash-sms in Emacs with Cider\n```\nM-x load-file /crash-sms/src/core.clj\nM-x cider-jack-in\nM-x cider-ns-refresh\nM-x cider-repl-set-ns\n```  \n\n##### Serve crash-sms with memory database\n```\ncore\u003e (-local-main USE_FAKE_DB LOCAL_CONFIG)\n```\n\n##### Serve crash-sms with MongoDB\n```\ncore\u003e (-local-main USE_MONGER_DB LOCAL_CONFIG)\n```\n\n##### Serve crash-sms with DynamoDB\n```\ncore\u003e (-local-main USE_AMAZONICA_DB LOCAL_CONFIG)\n```\n\n##### Serve crash-sms with Heroku MongoDB\n```\ncore\u003e (-local-main USE_MONGER_DB HEROKU_CONFIG)\n```\n\n##### Run tests with mock database\n```\ncore-test\u003e (mock-tests)\n```\n\n##### Run tests with both a MongoDb and a DynamoDB database\n```\ncore-test\u003e (all-tests)\n```\n\n\n###\n##### Last two months data\n```\nhttp://localhost:8080/\n```\n\n##### Cron job to check web pages\n```\nhttp://localhost:8080/cron-execution-test\n```\n\n##### SMS test\n```\nhttp://localhost:8080/sms-send-test\n```\n\n###\n##### Heroku Config Vars\n![visual explanation](https://github.com/steenhansen/crash-sms/blob/master/git-images/heroku-config-vars.png)\n\n##### Temporize Cron Config Vars\n\t:CRON_URL_DIR\n![visual explanation](https://github.com/steenhansen/crash-sms/blob/master/git-images/temporize-cron-vars.png)\n\n##### Till SMS Config Vars\n\t:PHONE_NUMBERS \n\t:SEND_TEST_SMS_URL\n\t:TILL_API\n\t:TILL_USERNAME\n![visual explanation](https://github.com/steenhansen/crash-sms/blob/master/git-images/till-sms-vars.png)\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteenhansen%2Fcrash-sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteenhansen%2Fcrash-sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteenhansen%2Fcrash-sms/lists"}