{"id":20400046,"url":"https://github.com/codebrainz/turbine","last_synced_at":"2025-09-12T20:35:25.509Z","repository":{"id":213337014,"uuid":"733620181","full_name":"codebrainz/turbine","owner":"codebrainz","description":"IO event loop and wrapper around various POSIX, Linux, and Unix IO primatives.","archived":false,"fork":false,"pushed_at":"2023-12-19T18:47:54.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T11:47:40.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codebrainz.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":"2023-12-19T18:33:25.000Z","updated_at":"2023-12-19T18:35:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9acc19a-79cc-4e6b-b316-21bb02a94d72","html_url":"https://github.com/codebrainz/turbine","commit_stats":null,"previous_names":["codebrainz/turbine"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebrainz%2Fturbine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebrainz%2Fturbine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebrainz%2Fturbine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebrainz%2Fturbine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebrainz","download_url":"https://codeload.github.com/codebrainz/turbine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241947947,"owners_count":20047307,"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":"2024-11-15T04:38:11.424Z","updated_at":"2025-03-05T01:28:18.952Z","avatar_url":"https://github.com/codebrainz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turbine\n\n**Status:** experimental, not well-tested or meant for production.\n\nTurbine in a single-header async IO library for C++ on Linux.\n\n## Features\n\n- IO event loop similar to GLib's main loop (`io` directory)\n- Wrappers over Linux, POSIX and Unix IO primatives:\n  - Posix: fd, fifo, pipe, sigset\n  - Networking: socket, addrinfo, sockaddr, tcp/udp/unix client and server\n  - Linux: epoll, eventfd, inotify, signalfd, timerfd\n\n## Quick Start\n\nTo use the library, first generate the header, using the Python script that\ncombines all of the library's headers into a single file:\n\n```console\n$ cd /path/to/turbine\n$ scripts/amalgamation.py \u003e /path/where/you/want/the/header/turbine.hpp\n```\n\nThe header is Linux-specific (at this point) and requires C++20 (with GNU\nextensions). You need to define `_DEFAULT_SOURCE` and use the `-std=gnu++20`\ncompiler flag in order to build with the header.\n\nSee the file `src/main.cpp` for a basic example on how to use it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebrainz%2Fturbine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebrainz%2Fturbine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebrainz%2Fturbine/lists"}