{"id":21388712,"url":"https://github.com/jmatth11/jm_bus","last_synced_at":"2025-03-16T12:43:36.638Z","repository":{"id":255575018,"uuid":"849639694","full_name":"jmatth11/jm_bus","owner":"jmatth11","description":"Experimented with making a small Message bus in C","archived":false,"fork":false,"pushed_at":"2024-11-05T05:40:01.000Z","size":172,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T00:27:19.474Z","etag":null,"topics":["bus","c","client","message","message-bus","minimal","server","topics"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmatth11.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-30T00:57:53.000Z","updated_at":"2024-11-05T06:16:43.000Z","dependencies_parsed_at":"2024-11-05T06:22:57.099Z","dependency_job_id":"56755dda-bc67-40db-9f49-8bd2378a866d","html_url":"https://github.com/jmatth11/jm_bus","commit_stats":null,"previous_names":["jmatth11/jm_bus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmatth11%2Fjm_bus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmatth11%2Fjm_bus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmatth11%2Fjm_bus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmatth11%2Fjm_bus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmatth11","download_url":"https://codeload.github.com/jmatth11/jm_bus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871654,"owners_count":20361377,"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":["bus","c","client","message","message-bus","minimal","server","topics"],"created_at":"2024-11-22T12:19:18.859Z","updated_at":"2025-03-16T12:43:36.615Z","avatar_url":"https://github.com/jmatth11.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JM_BUS\n\nThis is just an experimental project to try and make my own message bus in C.\n\nThe point of this project was to have a simple and minimal message bus you could\nspin up as server inside your program and/or connect to from a client program.\n\nThe project contains 3 programs and a shared library.\n\n`server/` is where a default server implmentation is.\n\n`client/` holds a simple `pub` and `sub` implementation.\n\n`common/` is where the bulk of the logic is and where the shared library is generated.\n\n## Requirements\n\nI've only tested on Ubuntu currently.\n\n- -std=C11\n- `https://github.com/jmatth11/array_template.git` \u003c- clone inside `deps/`\n\n## Building\n\n### Common Library\n\nYou need to build `common/` first.\n\ncommand:\n`make archive`\n\n### Programs (optional)\n\nFor all three programs `server/`, `client/pub`, and `client/sub` just run the\n`make` command in their respective directories.\n\n\n## Running\n\nThere is a convenient `run.sh` in each of the programs' folders.\n\nThis sets up the `LD_LIBRARY_PATH` and runs the program.\n\nRun the `server/` first, then the `client/sub/`, and then the `client/pub/`.\n\n## Demo\n\nhttps://github.com/user-attachments/assets/d4dc799d-a76d-41d7-b152-09945b17e3f6\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmatth11%2Fjm_bus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmatth11%2Fjm_bus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmatth11%2Fjm_bus/lists"}