|
๐ Location: Sri Lanka ๐ฑ๐ฐ ๐ญ Currently Working On: Bini.js โ my own React framework const binidu = {
location: "Sri Lanka ๐ฑ๐ฐ",
role: "Full-Stack Developer & Framework Creator",
philosophy: "Code should feel โ not just function",
createdFramework: "ร Bini.js โ Zero-Config React Framework",
currentFocus: [
"๐ Bini.js Ecosystem",
"๐ค AI Integration",
"๐ Modern Web Apps",
"โจ Creative Solutions"
],
workingOn: "๐ญ Bini.js & AI-powered creative tools",
learning: "๐ฑ Advanced ML & Cloud Architecture",
askMeAbout: "๐ฌ Bini.js, React, AI integration, or creative coding"
}; |
๐ I didn't just use frameworks โ I built one.
Bini.js is a zero-config React framework built on Vite 8 and React 19, with file-based routing, Hono-powered API routes, and a zero-dependency production server. Like Next.js, but a pure SPA โ no SSR overhead.
# Scaffold a new project in seconds
npx create-bini-app@latest my-app
cd my-app && npm install
npm run dev # Opens http://localhost:3000 automatically| Feature | Description |
|---|---|
| ๐ File-Based Routing | page.tsx files map to URLs โ nested layouts, [dynamic] segments, not-found.tsx, zero config |
| โก Hono API Routes | Plain handlers or full Hono apps in src/app/api/ โ runs in dev, bini-server, and Netlify Edge |
| ๐ฅ๏ธ Zero-Dep Server | bini-server โ pure Node.js http, ETag/304, 10MB body limit, graceful shutdown |
| ๐จ Dev Overlay | Animated ร badge in dev โ morphs into a Shiki-highlighted error panel with call stack |
| ๐ Deploy Anywhere | Set platform once โ Netlify, Cloudflare, Node, Deno, Bun, or AWS generated automatically |
| ๐ฆ Auto-Imports | useState, useEffect, Link, useParams, Outlet, and more โ no import statements needed |
| ๐ Security Built-In | Helmet headers, CORS, rate limiting (100 req/15 min), XSS prevention |
| โ๏ธ Plugin System | Official plugin API with onDevStart, onBuildEnd, onApiSetup lifecycle hooks |
| ๐ฆ Oxlint + Oxfmt | Rust-based linter & formatter โ 50โ100ร faster than ESLint + Prettier |
| ๐ Static Export | bini-export pre-renders every route with smart 404.html for GitHub Pages, Netlify, S3 |
// File-based routing โ create a file, get a route. That's it.
src/app/
โโโ page.tsx โ /
โโโ about.tsx โ /about
โโโ dashboard/
โ โโโ layout.tsx โ wraps /dashboard and all children
โ โโโ page.tsx โ /dashboard
โ โโโ [id]/page.tsx โ /dashboard/:id
โโโ api/
โโโ hello.ts โ /api/hello
โโโ posts/[id].ts โ /api/posts/:id
// API routes โ plain handler or full Hono app, same file
export default function handler(req: Request) {
return Response.json({ message: 'Hello from Bini.js!', ts: new Date().toISOString() });
}
// Pages โ auto-imported hooks, no import statements needed
export default function Dashboard() {
const [count, setCount] = useState(0); // โ no import needed
const { id } = useParams(); // โ no import needed
return <h1>Dashboard {id} โ {count}</h1>;
}| ๐ฆ Package | ๐ Description |
|---|---|
| ร bini-router | File-based routing, nested layouts, Hono API routes, 6 deploy platforms |
| ๐ฅ๏ธ bini-server | Zero-dependency production server โ ETag, timeouts, graceful shutdown |
| ๐จ bini-overlay | Animated dev badge + Shiki-highlighted error overlay |
| ๐ฟ bini-env | Zero-config env system + startup banner โ edge-safe |
| ๐ค bini-export | Static SPA export โ per-route pre-render, smart 404.html |
| ๐ ๏ธ create-bini-app | One-command scaffold โ TS/JS, Tailwind v4 / CSS Modules |
// vite.config.ts โ set platform once, build generates the correct entry
biniroute({ platform: 'netlify' }) // โ netlify/edge-functions/api.ts
biniroute({ platform: 'cloudflare' }) // โ worker.ts
biniroute({ platform: 'node' }) // โ server/index.ts
biniroute({ platform: 'deno' }) // โ server/index.ts
biniroute({ platform: 'bun' }) // โ server/index.ts
biniroute({ platform: 'aws' }) // โ handler.ts| ๐ Project | ๐ Description | ๐ ๏ธ Tech Stack | โญ Status |
|---|---|---|---|
| ร bini | Official Bini.js website & documentation | TypeScript, TailwindCSS, Bini.js | ๐ Live |
| ๐ ๏ธ bini-cli | CLI scaffolder + all ecosystem packages | TypeScript, Node.js, Vite, Hono | โ Active |
| ๐ bini-examples | Example projects & starter templates | TypeScript, TailwindCSS, Bini.js | ๐ฆ Growing |
| ๐ Project | ๐ Description | ๐ ๏ธ Tech Stack | โญ Status |
|---|---|---|---|
| ๐ฌ Movie-Party | Real-time synchronized movie watching with friends | HTML/JS + Node.js + Socket.io | ๐ฅ Active |
| ๐ฌ Bini-Chat | Minimalist real-time chat app | HTML/JS frontend + Rust backend | ๐ฌ Active |
| ๐น Hacknix-Meetings | Video conferencing with WebRTC | TypeScript, TailwindCSS, Next.js + WebRTC | ๐ฅ Active |
| ๐ง Tempmail | Disposable email service | HTML/CSS/JS + Rust backend | ๐ Beta |
| ๐ฌ Chatnix | Real-time collaborative code editor + live chat | TypeScript, TailwindCSS, Next.js + WebSocket | ๐งโ๐ป Active |
| ๐ Project | ๐ Description | ๐ ๏ธ Tech Stack | โญ Status |
|---|---|---|---|
| ๐ง Hummanize-AI | Makes AI-generated text sound natural & human | HTML/CSS/JS + Python backend | โ Active |
| ๐ค Humanizer | Web app for improving text readability | HTML/CSS/JS + Python backend | โ Active |
| ๐ผ๏ธ Wireframe-Generator | Screenshot โ editable wireframe converter | TypeScript, TailwindCSS, Next.js | โ Active |
| ๐ Readme-Generator | Auto-generates high-quality README.md files | TypeScript, Node.js, Next.js | ๐ Active |
| ๐ Sanidi | AI-powered love message generator, multi-language | JavaScript + Node.js | ๐ฆ Published |
| ๐ chat-love-analyzer | Analyzes WhatsApp chats for relationship trends | TypeScript, Node.js, Next.js | ๐ Active |
| ๐ง Jarvis | Smart Python-based OpenAI voice assistant | Python, OpenAI, Speech Recognition | ๐ค Evolving |
| ๐ Project | ๐ Description | ๐ ๏ธ Tech Stack | โญ Status |
|---|---|---|---|
| ๐ portfolio | Personal portfolio website | TypeScript, TailwindCSS, Next.js | ๐ Live |
| ๐ My-Portfolio | Alternate portfolio & web presence | TypeScript, TailwindCSS, Next.js | ๐ Live |
| ๐ Edu-Resources-Portal | Hub for model papers, notes & videos | TypeScript, TailwindCSS, Next.js | ๐ Active |
| ๐ฐ๏ธ wayback-peek | Inspect historical site snapshots via Wayback Machine | TypeScript, Node.js, Next.js | ๐ Active |
| ๐ ๏ธ Tool | ๐ Purpose | ๐ฏ Tech |
|---|---|---|
| ๐ฌ video-fetcher | Scrapes URLs to extract video content | Python (requests, BeautifulSoup) |
| ๐บ Screen-Share | Cross-platform screen sharing solution | Python/JS |
| ๐น Screen-Recorder | High-quality screen recording tool | Python/JS |
| ๐ต Audio-Visualizer | Real-time audio visualization with effects | JavaScript |
| ๐ Browser | Lightweight PyQt5-based privacy browser | Python + PyQt |
| ๐ Drop-Sync | Cloud storage solution like Google Drive | React, Firebase |
| ๐ Project | ๐ Description | ๐ ๏ธ Tech Stack | โญ Status |
|---|---|---|---|
| ๐๏ธ dbini | Zero-config NoSQL backend with REST API, full-text search, JSON storage & WebSockets | Python, Flask/FastAPI | ๐ง Active |
| ๐ Local-File-Share | Local network file sharing with QR codes | Python + Flask + Socket.io | โ Active |
| ๐ Project | ๐ Description | ๐ ๏ธ Tech Stack |
|---|---|---|
| ๐๏ธ Gym-Manegement | Gym management with member & event tracking | PHP + MySQL + HTML/CSS/JS |
| ๐ฅ Judo-system | Athlete and event management application | C# + .NET Framework |
| ๐ Bus-Reservation-System | Classic bus seat reservation app | Java + Swing |
| ๐งช Project | ๐ Description | |
|---|---|---|
| ๐ Ransomware | Educational cybersecurity demonstration | Security Research |
| ๐ฅ๏ธ Screen-Locker | System security learning tool | Educational |
| ๐ท Camera-mic-screen-share-location | Remote access/surveillance principles | Educational |
| ๐ Love-Graph | Relationship data visualization | Data Science |
๐ข Decode this sequence: 72 101 108 108 111 87 111 114 108 100
๐ก Hint: It's how computers say something very common!
๐ First to solve gets a โญ on their repo!
const goals2025 = {
framework: [
"ร Grow Bini.js to 1000+ GitHub Stars",
"๐ ๏ธ Build a Vercel adapter for Bini.js",
"๐ฆ Expand the official plugin ecosystem"
],
technical: [
"๐ค Master Advanced AI/ML Concepts",
"๐ Contribute to 50+ Open Source Projects",
"๐ Build 10 Production-Ready Apps"
],
personal: [
"๐ Share Knowledge through Blogging",
"๐จโ๐ซ Mentor Aspiring Developers",
"๐ค Speak at Tech Conferences"
],
impact: "๐ก Create tools that make developers' lives easier",
philosophy: "๐ฑ Code with purpose, build with passion"
};



