{"id":28491583,"url":"https://github.com/untangledfinance/untangled-web","last_synced_at":"2026-04-01T23:41:38.405Z","repository":{"id":295243906,"uuid":"989583334","full_name":"untangledfinance/untangled-web","owner":"untangledfinance","description":"A framework to build web applications in Untangled platform.","archived":false,"fork":false,"pushed_at":"2025-12-15T16:13:17.000Z","size":4725,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-18T07:33:54.182Z","etag":null,"topics":["bun","framework","ioc","lib","nodejs","npm","package","typescript","web"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/untangled-web","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/untangledfinance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-05-24T11:55:30.000Z","updated_at":"2025-12-15T16:13:21.000Z","dependencies_parsed_at":"2025-07-05T19:26:53.275Z","dependency_job_id":"7b85cae9-8330-4bc2-9baa-6e3b6f85c6e6","html_url":"https://github.com/untangledfinance/untangled-web","commit_stats":null,"previous_names":["untangledfinance/untangled-lib"],"tags_count":126,"template":false,"template_full_name":null,"purl":"pkg:github/untangledfinance/untangled-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untangledfinance%2Funtangled-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untangledfinance%2Funtangled-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untangledfinance%2Funtangled-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untangledfinance%2Funtangled-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/untangledfinance","download_url":"https://codeload.github.com/untangledfinance/untangled-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untangledfinance%2Funtangled-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31013965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T02:58:54.984Z","status":"ssl_error","status_checked_at":"2026-03-27T02:58:46.993Z","response_time":164,"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":["bun","framework","ioc","lib","nodejs","npm","package","typescript","web"],"created_at":"2025-06-08T08:07:50.238Z","updated_at":"2026-03-27T03:16:27.344Z","avatar_url":"https://github.com/untangledfinance.png","language":"Python","readme":"# Untangled Web\n\nA TypeScript-based backend framework for building web applications in the Untangled Finance platform.\n\n## Features\n\n- **Bun.serve HTTP Server** - High-performance embedded HTTP server powered by Bun\n- **Decorator-Based Configuration** - IoC container with `@Module`, `@Controller`, `@Bean` decorators\n- **Request Handling** - Full support for JSON, form-urlencoded, text, and multipart/form-data\n- **File Uploads** - Built-in multipart parsing with `UploadedFile`, `FileReq\u003cT\u003e`, and `AuthFileReq\u003cT\u003e` types\n- **Filters/Middleware** - Request interceptors for auth, logging, rate limiting, validation\n- **CORS Support** - Built-in CORS handling with preflight support\n- **Database Connectors** - MongoDB and PostgreSQL support\n- **Caching \u0026 Queuing** - Redis-based caching and queue systems\n- **Scheduled Jobs** - Cron-based job scheduling with `@Job` and `@Cron` decorators\n- **JWT Authentication** - Built-in JWT support with RBAC via `@Auth` decorator\n\n## Getting Started\n\nThe library has been published in the NPM registry as well as in GitHub Packages. To get started with Untangled Web, install it using Bun:\n\n```sh\nbun add untangled-web\n```\n\n### Quick Example\n\n```typescript\nimport {\n  Application,\n  Controller,\n  FileReq,\n  Get,\n  Module,\n  Post,\n  Req,\n} from 'untangled-web';\n\n@Controller('/api')\nclass ApiController {\n  @Get('/hello')\n  hello() {\n    return { message: 'Hello, World!' };\n  }\n\n  @Post('/upload')\n  upload(req: FileReq\u003c{ name: string }\u003e) {\n    const files = req.files;\n    return { uploaded: files.length, name: req.body.name };\n  }\n}\n\n@Module({ controllers: [ApiController] })\nclass App extends Application {\n  async main() {\n    await this.start({ host: '0.0.0.0', port: 3000 });\n  }\n}\n\nnew App().main();\n```\n\n## Examples\n\nYou can take a look at the available [examples](/examples/) to explore framework features:\n\n- **web-app** - Comprehensive example with HTTP endpoints, file uploads, CORS, and filters.\n- Use this [starter](https://github.com/untangledfinance/untangled-web-starter) as a template to start building your web applications.\n\n## Runtime\n\n- **Runtime**: Bun (required)\n- This is a Bun-native platform\n\n## Documentation\n\nSee [LLM_AGENT_GUIDE.md](/LLM_AGENT_GUIDE.md) for detailed framework documentation (used as LLM agents' initial knowledge) including:\n\n- Architecture principles and IoC container\n- HTTP decorators and routing\n- Database connectors (MongoDB, PostgreSQL)\n- Caching, queuing, and pub-sub\n- Authentication and authorization\n- File uploads and storage\n- Scheduled jobs\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funtangledfinance%2Funtangled-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funtangledfinance%2Funtangled-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funtangledfinance%2Funtangled-web/lists"}