{"id":16370945,"url":"https://github.com/liquidz/norosi","last_synced_at":"2025-07-23T12:07:54.239Z","repository":{"id":66392468,"uuid":"282067776","full_name":"liquidz/norosi","owner":"liquidz","description":"WIP: Notification, work logging, and etc.","archived":false,"fork":false,"pushed_at":"2024-09-03T21:05:16.000Z","size":47,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T04:24:01.000Z","etag":null,"topics":["clojure","graalvm","notification"],"latest_commit_sha":null,"homepage":"https://github.com/liquidz/norosi","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liquidz.png","metadata":{"files":{"readme":"README.adoc","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-23T22:18:53.000Z","updated_at":"2021-03-21T23:19:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"2dd50a77-443a-4030-90fb-0a5dba8f327e","html_url":"https://github.com/liquidz/norosi","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"fd31960987421f4c1225d8ef014ce81d1d5016f8"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/liquidz/norosi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidz%2Fnorosi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidz%2Fnorosi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidz%2Fnorosi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidz%2Fnorosi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liquidz","download_url":"https://codeload.github.com/liquidz/norosi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidz%2Fnorosi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266673569,"owners_count":23966375,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["clojure","graalvm","notification"],"created_at":"2024-10-11T03:06:30.417Z","updated_at":"2025-07-23T12:07:54.206Z","avatar_url":"https://github.com/liquidz.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Norosi\n\nNotification, work logging, and etc.\n\nWARNING: This project is work in progress.\n\nimage:https://github.com/liquidz/norosi/workflows/test/badge.svg[\"GitHub Actions for test workflow\", link=\"https://github.com/liquidz/norosi/actions?query=workflow%3Atest\"]\nimage:https://github.com/liquidz/norosi/workflows/lint/badge.svg[\"GitHub Actions for lint workflow\", link=\"https://github.com/liquidz/norosi/actions?query=workflow%3Alint\"]\nimage:https://github.com/liquidz/norosi/workflows/dependencies/badge.svg[\"GitHub Actions for dependencies workflow\", link=\"https://github.com/liquidz/norosi/actions?query=workflow%3Adependencies\"]\nimage:https://github.com/liquidz/norosi/workflows/native_image/badge.svg[\"GitHub Actions for native_image workflow\", link=\"https://github.com/liquidz/norosi/actions?query=workflow%3Anative_image\"]\n\n== Usage\n\nDownload a binary from https://github.com/liquidz/norosi/releases[Releases] page.\n\nLaunch by `./norosi`, and request by `curl`.\n\n== Request\n\nNorosi will launch a simple HTTP server to receive some requests on start up.\n\n=== Add a notification\nSend `POST` request with `COLOR_CODE` and `WORD` (OPTIONAL).\n\n- `COLOR_CODE` should be one of ANSI or Hex color code.\n- `WORD` should be a Unicode, and default `WORD` is `25A0` (■).\n\n[source,sh]\n----\n# Red for ANSI\ncurl -XPOST localhost:8000/31\n\n# Red for Hex\ncurl -XPOST localhost:8000/F00\n\n# Yellow star\ncurl -XPOST localhost:8000/FF0/2605\n----\n\n=== Export\n\nSend `GET` request, and you will get a JSON response.\n\n[source,sh]\n----\ncurl localhost:8000\n----\n\n== Example\n\n.Notify every hours by cron\n[source,sh]\n----\ncrontab -e\n0 * * * * curl -XPOST localhost:8000/6B7B6E/2B29\n----\n\n.Notifiy test result in https://github.com/liquidz/vim-iced[vim-iced]\n[source,vim]\n----\nlet g:iced#hook['test_finished'] = {\n      \\ 'type': 'shell',\n      \\ 'exec': {v -\u003e ['curl', '-XPOST', printf('localhost:8000/%s', (v.result ==# 'succeeded' ? '7BA23F' : 'D0104C'))]},\n      \\ }\n----\n\n.Notify timer in https://github.com/liquidz/vim-textimer[vim-textimer]\n[source,vim]\n----\nlet g:textimer#finished_command = 'curl'\nlet g:textimer#finished_exec = '%c -XPOST localhost:8000/FFB11B'\n----\n\n== Build\n\nhttps://www.graalvm.org[GraalVM] is required.\n\n[source,sh]\n----\nmake native-image\n----\n\n== License\n\nCopyright © 2020 https://twitter.com/uochan[Masashi Iizuka]\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidz%2Fnorosi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliquidz%2Fnorosi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidz%2Fnorosi/lists"}