{"id":30137897,"url":"https://github.com/voxld/oxarionjs","last_synced_at":"2025-08-11T01:02:36.318Z","repository":{"id":305251964,"uuid":"1022406534","full_name":"VoxlD/OxarionJs","owner":"VoxlD","description":"Powerfull Backend Framework Build on top of BunJS","archived":false,"fork":false,"pushed_at":"2025-07-21T23:24:18.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T12:51:43.285Z","etag":null,"topics":["backend","backend-service","bunjs","framework","javscript","typescript","webserver"],"latest_commit_sha":null,"homepage":"","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/VoxlD.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"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}},"created_at":"2025-07-19T02:36:39.000Z","updated_at":"2025-07-22T20:14:11.000Z","dependencies_parsed_at":"2025-07-19T05:32:08.678Z","dependency_job_id":"3d8fff8c-d937-4f9e-99c5-c7b192b91aff","html_url":"https://github.com/VoxlD/OxarionJs","commit_stats":null,"previous_names":["voxld/oxarionjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VoxlD/OxarionJs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoxlD%2FOxarionJs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoxlD%2FOxarionJs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoxlD%2FOxarionJs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoxlD%2FOxarionJs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VoxlD","download_url":"https://codeload.github.com/VoxlD/OxarionJs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoxlD%2FOxarionJs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269814341,"owners_count":24479363,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["backend","backend-service","bunjs","framework","javscript","typescript","webserver"],"created_at":"2025-08-11T01:01:27.229Z","updated_at":"2025-08-11T01:02:36.277Z","avatar_url":"https://github.com/VoxlD.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OxarionJS 🚀\n\n![npm downloads](https://img.shields.io/npm/dm/oxarionjs?style=flat-square\u0026logo=npm\u0026color=blue)\n\n**OxarionJS** is a powerful, modern, and lightweight backend framework built on top of [Bun](https://bun.sh), designed for speed, simplicity, and full TypeScript support.\n\n---\n\n## ⚡ Why OxarionJS?\n\n- **Ultra Fast**: Built on Bun for maximum performance.\n- **Lightweight**: Tiny footprint, just 48kb for the core modules.\n- **TypeScript First**: Enjoy full type safety and modern development experience.\n- **Expressive Routing**: Dynamic routes with parameters (`/user/[id]`, `/api/[...path]`).\n- **Built-in Middleware**: CORS, JSON, URL-encoded, and more out of the box.\n- **WebSocket Support**: Native, per-route WebSocket handlers.\n- **Form Data \u0026 File Uploads**: Effortless form parsing and file handling.\n- **Gzip Compression**: Automatic response compression.\n- **Static File Serving**: Serve HTML and static assets with ease.\n- **Bun Test Integration**: Write and run tests using Bun's test runner.\n\n---\n\n## 🚀 Getting Started\n\n### 1. Prerequisite: Install Bun\n\nOxarionJS requires [Bun](https://bun.sh) (v1.2.19 or higher).\nIf you don't have Bun installed, get it from [https://bun.sh](https://bun.sh).\n\n### 2. Install OxarionJS\n\n```bash\nbun add oxarionjs\n```\n\n### 3. Create Your First Server\n\n```typescript\nimport Oxarion, { Middleware } from \"oxarionjs\";\n\n// Start the server\nOxarion.start({\n  port: 3000,\n  debugRoutes: true,\n\n  // Define your routes\n  httpHandler: (router) =\u003e {\n    router.addHandler(\"GET\", \"/\", (_, res) =\u003e {\n      res.json({ message: \"Welcome to Oxarion!\" });\n    });\n  },\n\n  // This function is called after httpHandler is registered\n  safeMwRegister: (router) =\u003e {\n    router.middlewareChain(\n      \"/\",\n      [Middleware.cors(), Middleware.json(), Middleware.urlencoded()],\n      true // This means it will be applied to all routes\n    );\n  },\n});\n```\n\n### 4. Run Your Server\n\n```bash\nbun run \u003cyour-entry-file\u003e.ts\n```\n\nReplace `\u003cyour-entry-file\u003e.ts` with the name of your main TypeScript file.\n\n---\n\n## 📝 Features Overview\n\n- **Routing**: Dynamic, parameterized, and nested routes.\n- **Middleware**: Plug-and-play CORS, JSON, URL-encoded, and custom middleware.\n- **WebSocket**: Built-in, per-route WebSocket support.\n- **Form Data**: Simple form parsing and file upload handling.\n- **Compression**: Automatic gzip compression for responses.\n- **Static Files**: Serve static files and HTML pages effortlessly.\n- **Testing**: Integrated with Bun's test runner for robust testing.\n\n---\n\n## 📦 Requirements\n\n- **Bun**: v1.2.19 or higher\n  [Install Bun →](https://bun.sh)\n\n---\n\n## 📄 License\n\n[MIT](./LICENSE)\n\n---\n\n\u003e **Need help or want to contribute?**\n\u003e Check out the [issues](https://github.com/VoxlD/OxarionJs/issues) or open a pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxld%2Foxarionjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxld%2Foxarionjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxld%2Foxarionjs/lists"}