{"id":26674714,"url":"https://github.com/aaronhallaert/nephrostatus","last_synced_at":"2025-09-01T20:41:12.970Z","repository":{"id":60271181,"uuid":"542049346","full_name":"aaronhallaert/nephrostatus","owner":"aaronhallaert","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-27T14:11:40.000Z","size":2396,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-04T04:36:00.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/aaronhallaert.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}},"created_at":"2022-09-27T11:28:18.000Z","updated_at":"2022-09-27T11:28:48.000Z","dependencies_parsed_at":"2022-09-27T12:50:28.078Z","dependency_job_id":null,"html_url":"https://github.com/aaronhallaert/nephrostatus","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhallaert%2Fnephrostatus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhallaert%2Fnephrostatus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhallaert%2Fnephrostatus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhallaert%2Fnephrostatus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronhallaert","download_url":"https://codeload.github.com/aaronhallaert/nephrostatus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245578084,"owners_count":20638436,"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":[],"created_at":"2025-03-26T02:38:51.161Z","updated_at":"2025-03-26T02:38:51.731Z","avatar_url":"https://github.com/aaronhallaert.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NephroStatus\n\nAdd NephroFlow API and Manager status in system tray.\n\n\u003cimg width=\"172\" alt=\"image\" src=\"https://user-images.githubusercontent.com/37899722/192513810-29ac8381-75c9-4188-b6d7-8a7f120e2106.png\"\u003e\n\n## State\n\n- API: curl `http://localhost:3000/api/version_info`\n- Manager: check for open port 8080 (LISTEN)\n\n## Actions\n\n- Start API: `tmux send-keys -t nipro:api.1 \"run_api.sh -- rails s\\n\"`\n- Stop API: `docker ps | grep nephroflow/server | awk '{print $1}' | xargs -r docker stop`\n- Stop Manager: `tmux send-keys -t nipro:manager.1 \"C-c\"`\n- Start Manager: `tmux send-keys -t nipro:manager.1 yarn dev C-m`\n- Open Manager\n  - NephroFlow tab is activated with chrome-cli and chrome is focused with `open -a Google\\ Chrome`\n\n## Shortcomings\n\n### Check open port with docker container\n\nIf the API web container is running (without an active rails server), the port is\nalready exposed so the status of the API seems to be `running`.\n\n### Focus Chrome window\n\nOpening NephroFlow manager will open the last used Google Chrome window.\nIf you use different profiles and multiple windows are active, it is possible\nthe wrong Chrome window will be opened. However, in the correct window,\nthe nephroflow tab will always be focused.\n\n## Setup\n\n### Dependencies\n\n- [chrome-cli on Github](https://github.com/prasmussen/chrome-cli)\n\n  - `brew install chrome-cli`\n\n- Tmux\n  - Currently, most of the commands to start/stop are based on `tmux send-keys`\n\n### Installation\n\nTODO\n\n- Run with `go run main.go`\n\n## TODO\n\n- [ ] Make commands more generic\n- [ ] Allow custom commands\n- [ ] Add Github actions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronhallaert%2Fnephrostatus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronhallaert%2Fnephrostatus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronhallaert%2Fnephrostatus/lists"}