{"id":23633739,"url":"https://github.com/andorsk/daily_wisdom","last_synced_at":"2026-04-28T21:33:33.803Z","repository":{"id":42391800,"uuid":"478903765","full_name":"andorsk/daily_wisdom","owner":"andorsk","description":"daily wisdom apis. Get slack notifications each day with things like the tao of programming, or sun tsu. ","archived":false,"fork":false,"pushed_at":"2023-12-15T14:32:36.000Z","size":81,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T04:53:07.563Z","etag":null,"topics":["api","data-api","literature","python","script","slack","teaching"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andorsk.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":"2022-04-07T08:56:14.000Z","updated_at":"2023-01-01T03:39:46.000Z","dependencies_parsed_at":"2023-12-15T15:45:35.815Z","dependency_job_id":null,"html_url":"https://github.com/andorsk/daily_wisdom","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/andorsk%2Fdaily_wisdom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andorsk%2Fdaily_wisdom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andorsk%2Fdaily_wisdom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andorsk%2Fdaily_wisdom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andorsk","download_url":"https://codeload.github.com/andorsk/daily_wisdom/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239561065,"owners_count":19659377,"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":["api","data-api","literature","python","script","slack","teaching"],"created_at":"2024-12-28T04:53:30.890Z","updated_at":"2025-11-08T20:30:29.948Z","avatar_url":"https://github.com/andorsk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Daily Wisdom\n\nGet your wisdom here! This was a short personal project I had to send myself\nmessages such as sun tsu, the tao of programming, etc to my slack channel daily.\nI felt that these pieces of literature were best served like a cup of coffee,\ndaily and gradually, rather than all at once.\n\n![](https://i.imgur.com/MBuu5fE.png)\n\nHonestly, this repo is currently scoped mainly to just work ( and it does ) for\nmy personal use. If this is interesting to others, I would be happy to build out\na more production version of this.\n\n**State:** Works, but made for personal use. You can extend this and generalize\nit, but not built for a larger audience.\n\n## Usage:\n\nTo start with python:\n\n```\npython -m pip install -r requirements.txt\ncd app \u0026\u0026 python main.py\n```\n\nTo start with docker: `docker-compose up -d\u003e`\n\n## Environment Variables\n\n- **DATAFILE**: Should point to the files.json file. It's relative to where you\n  invoke the script.\n\n## Swagger Docs\n\nYou can go to `/docs` for swagger docs. Ex. http://127.0.0.1:5000/docs\n\n### /{key} api\n\nYou can extend and add your own namespaces. For example, extend this into your\nown books etc. It will be keyed based upon the `files.json` file.\n\nThe content should be in yml format. See [sun tsu](app/sun_tsu.yml) for more\ndetails.\n\n## Ways to integrate this into slack\n\nI have daily messages sent to slack via a scheduler.\n\n![](https://i.imgur.com/MBuu5fE.png)\n\nBut you can customize this to whatever you want. As a command:\n\n![](https://i.imgur.com/vk35wLy.png)\n\nor many others.\n\nSee https://api.slack.com/messaging/webhooks for documentation on how to use\nincoming web hooks.\n\n## Architecture\n\nsuper simple architecture\n\n```mermaid\ngraph TD\n  app\n  subgraph files\n    suntsu[Sun Tsu]\n    tao[Tao]\n    otherfiles[Other Files]\n  end\n  app --\u003e suntsu\n  app --\u003e tao\n  app --\u003e otherfiles\n```\n\n## Contributions\n\nI'd welcome contributions! PR's, Issues, etc!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandorsk%2Fdaily_wisdom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandorsk%2Fdaily_wisdom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandorsk%2Fdaily_wisdom/lists"}