{"id":19119083,"url":"https://github.com/zeusssz/sputnik-c","last_synced_at":"2026-06-15T06:34:35.434Z","repository":{"id":255889682,"uuid":"852311932","full_name":"zeusssz/sputnik-c","owner":"zeusssz","description":"Sputnik, a simple server written in C","archived":false,"fork":false,"pushed_at":"2025-03-20T16:59:45.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T17:39:56.021Z","etag":null,"topics":["c","http-server","server","simple"],"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/zeusssz.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-09-04T15:36:46.000Z","updated_at":"2025-03-20T16:59:48.000Z","dependencies_parsed_at":"2025-01-03T07:43:11.841Z","dependency_job_id":"53cdc16e-c6ed-4261-a6bb-9c4c36cbd4c5","html_url":"https://github.com/zeusssz/sputnik-c","commit_stats":null,"previous_names":["zeusssz/sputnik-c"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zeusssz/sputnik-c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeusssz%2Fsputnik-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeusssz%2Fsputnik-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeusssz%2Fsputnik-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeusssz%2Fsputnik-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeusssz","download_url":"https://codeload.github.com/zeusssz/sputnik-c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeusssz%2Fsputnik-c/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34351448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","http-server","server","simple"],"created_at":"2024-11-09T05:08:28.177Z","updated_at":"2026-06-15T06:34:35.429Z","avatar_url":"https://github.com/zeusssz.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![SputnikSmall](https://github.com/user-attachments/assets/32b78cb6-433c-4a0f-8c1f-520a1cf688fe) Sputnik\n\nA simple multithreaded HTTP server implemented in C. This server is capable of serving static files from a designated directory and handling multiple client connections concurrently. \nI certainly plan on improving this project, as I plan on using it for one of my other projects.\n\n## Features\n\n- Serve static files (HTML, CSS, JS from the `www/` directory).\n- Multithreaded to handle multiple clients simultaneously.\n- Simple logging to track server activity.\n\n\n## Prerequisites\n\n- GCC or any compatible C compiler.\n- `make` utility for building the project.\n\n## Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/zeusssz/sputnik-c.git\n   cd my_http_server\n   ```\n\n2. **Build the server**:\n   ```bash\n   make\n   ```\n\n## Usage\n\n1. **Run the server**:\n   ```bash\n   make run\n   ```\n\n   The server will start on port `8080`. You can change the port by editing the `run` rule in the `Makefile`.\n\n2. **Access the server**:\n   Open a web browser and navigate to `http://localhost:8080` to see the served static files.\n\n## Configuration\n\n- **Static Files**: Place your static files (HTML, CSS, JavaScript, etc.) in the `www/` directory.\n- **Logs**: Server logs are stored in the `logs/` directory.\n\n## Cleaning Up\n\n- **Remove binaries and object files**:\n  ```bash\n  make clean\n  ```\n\n- **Remove log files**:\n  ```bash\n  make clean-logs\n  ```\n\n## Contributing\n\nFeel free to fork this repository, open issues, and submit pull requests. Contributions are greatly appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeusssz%2Fsputnik-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeusssz%2Fsputnik-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeusssz%2Fsputnik-c/lists"}