{"id":16952921,"url":"https://github.com/stephandollberg/yotta","last_synced_at":"2025-03-21T11:20:43.249Z","repository":{"id":151756547,"uuid":"69294914","full_name":"StephanDollberg/yotta","owner":"StephanDollberg","description":"HTTP File Server Serving Yottabytes","archived":false,"fork":false,"pushed_at":"2020-04-26T12:43:12.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T07:41:16.424Z","etag":null,"topics":["cloudcloudcloud","cyberscale","webscale"],"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/StephanDollberg.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":"2016-09-26T21:37:45.000Z","updated_at":"2020-04-26T12:43:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"f490a2d2-db1f-4302-8e34-8b0e19a510f3","html_url":"https://github.com/StephanDollberg/yotta","commit_stats":{"total_commits":84,"total_committers":1,"mean_commits":84.0,"dds":0.0,"last_synced_commit":"7978a92cb5e2ebf13e0b4303e6730e44b6fb47de"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanDollberg%2Fyotta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanDollberg%2Fyotta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanDollberg%2Fyotta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanDollberg%2Fyotta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StephanDollberg","download_url":"https://codeload.github.com/StephanDollberg/yotta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244787014,"owners_count":20510041,"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":["cloudcloudcloud","cyberscale","webscale"],"created_at":"2024-10-13T22:05:11.594Z","updated_at":"2025-03-21T11:20:43.227Z","avatar_url":"https://github.com/StephanDollberg.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Yotta\n\nYotta is basic http file server. It serves my personal blog [dollberg.xyz](https://dollberg.xyz).\n\nIt's main purpose is though to build an epoll based event loop with all kinds of gimmicks. In addition, it's a performant file server that doesn't need 50 lines of config.\n\nCurrent HTTP Features:\n - If-Modified-Since\n - (Essential) Range Support\n\nEvent loop:\n - Edge triggered `epoll` loop\n - Connections loadbalanced via `REUSEPORT` to worker processes\n - Timers via `timerfd`\n - Files are served directly via `sendfile`\n - Zero down time upgrades (same principle as nginx)\n\n### Building\n\nCMake is being use as a build system.\n\n```\nmkdir build\ncd build \ncmake ../src\nmake\n```\n\nWill build you the `yotta` binary.\n\n### Usage\n\nRun the binary in the directory you want to serve, you shall pass the address and port to listen on:\n\n    yotta -h :: -p 10000\n    \nTo listen on all interfaces and port `10000`.\n\nSee `upgrade_yotta.sh` and `yotta.unit` for usage of the pid file (`-i`) option, daemonizing (`-g`) option and how to upgrade.\n\n### Tests\n\nThere are a couple of unit tests which can be run via `make test` in the build folder in addition to integration tests in `src/test`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephandollberg%2Fyotta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephandollberg%2Fyotta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephandollberg%2Fyotta/lists"}