{"id":17656867,"url":"https://github.com/yurenchen000/disk_notify","last_synced_at":"2025-04-28T13:35:03.702Z","repository":{"id":259062279,"uuid":"876227681","full_name":"yurenchen000/disk_notify","owner":"yurenchen000","description":"send notify if disk space low","archived":false,"fork":false,"pushed_at":"2024-11-30T21:44:25.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T15:12:05.367Z","etag":null,"topics":["disk-space","notification","notify"],"latest_commit_sha":null,"homepage":"","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/yurenchen000.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":"2024-10-21T15:58:49.000Z","updated_at":"2024-11-30T21:44:29.000Z","dependencies_parsed_at":"2024-10-22T21:58:34.236Z","dependency_job_id":null,"html_url":"https://github.com/yurenchen000/disk_notify","commit_stats":null,"previous_names":["yurenchen000/disk_notify"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurenchen000%2Fdisk_notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurenchen000%2Fdisk_notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurenchen000%2Fdisk_notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurenchen000%2Fdisk_notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yurenchen000","download_url":"https://codeload.github.com/yurenchen000/disk_notify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301999,"owners_count":20755514,"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":["disk-space","notification","notify"],"created_at":"2024-10-23T14:36:46.994Z","updated_at":"2025-03-30T10:10:03.505Z","avatar_url":"https://github.com/yurenchen000.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"disk notify\n===========\n\n\nsend notify if disk avail space low\n\n[README 中文](README_CN.md)\n\n\u003cimg src=https://i.imgur.com/zLzLm0B.jpeg alt=\"only-bash.jpg\" height=300 /\u003e\n\n\n- Lightweight: only bash, df, curl\n- Focus: only notify alert if space low\n- Accuracy: partition specified threshold\n- Reliable: multiple push channels\n\n\u003cbr\u003e\n\n## 🛠️ Settings\nit can monit multi mountpoint with specified thresholds  \nby bash associative array. (key-value pairs)\n\n```sh\ndeclare -A mount_thresholds=(\n    [\"/\"]=\"5120\"      # 5 GB in MB\n    [\"/tmp\"]=\"1024\"   # 1 GB in MB\n)\n```\n\n\u003cbr\u003e\n\nsupported notify backends\n- telegram bot\n- feishu bot\n- wework bot\n- dingtalk bot\n- pushplus\n- wxpusher\n- serverchan\n\n\u003cbr\u003e\n\nlogs\n- disk_log=disk_hist.log   //disk space log\n- send_log=send_hist.log   //send noitfy log\n\n\u003cbr\u003e\n\nnotify frequency\n- push_delay=30 //push interval (will adjusted dynamically)\n\n\u003cbr\u003e\n\ncheck frequency\n- save_interval=3600  // 1 hour\n- check_interval=300  // 5 min\n\n\u003cbr\u003e\n\n## 🚀 Usage\ndownload from https://github.com/yurenchen000/disk_notify/releases/latest  \nand uncompress it.\n\n// edit conf base on example  \n```\ncp -pv _disk_notify_global.example _disk_notify_global  \n// modify the conf according to your needs  \n```\n\nconf file\n- ./_disk_notify_global\n- ~/.config/_disk_notify\n\n\u003cbr\u003e\n\n// run in background\n```\nnohup ./disk_notify.sh \u0026\u003e disk_notify.out \u0026\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurenchen000%2Fdisk_notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyurenchen000%2Fdisk_notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurenchen000%2Fdisk_notify/lists"}