{"id":20322335,"url":"https://github.com/okomestudio/kikori","last_synced_at":"2026-05-18T15:39:14.603Z","repository":{"id":78240418,"uuid":"108931630","full_name":"okomestudio/kikori","owner":"okomestudio","description":"Logging message router","archived":false,"fork":false,"pushed_at":"2018-01-16T23:11:48.000Z","size":30,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"development","last_synced_at":"2025-07-10T21:28:41.044Z","etag":null,"topics":["devops","logging","python3","slack"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/okomestudio.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-31T02:00:52.000Z","updated_at":"2017-12-22T04:01:43.000Z","dependencies_parsed_at":"2023-04-25T12:01:23.942Z","dependency_job_id":null,"html_url":"https://github.com/okomestudio/kikori","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/okomestudio/kikori","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okomestudio%2Fkikori","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okomestudio%2Fkikori/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okomestudio%2Fkikori/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okomestudio%2Fkikori/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okomestudio","download_url":"https://codeload.github.com/okomestudio/kikori/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okomestudio%2Fkikori/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33183276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["devops","logging","python3","slack"],"created_at":"2024-11-14T19:20:49.142Z","updated_at":"2026-05-18T15:39:14.583Z","avatar_url":"https://github.com/okomestudio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"kikori\n======\n\nKikori is a logging message routing service. It watches log messages\n(via `Watchdog \u003chttps://github.com/gorakhargosh/watchdog\u003e`_) and\nroutes ones that matches user-provided patterns to another\ndestinations. Currently the only supported destination is `Slack\n\u003chttps://slack.com\u003e`_.\n\nKikori is licensed under the `MIT License\n\u003chttps://raw.githubusercontent.com/okomestudio/kikori/development/LICENSE.txt\u003e`_.\n\n\nExamples\n--------\n\nTBD.\n\n\nApp Configuration Specification\n-------------------------------\n\nThe behavior of kikori is fully controlled by a YAML configuration\nfile. By default, it looks for ``conf.yml`` in the current directory\n(where the service is launched), but it can be stored at an arbitrary\nlocation by the use of ``conf`` switch:\n\n.. code-block:: bash\n\n    $ kikori --conf /path/to/conf.yml\n    ... or ...\n    $ kikori -c /path/to/conf.yml\n\nThe full app config file looks as follows:\n    \n.. code-block:: yaml\n\n    ---\n    routers:\n      personal:  # Give a unique name to identify a router\n        type: slack\n        webhook_url: https://hooks.slack.com/services/XXXXXXXXX/XXX\n        args:\n          channel: '@username'\n      ops:\n        type: slack\n        webhook_url: https://hooks.slack.com/services/YYYYYYYYY/YYY\n        args:\n          channel: '#ops'\n\n    watch:\n      - dir: /var/log/myservice/\n        filename: '.*\\.log$'\n        text_pattern: ^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d+:[A-Z]+:.*\n        triggers:\n          - pattern: ^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d+:ERROR:.*\n            routers:\n              - name: ops\n                args:\n                  color: '#ff0000'\n                  title: Error logged!\n          - pattern: ^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d+:WARNING:.*\n            routers:\n              - name: ops\n                args:\n                  color: '#ffff00'\n                  title: Warning logged!\n\n      - dir: /var/log/myotherservice/\n        filename: '.*\\.log$'\n        text_pattern: ^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d+:[A-Z]+:.*\n        triggers:\n          - pattern: ^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d+:(?\u003clevel\u003e(ERROR|WARNING)):.*\n            routers:\n              - name: ops\n                args:\n                  color: '#ff0000'\n                  title: \"{level} logged!\"\n              - name: personal\n                args:\n                  color: '#ff0000'\n                  title: \"{level} logged!\"\n\n\nInstallation\n------------\n\nKikori runs on Python 3. To install:\n\n.. code-block:: bash\n\n    $ pip install kikori\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokomestudio%2Fkikori","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokomestudio%2Fkikori","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokomestudio%2Fkikori/lists"}