{"id":24674083,"url":"https://github.com/jabolol/apricot","last_synced_at":"2026-05-19T03:51:47.724Z","repository":{"id":217208214,"uuid":"743291555","full_name":"Jabolol/apricot","owner":"Jabolol","description":"Simple Socket.io demo written in C++","archived":false,"fork":false,"pushed_at":"2024-01-21T18:38:15.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T11:15:00.055Z","etag":null,"topics":["echo-server","socket-io","websocket"],"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/Jabolol.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}},"created_at":"2024-01-14T22:16:31.000Z","updated_at":"2024-01-15T09:04:27.000Z","dependencies_parsed_at":"2024-01-21T19:47:34.845Z","dependency_job_id":"4a45e68b-7278-4f66-8391-78d6fe7be239","html_url":"https://github.com/Jabolol/apricot","commit_stats":null,"previous_names":["jabolol/apricot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Fapricot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Fapricot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Fapricot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Fapricot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jabolol","download_url":"https://codeload.github.com/Jabolol/apricot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825372,"owners_count":20516589,"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":["echo-server","socket-io","websocket"],"created_at":"2025-01-26T11:15:04.376Z","updated_at":"2026-05-19T03:51:47.409Z","avatar_url":"https://github.com/Jabolol.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apricot\n\nSimple **Socket.io** demo written in `C++`. Its aim is to provide a simple\nworking example of how to use the **Socket.io** library in a `C++` project,\nusing git `submodules` to manage dependencies and `CMake` as the build system.\n\n```\napricot :: echo server\ntype 'exit' to quit\n-----------------------------------\nhello world!\n\u003c\u003c hello world!\nwhoami\n\u003c\u003c aiW_1pW3z1nVphxDAAAD\ncowsay\n\u003c\u003c \n ______\n\u003c Moo! \u003e\n ------\n        \\   ^__^\n         \\  (oo)\\_______\n            (__)\\       )\\/\\\n                ||----w |\n                ||     ||\nexit\n-----------------------------------\n```\n\n## getting started\n\nTo get started with the demo, follow these steps:\n\n1. Clone the repository with submodules recursively:\n\n```bash\ngit clone --recurse-submodules https://github.com/Jabolol/apricot.git .\n```\n\n2. Create a build directory and navigate into it:\n\n```bash\nmkdir build\ncd build\n```\n\n3. Generate the build files using CMake:\n\n```bash\ncmake ..\n```\n\n4. Initialize the server by running the following command in one terminal:\n\n```bash\ndeno run -A www/main.ts\n```\n\n5. In another terminal, run the compiled Apricot executable:\n\n```bash\n./apricot\n```\n\n6. Type `help` to see a list of available commands.\n\n## contributing\n\nContributions are welcome! If you find any issues or have suggestions for\nimprovements, please open an issue or submit a pull request.\n\n## license\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabolol%2Fapricot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabolol%2Fapricot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabolol%2Fapricot/lists"}