{"id":21523832,"url":"https://github.com/bhojpur/web","last_synced_at":"2025-06-22T04:05:50.755Z","repository":{"id":39106126,"uuid":"447462612","full_name":"bhojpur/web","owner":"bhojpur","description":"The Bhojpur Web is a high performance, HTTP client/server engine applied within the Bhojpur.NET Platform ecosystem to deliver secure W3C standards compliant applications and services. It enables faster distributed enterprise application development and testing.","archived":false,"fork":false,"pushed_at":"2023-01-01T17:01:45.000Z","size":25105,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T17:51:03.200Z","etag":null,"topics":["http","http-proxy","http-server","https","load-testing","reverse-proxy","ssl","testing","tls"],"latest_commit_sha":null,"homepage":"https://page.bhojpur-consulting.com/product/web/","language":"Go","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/bhojpur.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}},"created_at":"2022-01-13T04:28:58.000Z","updated_at":"2022-09-26T00:05:52.000Z","dependencies_parsed_at":"2023-02-01T00:02:41.106Z","dependency_job_id":null,"html_url":"https://github.com/bhojpur/web","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bhojpur/web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhojpur%2Fweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhojpur%2Fweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhojpur%2Fweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhojpur%2Fweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhojpur","download_url":"https://codeload.github.com/bhojpur/web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhojpur%2Fweb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261233203,"owners_count":23128196,"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":["http","http-proxy","http-server","https","load-testing","reverse-proxy","ssl","testing","tls"],"created_at":"2024-11-24T01:19:31.624Z","updated_at":"2025-06-22T04:05:45.744Z","avatar_url":"https://github.com/bhojpur.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bhojpur Web - Application Service Framework\n\nThe `Bhojpur Web` is an enterprise grade, distributed `applications`/`services` framework, and\na client/server engine used by the [Bhojpur.NET Platform](https://github.com/bhojpur/platform)\nfor secure applications and/or services delivery using HTTP(S) protocols. It is pre-integrated\nwith the [Bhojpur IAM](https://github.com/bhojpur/iam) for enable identity and access management.\n\n## Server Engine\n\nIt is used as a primary HTTP(S) server engine within the [Bhojpur.NET Platform](https://github.com/bhojpur/platform) ecosystem to host a wide range of web-enabled applications or services. It complies fully with the HTTP1.1, HTTP/2.0 protocol standards. It can function as a `WebAssembly` hosting environment as well.\n\n## Client Engine\n\nJust like the cURL utility, it could be utilized as an HTTP/S client software by application\nsoftware testing tools. For example, web performance testing tools benefit from the statistics\nframework.\n\n### WebAssembly Application\n\nThe `client-side` framework features development of web applications based on `WebAssembly` in Go.\nYou can compile a custom developed web application using the following commands.\n\n```bash\n$ GOARCH=wasm GOOS=js go build -o web/app.wasm\n$ go build -o myapp\n```\n\n**NOTE** that the build output is explicitly set to `web/app.wasm`. The reason why it is that way:\nthe HTTP `Handler` associated from the **client-side** engine expects it to be a static resource\nlocated at the `/web/app.wasm` path.\n\n## Reverse Proxy\n\nIt is used as a primary Reverse Proxy server within the [Bhojpur.NET Platform](https://github.com/bhojpur/platform) ecosystem to route HTTP traffic securely among applications.\n\n## Application Generators\n\nUsing template files, it can automatically generate web application for multiple languages.\n\n```bash\n$ webctl generate --pkg testdata views/... --o views.go\n```\n\n## Application Performance Testing\n\nThe Bhojpur Web is used as a distributed application load testing tool. We benchmark HTTP servers and applications using different features built into the framework.\n\n### Load Testing Usage\n\n```bash\n$ webctl perftest [options] URL\n```\n\nApplication Options:\n    --num-requests  Number of requests to make (1)\n    --concurrent    Number of concurrent connections to make (1)\n    --keep-alive    Use keep alive connection\n    --no-gzip       Disable gzip accept encoding\n    --secure-tls    Validate TLS/SSL certificates\n\n#### For Example\n\n```bash\n$ webctl perftest --num-requests 100 --concurrent 4 https://www.bhojpur.net\n```\n\nThen, it would display something like this\n\n```bash\n    # Requests: 100\n    # Successes: 100\n    # Failures: 0\n    # Unavailable: 0\n    Duration: 1.719238256s\n    Average Request Duration: 13.575435ms\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhojpur%2Fweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhojpur%2Fweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhojpur%2Fweb/lists"}