{"id":42672386,"url":"https://github.com/lajule/rac","last_synced_at":"2026-01-29T11:02:59.469Z","repository":{"id":331360585,"uuid":"1126329029","full_name":"Lajule/rac","owner":"Lajule","description":"REST API in C","archived":false,"fork":false,"pushed_at":"2026-01-26T17:35:42.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-27T05:43:04.214Z","etag":null,"topics":["c","libuv","rest"],"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/Lajule.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-01T17:11:32.000Z","updated_at":"2026-01-26T17:35:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Lajule/rac","commit_stats":null,"previous_names":["lajule/rac"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lajule/rac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Frac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Frac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Frac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Frac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lajule","download_url":"https://codeload.github.com/Lajule/rac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Frac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","libuv","rest"],"created_at":"2026-01-29T11:02:23.422Z","updated_at":"2026-01-29T11:02:59.460Z","avatar_url":"https://github.com/Lajule.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rac\n\n🚀 High-Performance REST API in C\n\n\u003e **Bye Golang, Ciao Rust, Thank you AI, Welcome back C!**\n\nA REST API built entirely in C with: async I/O, connection pooling, and thread-based request handling.\n\n## ✨ Features\n\n- ⚡ **Asynchronous I/O** - Built on libuv event loop for maximum performance\n- 📊 **PostgreSQL Pool** - Thread-safe connection pooling\n- 🧵 **Thread Pool** - Multi-threaded request processing\n- 🔄 **HTTP Parser** - Modern llhttp parser for efficient request handling\n- 📦 **JSON Support** - Request/response serialization with cJSON\n\n## 📋 Prerequisites\n\n```bash\nsudo apt-get update\nsudo apt-get install -y \\\n    libuv1-dev \\\n    libllhttp-dev \\\n    libpq-dev \\\n    build-essential\n```\n\n## Environment\n\n```bash\nUV_THREADPOOL_SIZE=4\nLOG_LEVEL=1\nDB_POOL_SIZE=4\nDB_CONNINFO=\"host=postgres dbname=mydb user=mydb password=p@ssw0rd\"\nHTTP_PORT=8080\nHTTP_BACKLOG=128\n```\n\n## 🙏 Acknowledgments\n\n- [libuv](https://libuv.org/) - Cross-platform async I/O\n- [llhttp](https://github.com/nodejs/llhttp) - Fast HTTP parser\n- [cJSON](https://github.com/DaveGamble/cJSON) - Lightweight JSON parser\n- [PostgreSQL](https://www.postgresql.org/) - Powerful database\n- [libpq](https://www.postgresql.org/docs/current/libpq.html) - PostgreSQL C API\n\n---\n\n**Built with ❤️ and C** - Because sometimes, less is more.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flajule%2Frac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flajule%2Frac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flajule%2Frac/lists"}