{"id":15010452,"url":"https://github.com/borkdude/balcony","last_synced_at":"2025-06-26T16:37:07.802Z","repository":{"id":142283194,"uuid":"134246372","full_name":"borkdude/balcony","owner":"borkdude","description":"Should I water my balcony?","archived":false,"fork":false,"pushed_at":"2018-05-30T18:33:54.000Z","size":39,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T22:45:22.535Z","etag":null,"topics":["clj","clojure","command-line-tool"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/borkdude.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}},"created_at":"2018-05-21T09:17:23.000Z","updated_at":"2020-08-12T00:44:05.000Z","dependencies_parsed_at":"2024-01-23T22:13:24.048Z","dependency_job_id":"07b98a2c-fee1-4124-a939-1a4cb6a95d65","html_url":"https://github.com/borkdude/balcony","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/borkdude/balcony","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fbalcony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fbalcony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fbalcony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fbalcony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borkdude","download_url":"https://codeload.github.com/borkdude/balcony/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fbalcony/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262103256,"owners_count":23259419,"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":["clj","clojure","command-line-tool"],"created_at":"2024-09-24T19:34:22.120Z","updated_at":"2025-06-26T16:37:07.780Z","avatar_url":"https://github.com/borkdude.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# balcony\n\nA self-contained Clojure script that lets me know if I should water my\nbalcony at night.\n\n## Credits\n\nThe idea to use `exec` came from [Planck](https://github.com/planck-repl/planck).\n\n## Installation\n\nMake sure [clj](https://clojure.org/guides/getting_started) is installed.  `scp`\nthe script to a server or run from your own machine.  Set the variables\n`MAIL_USER`, `MAIL_PASS`, `MAIL_TO` (comma seperated if you want multiple\naddresses) and `WEATHER_API_KEY` in e.g. `.profile`.  Then hook the script up in\ncron:\n\n    crontab -e\n    30 19 * * * /usr/bin/env bash -c '. $HOME/.profile \u0026\u0026 $HOME/balcony.clj -m'\n\n## Options\n\n- `--develop` or `-d`: development mode. Will start CIDER-nREPL.\n- `--mail` or `-m`: send an email if today's temperature exceeded threshold.\n\n## What's with the weird first few lines?\n\nThe first few lines are relevant to bash, but not to the Clojure program. Still\nthey have to be valid Clojure, because (using exec) clj executes the entire\nfile. Also, it's convenient to be able to evaluate your entire file inside your\neditor. By making the Bash expressions readable by Clojure, you get no errors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborkdude%2Fbalcony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborkdude%2Fbalcony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborkdude%2Fbalcony/lists"}