{"id":13500086,"url":"https://github.com/monkey/monkey","last_synced_at":"2026-04-14T19:00:59.517Z","repository":{"id":1802631,"uuid":"2726638","full_name":"monkey/monkey","owner":"monkey","description":"Monkey HTTP Server","archived":false,"fork":false,"pushed_at":"2026-04-09T18:49:20.000Z","size":15615,"stargazers_count":652,"open_issues_count":89,"forks_count":179,"subscribers_count":41,"default_branch":"master","last_synced_at":"2026-04-09T20:26:25.365Z","etag":null,"topics":["arm-webserver","embedded","embedded-webserver","http","http-server","webservices","yocto"],"latest_commit_sha":null,"homepage":"https://monkeywebserver.com","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Askelkana/grunt-svn-fetch","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monkey.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2011-11-07T14:36:27.000Z","updated_at":"2026-04-09T18:49:30.000Z","dependencies_parsed_at":"2024-06-12T03:48:24.441Z","dependency_job_id":"70087371-731b-479a-bdf7-fc5554858929","html_url":"https://github.com/monkey/monkey","commit_stats":{"total_commits":3520,"total_committers":82,"mean_commits":"42.926829268292686","dds":0.5573863636363636,"last_synced_commit":"2c77caa9cfeaf439af8022b6ebc8101e64e044bf"},"previous_names":[],"tags_count":67,"template":false,"template_full_name":null,"purl":"pkg:github/monkey/monkey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fmonkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fmonkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fmonkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fmonkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monkey","download_url":"https://codeload.github.com/monkey/monkey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fmonkey/sbom","scorecard":{"id":658605,"data":{"date":"2025-08-11","repo":{"name":"github.com/monkey/monkey","commit":"94af273244369e1a8426d0d1f6376475aff90db9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":3,"reason":"Found 7/22 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build-pr.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-pr.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/monkey/monkey/build-pr.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-pr.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/monkey/monkey/build-pr.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-pr.yaml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/monkey/monkey/build-pr.yaml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T15:24:38.326Z","repository_id":1802631,"created_at":"2025-08-21T15:24:38.326Z","updated_at":"2025-08-21T15:24:38.326Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31810741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: 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":["arm-webserver","embedded","embedded-webserver","http","http-server","webservices","yocto"],"created_at":"2024-07-31T22:00:51.050Z","updated_at":"2026-04-14T19:00:59.492Z","avatar_url":"https://github.com/monkey.png","language":"C","readme":"# Monkey HTTP Server\n\nMonkey is a lightweight HTTP server for Linux written in C. It keeps the core\nsmall, favors predictable resource usage, and exposes a plugin-oriented\narchitecture that works both as a standalone web server and as a reusable\nruntime foundation for HTTP-facing components.\n\nThe repository ships the `monkey` executable, the shared runtime in\n`mk_core/`, the HTTP server implementation in `mk_server/`, optional plugins,\ntest targets, fuzzing entrypoints, and the default configuration and site\nassets used by local builds.\n\n## Why Monkey\n\n- Small C codebase with a focused HTTP/1.1 server implementation\n- Event-driven scheduler with worker threads\n- Virtual hosts, keepalive, range requests, and static file serving\n- Optional plugins for TLS, CGI, FastCGI, logging, auth, shell access, and\n  directory listing\n- Build-time feature switches through CMake instead of a large external stack\n- Suitable for direct server use or embedding-oriented integration work\n\n## Quick Start\n\nRequirements:\n\n- Linux\n- CMake 3.20 or newer\n- A C compiler with GNU99 support\n- POSIX threads\n\nBuild:\n\n```bash\ncmake -S . -B build\ncmake --build build\n```\n\nRun from the source tree with the bundled configuration:\n\n```bash\n./build/bin/monkey -c conf\n```\n\nServe a directory without editing config files:\n\n```bash\n./build/bin/monkey -o htdocs\n```\n\nThe generated binary is:\n\n```text\nbuild/bin/monkey\n```\n\n## Build Options\n\nUseful CMake toggles from the current build system:\n\n- `MK_TLS=On|Off` enable or disable TLS support\n- `MK_TLS_BACKEND=auto|openssl|mbedtls` choose the TLS backend\n- `MK_PLUGIN_CGI=On`\n- `MK_PLUGIN_FASTCGI=On`\n- `MK_PLUGIN_LOGGER=On`\n- `MK_PLUGIN_CHEETAH=On`\n- `MK_TESTS=On` build native test targets\n- `MK_HTTP2=On` enable in-development HTTP/2 code paths\n- `MK_DEBUG=On` build with debug symbols\n\nExample:\n\n```bash\ncmake -S . -B build \\\n  -DMK_TESTS=On \\\n  -DMK_PLUGIN_LOGGER=On \\\n  -DMK_TLS=On\ncmake --build build\n```\n\n## Runtime Notes\n\nCommon command-line options:\n\n- `-c, --configdir` set the configuration directory\n- `-s, --serverconf` choose the main server config file\n- `-p, --port` override the listen port\n- `-w, --workers` override the worker count\n- `-D, --daemon` run in the background\n- `--https` enable HTTPS on configured listeners\n- `-b, --build` print build information\n- `-h, --help` show the full command reference\n\nConfiguration templates live under `conf/`. The default static site content for\nlocal runs lives under `htdocs/`.\n\n## Repository Layout\n\n- `mk_core/` core utilities, memory, events, files, strings, and threading\n- `mk_server/` HTTP server, scheduler, request lifecycle, headers, streams,\n  virtual hosts, and plugin integration\n- `mk_bin/` executable entrypoints and signal handling\n- `include/monkey/` public and internal headers\n- `plugins/` optional runtime features\n- `test/` native tests used by CMake\n- `fuzz/` fuzzing entrypoints and helpers\n- `qa/` request fixtures and QA material\n- `conf/` configuration templates\n- `htdocs/` default site assets\n\n## Development\n\nBuild test targets:\n\n```bash\ncmake -S . -B build -DMK_TESTS=On\ncmake --build build\n```\n\nAdditional notes:\n\n- Fuzzing notes live in [FUZZ.md](FUZZ.md)\n- Arduino YUN cross-build notes live in [ARDUINO_YUN.md](ARDUINO_YUN.md)\n- Contribution rules live in [CONTRIBUTING.md](CONTRIBUTING.md)\n- Local repository conventions for agents live in [AGENTS.md](AGENTS.md)\n\n## Project Links\n\n- Repository: https://github.com/monkey/monkey\n- Issues: https://github.com/monkey/monkey/issues\n- Project site: https://monkeywebserver.com\n- Documentation: https://monkeywebserver.com/documentation/\n\n## Contributing\n\nSend changes through GitHub pull requests. Before opening one, read\n[CONTRIBUTING.md](CONTRIBUTING.md) and follow the commit style already used in\nthe repository history: narrow scope prefixes, short lowercase subjects, and a\nproper body for non-trivial changes.\n\n## License\n\nMonkey source files are licensed under the Apache License, Version 2.0.\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkey%2Fmonkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonkey%2Fmonkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkey%2Fmonkey/lists"}