{"id":13527484,"url":"https://github.com/alosaur/alosaur","last_synced_at":"2025-05-15T03:03:14.796Z","repository":{"id":36543160,"uuid":"178385219","full_name":"alosaur/alosaur","owner":"alosaur","description":"Alosaur - Deno web framework with many ES Decorators","archived":false,"fork":false,"pushed_at":"2024-11-05T10:53:28.000Z","size":978,"stargazers_count":812,"open_issues_count":26,"forks_count":48,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-05-08T13:29:11.843Z","etag":null,"topics":["decorators","deno","middleware","mvc"],"latest_commit_sha":null,"homepage":"https://alosaur.com","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/alosaur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security.ts","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":"alosaur","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-03-29T10:32:38.000Z","updated_at":"2025-05-06T11:12:56.000Z","dependencies_parsed_at":"2024-04-12T11:23:04.978Z","dependency_job_id":"d8655510-dc49-475a-8193-8e5890cc0198","html_url":"https://github.com/alosaur/alosaur","commit_stats":{"total_commits":618,"total_committers":22,"mean_commits":28.09090909090909,"dds":0.07928802588996764,"last_synced_commit":"583b71ca1ae679b6db716ec3a53068409fe1f2a9"},"previous_names":[],"tags_count":70,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alosaur%2Falosaur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alosaur%2Falosaur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alosaur%2Falosaur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alosaur%2Falosaur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alosaur","download_url":"https://codeload.github.com/alosaur/alosaur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254168657,"owners_count":22026206,"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":["decorators","deno","middleware","mvc"],"created_at":"2024-08-01T06:01:48.993Z","updated_at":"2025-05-15T03:03:14.743Z","avatar_url":"https://github.com/alosaur.png","language":"TypeScript","readme":"# Alosaur 🦖\n\nAlosaur - [Deno](https://github.com/denoland) web framework 🦖.\n\n[Documentation](https://alosaur.com/)\n\n[![test](https://github.com/alosaur/alosaur/actions/workflows/ci.yml/badge.svg)](https://github.com/alosaur/alosaur/actions/workflows/ci.yml)\n![sponsors](https://opencollective.com/alosaur/sponsors/badge.svg)\n\n- **Area** - these are the modules of your application.\n- **Controller** - are responsible for controlling the flow of the application execution.\n- **Middleware** - provide a convenient mechanism for filtering HTTP requests entering your application.\n- **Hooks** - middleware for area, controller and actions with support DI. Have 3 life cyclic functions:\n  `onPreAction, onPostAction, onCatchAction`\n- **Decorators** - ES decorators for query, cookie, parameters, routes and etc.\n- **Dependency Injection** - for all controllers and hooks by default.\n- **Security** - supports security context (Session, Authentication, Authorization, OAuth, Google and custom strategy)\n  [Security](https://github.com/alosaur/alosaur/tree/master/src/security)\n- **Render pages** any template render engine. [(more)](https://github.com/alosaur/alosaur#render-pages)\n\n[中文说明](https://github.com/alosaur/alosaur/blob/master/README_zh.md)\n\nHow do I use Alosaur in Deno Deploy? Use the light version of Alosaur:\n[Alosaur Lite](https://github.com/alosaur/alosaur-lite)\n\n---\n\n## Simple example\n\napp.ts:\n\n```typescript\nimport { App, Area, Controller, Get } from \"https://deno.land/x/alosaur/mod.ts\";\n\n@Controller() // or specific path @Controller(\"/home\")\nexport class HomeController {\n  @Get() // or specific path @Get(\"/hello\")\n  text() {\n    return \"Hello world\";\n  }\n}\n\n// Declare module\n@Area({\n  controllers: [HomeController],\n})\nexport class HomeArea {}\n\n// Create alosaur application\nconst app = new App({\n  areas: [HomeArea],\n});\n\napp.listen();\n```\n\nAnd run\n\n`deno run --allow-net app.ts`\n\n[More examples](https://github.com/alosaur/alosaur/tree/master/examples/)\n\n## Sponsors\n\n\u003ca align=\"center\" href=\"https://opencollective.com/alosaur\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/alosaur/sponsors.svg?width=1000\u0026t=2\" width=\"2000\"\u003e\u003c/a\u003e\n\n### Backers\n\n\u003ca href=\"https://opencollective.com/alosaur\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/alosaur/backers.svg?width=1000\u0026t=1\"\u003e\u003c/a\u003e\n","funding_links":["https://opencollective.com/alosaur"],"categories":["TypeScript","Uncategorized","Modules","基础设施","核心模块与框架（按需求挑）"],"sub_categories":["Uncategorized","Online Playgrounds","Web framework","Assistants","Deno 源","Web 框架（搭 API/网站用）"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falosaur%2Falosaur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falosaur%2Falosaur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falosaur%2Falosaur/lists"}