{"id":17059234,"url":"https://github.com/novoid/mailhours","last_synced_at":"2026-06-29T13:31:15.561Z","repository":{"id":7804096,"uuid":"9174487","full_name":"novoid/mailhours","owner":"novoid","description":"Visualize the times of the day of emails sent by a certain person (maildir)","archived":false,"fork":false,"pushed_at":"2017-02-26T15:28:44.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-08T07:16:39.530Z","etag":null,"topics":["email","emails","quantified-self","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/novoid.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-02T16:22:04.000Z","updated_at":"2024-04-11T15:45:34.000Z","dependencies_parsed_at":"2022-09-10T14:40:25.978Z","dependency_job_id":null,"html_url":"https://github.com/novoid/mailhours","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/novoid/mailhours","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novoid%2Fmailhours","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novoid%2Fmailhours/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novoid%2Fmailhours/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novoid%2Fmailhours/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/novoid","download_url":"https://codeload.github.com/novoid/mailhours/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novoid%2Fmailhours/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34929695,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["email","emails","quantified-self","shell"],"created_at":"2024-10-14T10:33:30.462Z","updated_at":"2026-06-29T13:31:15.555Z","avatar_url":"https://github.com/novoid.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Time-stamp: \u003c2026-06-06 17:44:15 vk\u003e\n## -*- coding: utf-8 -*-\n## This file is best viewed with GNU Emacs Org-mode: http://orgmode.org/\n\n* mailhours (shell script)\n\nsyntax:  mailhours QUERYSTRING [DIRECTORY] [DESCRIPTION]\n\nmailhours searches for emails in ~/home/USER/Maildir/.tmp/cur~ or\n[DIRECTORY] with QUERYSTRING in the From-lines.\n\nA graph will be generated that shows at what hours the correspondent\nemails from this querystring were sent.\n\nThen you know when this person is typically sending email answers.\n\nConfiguration is done in the files:\n:   ./mailhours\n                  ... general defaults\n:   /home/USER/.config/mailhoursrc\n                  ... to override general defaults\n\nexamples:\n:     mailhours Torvalds\n         ... generates a graph when Linux Torvalds\n             sends emails in my DEFAULTDIR folder\n:     mailhours Gates ~/Maildir/.spam/cur\n         ... generates a graph when Bill Gates\n             sends his emails that are stored in\n             the folder ~/Maildir/.spam/cur\n\n** Why\n\nPeople tend to answer emails following a certain pattern. One person\nmight answer emails after lunch, others do it in the morning.\n\nIf you want to visualize the pattern of a person, you can use emails\nsend by her/his using this script.\n\n** Example result\n\n#+CAPTION: This is an example result image of a mailhours query\n[[Example.png]]\n\n** Configuration file example\n\nA ~/.config/mailhoursrc file might look like this:\n\n: ## ===================================================\n: ## purpose: analyze emails of communications partners\n: ##          to know, at what hours they usually send\n: ##          their emails\n: ## author:  Karl Voit \u003cshellscript@Karl-Voit.at\u003e\n: ## see scriptfile mailhours (in your path) for details\n: ## ===================================================\n:\n: ## view the result with this command\n: VIEWPROGRAM=xview\n:\n: ## if par2 is missing, this is the default Maildir directory\n: DEFAULTDIR=\"${HOME}/Maildir/.tmp/cur\"\n:\n: ## end config\n\n** Dependencies\n\n[[http://www.gnuplot.info/][gnuplot]]\n\nA tool for displaying PNG files. By default, =geeqie= is configured.\n\nGNU-tools like: sed, awk, (e)grep, sort, uniq, head\n\n* Contribute!\n\nI am looking for your ideas!\n\nIf you want to contribute to this cool project, please fork and\ncontribute!\n\n* How to Thank Me\n# --- BEGIN SHARED: how_to_thank_me --- see https://github.com/novoid/screencasts/\n\nI'm glad if you like my tool. I've got way more projects on:\n\n- [[https://github.com/novoid/][GitHub]] (oldest projects),\n- [[https://gitlab.com/publicvoit/][GitLab.com]] (older projects), and\n- [[https://codeberg.org/publicvoit/][Codeberg]] (newest projects).\n\nIf you want to support me:\n\n- [[https://karl-voit.at/2018/06/07/cardware/][Send old-fashioned *postcard* per snailmail]] - I love personal feedback!\n  - see [[http://tinyurl.com/j6w8hyo][my address]]\n- Send feature wishes or improvements as an issue \n- Create issues for bugs\n- Contribute merge requests for bug fixes\n- Check out my other cool projects on the platforms above\n\nIf you want to contribute to this cool project, please fork and\ncontribute!\n\nI am using [[http://www.python.org/dev/peps/pep-0008/][Python PEP8]] and occasionally some ideas from [[http://en.wikipedia.org/wiki/Test-driven_development][Test Driven\nDevelopment (TDD)]]. I fancy Python3 with [[https://typing.python.org/en/latest/spec/annotations.html][type annotations]], although I'm\nnot using them everywhere at the moment. Starting with 2025, I began\nto use help from Claude.ai which is a huge improvement, given my lack\nof programming practice and knowledge.\n\nAfter all, each of my tools was developed because I needed its\nfunctionality and could not get it elsewhere - at least to my\nknowledge or taste.\n\n# --- END SHARED: how_to_thank_me --- see https://github.com/novoid/screencasts/\n\n* Local Variables                                                  :noexport:\n# Local Variables:\n# mode: auto-fill\n# mode: flyspell\n# eval: (ispell-change-dictionary \"en_US\")\n# End:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovoid%2Fmailhours","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovoid%2Fmailhours","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovoid%2Fmailhours/lists"}