{"id":18418290,"url":"https://github.com/juanarbol/uvxamples","last_synced_at":"2025-04-07T13:31:15.841Z","repository":{"id":234571896,"uuid":"194761902","full_name":"juanarbol/uvxamples","owner":"juanarbol","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-28T04:20:21.000Z","size":1890,"stargazers_count":9,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-22T19:02:16.030Z","etag":null,"topics":["c","cpp","libuv","node"],"latest_commit_sha":null,"homepage":"","language":"C","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/juanarbol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":null,"patreon":"soyjuanarbol","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2019-07-02T00:48:06.000Z","updated_at":"2025-01-24T10:44:29.000Z","dependencies_parsed_at":"2024-05-04T14:15:13.738Z","dependency_job_id":null,"html_url":"https://github.com/juanarbol/uvxamples","commit_stats":null,"previous_names":["juanarbol/uvxamples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanarbol%2Fuvxamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanarbol%2Fuvxamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanarbol%2Fuvxamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanarbol%2Fuvxamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juanarbol","download_url":"https://codeload.github.com/juanarbol/uvxamples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247661638,"owners_count":20975091,"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":["c","cpp","libuv","node"],"created_at":"2024-11-06T04:13:14.087Z","updated_at":"2025-04-07T13:31:14.432Z","avatar_url":"https://github.com/juanarbol.png","language":"C","readme":"# uvxamples\n\nSpecial thanks to Saúl Ibarra for the recomendation of using Cmake\nto build Libuv and this project, also, a huge part of this code was\ntaken from his project txiki.js https://github.com/saghul/txiki.js\n\nThis project is just for showcasing some examples of [libuv](http://libuv.org/) API.\n_Read [basics of libuv](http://docs.libuv.org/en/v1.x/guide/basics.html#basics-of-libuv) first_.\n\n## Building:\n\nThis use CMake and Make as building tools, so we can run multiplatform!\n\nRun `FILE=fileRoute ./build.sh`, yes, that's it!\n\nDebug objects could be generated by providing the `BUILD_TYPE` environment variable\n(\"Release\" is the default build mode):\n\n```sh\n$ BUILD_TYPE=Debug FILE=./src/timer/timer.c ./build.sh\n```\n\n## Buidling and running examples:\n\n```sh\n$ FILE=./src/timer/timer.c ./build.sh\n$ ./build/example\n```\n\n## Example index:\n\n* async: [async handles](/src/async)\n* check: [check phase example](/src/check)\n* fs events: [file system events examples](/src/fs_events)\n* fs: [file system operations examples](/src/fs)\n* idle: [idle examples](/src/idle)\n* loop: [event loop API examples](/src/loop)\n* metrics: [libuv metrics operations](/src/metrics)\n* misc: [misc examples](/src/misc)\n* pipe: [pipe example](/src/pipe)\n* poll: [polling phase example](/src/poll)\n* prepare: [prepare phase example](/src/prepare)\n* signals: [signal examples](/src/signals)\n* tcp: [tcp examples](/src/tcp)\n* threads: [threads examples](/src/threads)\n* timer: [timer examples](/src/timer)\n\n## Dependencies:\n\n1. Cmake (at least 3.0).\n2. Make.\n3. Your preferred C compiler\n\n## PS: the content presented here is just for educational purposes.\n","funding_links":["https://patreon.com/soyjuanarbol"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanarbol%2Fuvxamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuanarbol%2Fuvxamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanarbol%2Fuvxamples/lists"}