{"id":17730796,"url":"https://github.com/kaandesu/cgossh","last_synced_at":"2026-05-01T15:32:25.628Z","repository":{"id":224776316,"uuid":"764171461","full_name":"kaandesu/cgossh","owner":"kaandesu","description":"🚧 Playing with C \u0026 Go concurrency with ssh client/server for learning purposes.","archived":false,"fork":false,"pushed_at":"2024-03-26T13:34:39.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-18T07:45:28.881Z","etag":null,"topics":["c","golang","learning-purpose","ring-buffer","semaphore","ssh","ssh-client","ssh-server"],"latest_commit_sha":null,"homepage":"","language":"C","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/kaandesu.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-27T15:54:08.000Z","updated_at":"2024-03-29T13:52:10.000Z","dependencies_parsed_at":"2024-03-26T13:27:18.904Z","dependency_job_id":"2ac1e85b-062c-46c5-981f-d5e9742ec388","html_url":"https://github.com/kaandesu/cgossh","commit_stats":null,"previous_names":["kaandesu/cgossh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kaandesu/cgossh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaandesu%2Fcgossh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaandesu%2Fcgossh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaandesu%2Fcgossh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaandesu%2Fcgossh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaandesu","download_url":"https://codeload.github.com/kaandesu/cgossh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaandesu%2Fcgossh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32503057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["c","golang","learning-purpose","ring-buffer","semaphore","ssh","ssh-client","ssh-server"],"created_at":"2024-10-25T22:07:52.926Z","updated_at":"2026-05-01T15:32:25.608Z","avatar_url":"https://github.com/kaandesu.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cgossh\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/kaandesu/cgossh\"\u003e\n    \u003cimg src=\"./images/logo.webp\" alt=\"Logo\" width=\"111\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\nSelf created coding challenge that shall use a C-based ssh client, to do\nsome arbitrary asynchronous operations, and a Go-based server side, to\nhandle those actions also asynchronously. \u003cbr\u003e\n\n---\n\nCoding challenge: _I'll update here but for now the very simple goal is\nsomething like: to create an array of ordered numbers and send it to\nthe server, and asynchronously handling those messages and store them._\n\n---\n\n#### Main focus topics of the challenge\n\n**C (client) side**:\n\n- Ring buffer library\n- Semaphores\n- Sorting algorithm\n- Unit Testing\n- SSH Client library\n\n**Go (server) side**:\n\n- Channels\n- Go coroutines\n- Using a ssh server library ([wish](https://github.com/charmbracelet/wish))\n- Builtin unit testing\n\nMaybe fun to add ideas:\n\n- Bubbletea tui for the go-side\n- Accessing some data or invoking some events from an API implemented in the go-side\n\n#### TODO\n\n- [x] Client setup of MacOS\n  - [x] added unit testing with [criterion](https://github.com/Snaipe/Criterion)\n  - [x] added [bear](https://github.com/rizsotto/Bear) instead of CMake\n- [ ] Client setup for Ubuntu 18.04\n- [ ] Server setup\n  - [ ] Update/fix Makefile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaandesu%2Fcgossh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaandesu%2Fcgossh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaandesu%2Fcgossh/lists"}