{"id":32118917,"url":"https://github.com/guilhermewebdev/arbitrium","last_synced_at":"2026-02-23T04:32:26.349Z","repository":{"id":45111432,"uuid":"320889954","full_name":"guilhermewebdev/arbitrium","owner":"guilhermewebdev","description":"Arbitrium is a web micro-framework for Deno. It's designed to create a MVC controllers, making available an async web server and a router, to make get started a powerful applications.","archived":false,"fork":false,"pushed_at":"2024-08-01T23:39:12.000Z","size":378,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-20T17:51:06.186Z","etag":null,"topics":["async","deno","mvc","mvc-architecture","mvc-framework","webframework"],"latest_commit_sha":null,"homepage":"https://arbitrium-docs.vercel.app/","language":"TypeScript","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/guilhermewebdev.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":"2020-12-12T17:49:59.000Z","updated_at":"2023-01-17T10:13:50.000Z","dependencies_parsed_at":"2022-09-02T22:32:39.227Z","dependency_job_id":null,"html_url":"https://github.com/guilhermewebdev/arbitrium","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/guilhermewebdev/arbitrium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermewebdev%2Farbitrium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermewebdev%2Farbitrium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermewebdev%2Farbitrium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermewebdev%2Farbitrium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guilhermewebdev","download_url":"https://codeload.github.com/guilhermewebdev/arbitrium/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilhermewebdev%2Farbitrium/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29738079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T02:24:00.660Z","status":"ssl_error","status_checked_at":"2026-02-23T02:22:56.087Z","response_time":90,"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":["async","deno","mvc","mvc-architecture","mvc-framework","webframework"],"created_at":"2025-10-20T17:46:56.587Z","updated_at":"2026-02-23T04:32:26.339Z","avatar_url":"https://github.com/guilhermewebdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arbitrium  \nArbitrium is a web micro-framework for Deno. It's designed to create a MVC controllers, making available an async web server and a router, to make get started a powerful applications.  \n  \n# A Simple Example  \n```typescript\nimport Server, {\n    RequestListener,\n    Response\n} from 'https://deno.land/x/arbitrium@v0.1.0-alpha.2/src/server.ts';\nimport Router from 'https://deno.land/x/arbitrium@v0.1.0-alpha.2/src/router.ts';\nimport { route } from 'https://deno.land/x/arbitrium@v0.1.0-alpha.2/src/route.ts';\nimport { ServerRequest } from \"https://deno.land/std@0.80.0/http/server.ts\";\n\nasync function view(request: ServerRequest, args?: {}) {\n    // Write views to process the request, and return a response\n    return new Response('Hello World');\n}\n\nasync function viewWithParam(request: ServerRequest, args?: {}) {\n    // You can get the url params from \"args\" variable\n    return new Response(args, 200, 'application/json')\n}\n\nconst router = new Router([\n    // You can set the routes to call a view\n    route('/', view),\n    // You can pass url params\n    route('/\u003cid:number\u003e', viewWithParam),\n])\n\nfunction middleware(getResponse: RequestListener){\n    // One-time configuration and initialization.\n    console.log('On Start Application')\n    return async function(request: ServerRequest) {\n        // Code to be executed for each request before\n        // the view (and later middleware) are called.\n        console.log('On Request')\n        const response = await getResponse(request);\n        // Code to be executed for each request/response after\n        // the view is called.\n        console.log('On Response')\n        return response;\n    }\n}\n\n// To create a server, is just instance the \"Server\" class with configs\nconst server = new Server({ router, middlewares: [middleware] });\n\n// To start server is just call the \".listen()\" Server method\nserver.listen()\n\n```  \n\n```sh\n$ deno --allow-net example/simple.ts\n    Check file:///path/to/arbitrium/example/simple.ts\n    On Start Application\n    [SERVER RUNNING]: ON http://localhost:8080 (Press CTRL+C to quit)\n    \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilhermewebdev%2Farbitrium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguilhermewebdev%2Farbitrium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilhermewebdev%2Farbitrium/lists"}