{"_id":"@bunelysiareact/bert","name":"@bunelysiareact/bert","dist-tags":{"latest":"1.0.0-rc1"},"versions":{"1.0.0-rc1":{"name":"@bunelysiareact/bert","version":"1.0.0-rc1","description":"The fastest full-stack React framework built on Bun runtime","type":"module","exports":{"./bundler":"./bundler.js","./apiloader":"./apiloader.js","./hydration":"./deps/hydration.js","./logger":"./deps/logger.js","./Head":"./deps/Head.jsx"},"publishConfig":{"access":"public"},"bin":{"create-bert-app":"cli.js"},"scripts":{"create":"bun cli.js create","start":"node server.js"},"keywords":["react","framework","bun","ssr","elysia","full-stack","nextjs-alternative"],"author":{"name":"Ernest"},"license":"MIT","repository":{"type":"git","url":"https://github.com/BunElysiaReact/@bunelysiareact/bert.git"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"elysia":"^1.4.0","ernest-logger":"latest"},"engines":{"bun":">=1.3.0"},"_id":"@bunelysiareact/bert@1.0.0-rc1","gitHead":"14a17d5242342a1cdaa4383cae57e0d5d74978f6","_nodeVersion":"22.21.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-wB0jwH14AhyUBmRIl4WDCmPXAOjqAuOfZpVrs1sgR5yZkzR6wo7r6XUge+iaH/ecHLeWAbTsC5CHRGc5UReMtw==","shasum":"af30407a6a01a39d64c7e656eb7d2aad8dc8551f","tarball":"https://registry.npmjs.org/@bunelysiareact/bert/-/bert-1.0.0-rc1.tgz","fileCount":11,"unpackedSize":21275,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDJyd7i/6UbTw4uPC3Ov6O3p5bkPFgPJ9KB20gdlA2/eAIgJ5CeSU9pdOGnbBpncQBO1VaecVBsC9n2Z4Y7eQz0OZE="}]},"_npmUser":{"name":"peaseernest","email":"peaseernest8@gmail.com"},"directories":{},"maintainers":[{"name":"peaseernest","email":"peaseernest8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bert_1.0.0-rc1_1764802820287_0.8956785198468014"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-03T23:00:20.185Z","1.0.0-rc1":"2025-12-03T23:00:20.430Z","modified":"2025-12-03T23:00:20.732Z"},"maintainers":[{"name":"peaseernest","email":"peaseernest8@gmail.com"}],"description":"The fastest full-stack React framework built on Bun runtime","keywords":["react","framework","bun","ssr","elysia","full-stack","nextjs-alternative"],"repository":{"type":"git","url":"https://github.com/BunElysiaReact/@bunelysiareact/bert.git"},"author":{"name":"Ernest"},"license":"MIT","readme":"# B.E.R.T. Framework\n\n**B**un + **E**lysia + **R**eact + **T**emplate\n\nThe fastest full-stack React framework built on Bun runtime. A lightweight, high-performance alternative to Next.js with zero configuration required.\n\n> ⚠️ **Early Stage Warning**: B.E.R.T. is in very early stages of development (v1.0.0-rc1). We're not as feature-complete as Next.js yet, but we're actively working towards it. Expect breaking changes, missing features, and bugs. Use in production at your own risk. Contributions and feedback are highly appreciated!\n\n## ⚡ Features\n\n- **Lightning Fast SSR** - Server-side rendering powered by Bun's blazing-fast runtime\n- **File-System Routing** - Automatic routing based on your file structure\n- **Dynamic Routes** - Support for parameterized routes like `/blog/[id]`\n- **Type-Safe APIs** - Built-in ElysiaJS integration for ultra-fast API routes\n- **CSS Support** - Import CSS directly in your components\n- **Zero Config** - Works out of the box with sensible defaults\n- **Client Hydration** - Full React interactivity on the client side\n\n## 🚀 Quick Start\n\n### Create a new B.E.R.T. app\n\n```bash\nbun create @bunelysiareact/bert-app my-app\ncd my-app\nbun dev\n```\n\nYour app will be running at `http://localhost:3000`\n\n## 📁 Project Structure\n\n```\nmy-app/\n├── pages/          # Your React pages (file-system routing)\n│   ├── index.jsx   # Home page (/)\n│   └── blog/\n│       └── [id].jsx # Dynamic route (/blog/123)\n├── api/            # API routes powered by ElysiaJS\n│   └── hello.js    # API endpoint (/api/hello)\n├── styles/         # Global stylesheets\n│   └── global.css\n├── static/         # Static assets (images, fonts, etc)\n├── deps/           # B.E.R.T. dependencies\n└── @bunelysiareact/bert.config.js  # Configuration file\n```\n\n## 📝 Creating Pages\n\nCreate a new file in the `pages/` directory:\n\n```jsx\n// pages/about.jsx\nimport React from 'react';\nimport Head from '../deps/Head';\nimport '../styles/global.css';\n\nexport default function About() {\n  return (\n    <div>\n      <Head>\n        <title>About - My App</title>\n        <meta name=\"description\" content=\"About my awesome app\" />\n      </Head>\n      \n      <h1>About Page</h1>\n      <p>Built with B.E.R.T. Framework</p>\n    </div>\n  );\n}\n```\n\nThis automatically creates a route at `/about`.\n\n## 🔗 Dynamic Routes\n\nCreate parameterized routes using bracket notation:\n\n```jsx\n// pages/blog/[id].jsx\nimport React from 'react';\n\nexport default function BlogPost({ params }) {\n  return (\n    <div>\n      <h1>Blog Post: {params.id}</h1>\n      <p>You're viewing post ID: {params.id}</p>\n    </div>\n  );\n}\n```\n\nAccess via `/blog/123`, `/blog/hello`, etc.\n\n## 🌐 API Routes\n\nCreate API endpoints in the `api/` directory:\n\n```js\n// api/users.js\nexport default () => {\n  return { \n    users: [\n      { id: 1, name: 'Alice' },\n      { id: 2, name: 'Bob' }\n    ]\n  };\n}\n```\n\nAccess via `/api/users`.\n\n## 🎨 Styling\n\nImport CSS directly in your components:\n\n```jsx\nimport '../styles/global.css';\n```\n\nCSS files are automatically bundled and loaded.\n\n## ⚙️ Configuration\n\nCustomize B.E.R.T. by editing `@bunelysiareact/bert.config.js`:\n\n```js\nexport default {\n  port: 3000,\n  hostname: 'localhost',\n  build: {\n    outdir: './.@bunelysiareact/bert',\n    minify: true,\n  },\n};\n```\n\n## 🔧 Development\n\n```bash\nbun dev          # Start development server\n```\n\n## 📦 Building for Production\n\n```bash\nbun run server.js  # Runs with optimized production builds\n```\n\n## 🚧 Current Limitations\n\nB.E.R.T. is in active development. Here's what we're working on:\n\n- [ ] Image optimization\n- [ ] Middleware support\n- [ ] API route methods (POST, PUT, DELETE)\n- [ ] Environment variables handling\n- [ ] Production build optimization\n- [ ] Static site generation (SSG)\n- [ ] Incremental static regeneration (ISR)\n- [ ] Better error pages\n- [ ] TypeScript configuration\n- [ ] Plugin system\n\nWe're committed to rapid development and will be adding features regularly. Star the repo to follow our progress!\n\n## 🤝 Why B.E.R.T.\n\n- **Faster than Next.js** - Built on Bun, the fastest JavaScript runtime\n- **Simpler** - Zero configuration, no complex setup\n- **Type-Safe APIs** - ElysiaJS provides excellent TypeScript support\n- **Lightweight** - Minimal dependencies, maximum performance\n\n## 📄 License\n\nMIT\n\n## 🌟 Contributing\n\nContributions are highly encouraged! This is v1.0.0-rc1 and we need your help to make B.E.R.T. production-ready.\n\n**Ways to contribute:**\n- Report bugs and issues\n- Suggest new features\n- Submit pull requests\n- Improve documentation\n- Share your experience using B.E.R.T.\n\nTogether, we'll build a framework that rivals Next.js in features while maintaining Bun's incredible speed.\n\n---\n\n**Built with ❤️ using Bun**","readmeFilename":"README.md","_rev":"1-dbcc597c2b29035b71fcbcc1e84db656"}