Brolostack 1.0 | Public Release Date: September 20, 2025 | NPM Version: 1.0.2
Brolostack is a local-first full-stack framework that operates entirely in the user's browser with optional cloud integration. It provides enterprise-grade capabilities including AI frameworks, zero-knowledge security, multi-provider authentication, and real-time communication while maintaining zero server costs for core functionality.
๐ Learn More: www.brolostack.com
๐ Documentation โข ๐ Quick Start โข ๐ก Examples โข ๐ค AI Framework โข ๐ Security โข ๐ก WebSocket โข โ๏ธ Cloud
- ๐ฏ Overview
- โจ Key Features
- ๐๏ธ Architecture
- ๐ Quick Start
- ๐ Documentation Guide
- ๐ค AI Integration
- ๐ Security Features
- ๐ก Real-Time Communication
- โ๏ธ Cloud Integration
- ๐ Performance Metrics
- ๐ Browser Compatibility
- ๐ Project Structure
- ๐งช Examples
- ๐ค Contributing
- ๐ License
Brolostack (Browser Local Stack) is a local-first full-stack framework that operates entirely in the user's browser with optional cloud integration. By leveraging browser storage as a persistent database, Brolostack eliminates server costs for core functionality while providing enterprise-grade capabilities including AI frameworks, security, authentication, and real-time communication.
graph TB
subgraph "๐ Browser Environment"
A[User Interface] --> B[Brolostack Core v1.0.2]
B --> C[Storage Layer]
B --> D[AI Framework]
B --> E[Security Layer]
B --> F[WebSocket Manager]
B --> G[Auth Manager]
C --> H[IndexedDB]
C --> I[localStorage]
C --> J[sessionStorage]
C --> K[Memory]
D --> L[BrolostackAIFramework]
D --> M[BrolostackBSDGF4AI]
D --> N[Reasoning Frameworks]
D --> O[Token Control]
E --> P[BrolostackDevil]
E --> Q[SecurityAuditor]
E --> R[Source Protection]
F --> S[WSMultiagent]
F --> T[WSClientside]
F --> U[ARGS Protocol]
G --> V[CIAM Providers]
G --> W[Session Management]
end
subgraph "โ๏ธ Optional Cloud (22 Providers)"
X[CloudBrolostack] --> Y[AWS/Azure/GCP]
X --> Z[MongoDB/Redis]
X --> AA[Enterprise Cloud]
end
B -.-> X
style A fill:#e1f5fe
style B fill:#f3e5f5
style D fill:#fff3e0
style E fill:#ffebee
style F fill:#e8f5e8
style G fill:#fce4ec
| Traditional Approach | Brolostack Approach |
|---|---|
| ๐ข Centralized servers | ๐ Browser-based storage |
| ๐ฐ Monthly hosting costs | ๐ Zero core costs |
| ๐ง Complex deployment | ๐ฆ Static deployment |
| ๐๏ธ Database management | ๐พ Browser storage |
| ๐ Server security concerns | ๐ก๏ธ Client-side privacy |
- Zero server costs - Core functionality requires no backend
- Offline-first - Works completely without internet connection
- Browser storage - Uses IndexedDB, localStorage, and memory
- Static deployment - Deploy to any static hosting service
- 18+ AI providers - OpenAI, Anthropic, Google, Azure, AWS, and more
- 4 reasoning frameworks - ReAct, Chain-of-Thought, Tree-of-Thoughts, Self-Consistency
- AI governance - 13 safety modules for responsible AI usage
- Token control - Cost management with 3 control levels
- Zero-knowledge encryption - Quantum-resistant security
- Source code protection - Multi-language obfuscation
- Self-evolving security - Dynamic encryption patterns
- Anti-debugging - Browser developer tools protection
- 9 CIAM providers - Auth0, Microsoft Entra ID, Amazon Cognito, etc.
- Hybrid authentication - Combine Brolostack with third-party providers
- Session management - Cross-provider synchronization
- MFA support - Multi-factor authentication integration
- WebSocket framework - BrolostackWSMultiagent and BrolostackWSClientside
- ARGS protocol - Agent Real-time Governance & Streaming
- Backend integration - Node.js and Python integration utilities
- Environment-aware - Automatic optimization per environment
- 22 cloud providers - AWS, Azure, GCP, MongoDB Atlas, Redis Cloud, etc.
- Local-first design - Cloud sync is completely optional
- Multi-cloud support - Use multiple providers simultaneously
- Conflict resolution - Multiple strategies for data conflicts
- Author: Olu Akinnawo
- Department: Technology & Innovation
- Owner: Beunec Technologies, Inc.
- License: MIT
- Github Repository: https://github.com/Beunec/brolostack
graph LR
subgraph "๐ฏ Frontend Applications"
A1[React Apps]
A2[TypeScript Apps]
A3[Vanilla JS Apps]
A4[PWAs]
end
subgraph "๐ง Brolostack Core v1.0.2"
B1[Brolostack Class]
B2[EnhancedBrolostack]
B3[CloudBrolostack]
B4[Environment Manager]
end
subgraph "๐พ Storage & State"
C1[LocalStorageAdapter]
C2[IndexedDBAdapter]
C3[SessionStorageAdapter]
C4[MemoryAdapter]
C5[Store Management]
end
subgraph "๐ค AI Framework"
D1[BrolostackAIFramework]
D2[BrolostackBSDGF4AI]
D3[ReAct/CoT/ToT/CoTSC]
D4[Token Control]
D5[18+ AI Providers]
end
subgraph "๐ Security Framework"
E1[BrolostackDevil]
E2[SecurityAuditor]
E3[Source Protection]
E4[Zero-Knowledge Encryption]
end
subgraph "๐ก Real-Time Framework"
F1[BrolostackWSMultiagent]
F2[BrolostackWSClientside]
F3[ARGS Protocol]
F4[Backend Integration]
end
subgraph "๐ Authentication"
G1[AuthManager]
G2[9 CIAM Providers]
G3[Hybrid/Tribrid Auth]
G4[Session Management]
end
subgraph "โ๏ธ Cloud Integration (22 Providers)"
H1[AWS/Azure/GCP]
H2[MongoDB/Redis]
H3[Enterprise Cloud]
H4[Edge Computing]
end
A1 --> B1
A2 --> B1
A3 --> B1
A4 --> B1
B1 --> C1
B2 --> D1
B3 --> E1
B4 --> F1
B1 --> G1
B3 -.-> H1
style A1 fill:#e3f2fd
style B1 fill:#f3e5f5
style D1 fill:#fff3e0
style E1 fill:#ffebee
style F1 fill:#e8f5e8
style G1 fill:#fce4ec
style H1 fill:#f9fbe7
sequenceDiagram
participant U as User
participant A as Application
participant B as Brolostack Core v1.0.2
participant S as Storage Layer
participant AI as AI Framework
participant SEC as Security (Devil)
participant WS as WebSocket
participant CLOUD as Cloud (Optional)
U->>A: User Action
A->>B: State Update Request
B->>SEC: Security Check
SEC-->>B: Validated
B->>S: Persist Data
S-->>B: Storage Confirmation
B->>AI: Update AI Memory
AI-->>B: Memory Updated
B->>WS: Real-time Update
B->>CLOUD: Sync (if enabled)
B-->>A: State Updated
A-->>U: UI Updated
Note over B,S: Local-First Operations
Note over B,AI: AI Governance & Memory
Note over B,SEC: Zero-Knowledge Security
Note over B,CLOUD: Optional Cloud Sync
๐ฆ View on npm
# Install Brolostack
npm install brolostack
# Or with yarn
yarn add brolostack
# Or with pnpm
pnpm add brolostackimport { Brolostack } from 'brolostack';
// Initialize the framework
const app = new Brolostack({
appName: 'my-awesome-app',
version: '1.0.2'
});
// Create a data store
const userStore = app.createStore('users', {
users: [],
currentUser: null,
// Actions
addUser: (user) => set(state => ({
users: [...state.users, user]
})),
removeUser: (id) => set(state => ({
users: state.users.filter(u => u.id !== id)
})),
setCurrentUser: (user) => set(state => ({
currentUser: user
}))
});
// Initialize the app
await app.initialize();
// Use the store
const users = userStore.getState().users;
const addUser = userStore.getState().addUser;import { BrolostackProvider, useBrolostack } from 'brolostack/react';
function App() {
return (
<BrolostackProvider
appName="my-awesome-app"
config={{
version: '1.0.2',
storage: {
engine: 'indexedDB',
name: 'my-app-storage',
version: 1
}
}}
>
<MyApplication />
</BrolostackProvider>
);
}
// Use Brolostack in components
function UserList() {
const { stores } = useBrolostack();
const userStore = stores.get('users');
const users = userStore?.getState().users || [];
return (
<div>
{users.map(user => (
<div key={user.id}>
{user.name} - {user.email}
</div>
))}
</div>
);
}import { BrolostackAIFramework } from 'brolostack';
// Initialize AI framework with governance
const aiFramework = new BrolostackAIFramework({
provider: {
name: 'openai',
apiKey: 'your-api-key',
model: 'gpt-4'
},
reasoning: {
framework: 'cot' // Chain-of-Thought reasoning
},
governance: {
enabled: true,
config: {
hallucination: { enabled: true, threshold: 0.8 },
toxicLanguage: { enabled: true, strictMode: true },
bias: { enabled: true, categories: ['gender', 'race'] }
}
},
tokenUsage: {
controlLevel: 'strict',
limits: {
maxInputTokens: 4000,
maxOutputTokens: 2000
}
}
});
// Process query with AI governance
const result = await aiFramework.processQuery('Analyze this data', {
data: userStore.getState().users,
context: 'user management analysis'
});
console.log('AI Response:', result.response);
console.log('Safety Score:', result.governance.safetyScore);| Documentation | Description | Level | Link |
|---|---|---|---|
| Getting Started | 5-minute setup guide | Beginner | ๐ Read |
| AI Framework | Complete AI integration guide | Intermediate | ๐ค Read |
| Security Framework | Zero-knowledge security guide | Advanced | ๐ Read |
| WebSocket Framework | Real-time communication guide | Intermediate | ๐ก Read |
| Cloud Integration | Optional cloud services guide | Advanced | โ๏ธ Read |
| Authentication | CIAM and multi-provider auth | Advanced | ๐ Read |
| Backend Integration | Node.js and Python integration | Advanced | ๐ง Read |
| Enterprise Features | Complete enterprise capabilities | Expert | ๐ข Read |
| Framework Status | Current implementation status | Reference | ๐ Read |
graph LR
A[๐ Getting Started] --> B[๐ค AI Framework]
A --> C[๐ Security Framework]
A --> D[๐ก WebSocket Framework]
B --> E[โ๏ธ Cloud Integration]
C --> E
D --> E
E --> F[๐ Authentication]
F --> G[๐ข Enterprise Features]
style A fill:#e3f2fd
style B fill:#fff3e0
style C fill:#f3e5f5
style D fill:#e8f5e8
style E fill:#fce4ec
style F fill:#e1f5fe
style G fill:#f9fbe7
| Use Case | Recommended Reading | Time Investment |
|---|---|---|
| Personal Projects | Getting Started โ Examples | 30 minutes |
| AI Applications | Getting Started โ AI Framework โ Security | 2 hours |
| Enterprise Apps | All Core Docs โ Enterprise Features | 4 hours |
| Real-Time Apps | Getting Started โ WebSocket โ Backend Integration | 3 hours |
| Secure Applications | Security Framework โ Authentication โ Enterprise | 3 hours |
Brolostack includes a comprehensive AI framework with multiple reasoning patterns and safety governance.
graph TD
A[User Query] --> B{Choose Framework}
B --> C[ReAct: Reason + Act]
B --> D[CoT: Chain-of-Thought]
B --> E[ToT: Tree-of-Thoughts]
B --> F[CoT-SC: Self-Consistency]
C --> G[Step-by-step reasoning with actions]
D --> H[Logical step progression]
E --> I[Multiple reasoning paths]
F --> J[Multiple attempts for accuracy]
G --> K[AI Governance Check]
H --> K
I --> K
J --> K
K --> L[Safe, Governed Response]
style A fill:#e3f2fd
style K fill:#f3e5f5
style L fill:#e8f5e8
| Safety Module | Description | Purpose |
|---|---|---|
| Hallucination Detection | Identifies false AI claims | Accuracy |
| Jailbreak Prevention | Blocks prompt injection attacks | Security |
| Toxic Language Filter | Removes harmful content | Safety |
| Bias Detection | Identifies unfair responses | Fairness |
| Privacy Protection | Detects PII exposure | Privacy |
| Context Drift | Monitors conversation coherence | Quality |
| Industry Readiness | Domain-specific validation | Compliance |
graph LR
A[User Input] --> B[Token Estimation]
B --> C{Control Level}
C -->|Basic| D[Flexible Limits]
C -->|Strict| E[Exact Limits]
C -->|Advanced| F[90% Limits]
D --> G[Process Request]
E --> G
F --> G
G --> H[Monitor Usage]
H --> I{Limit Exceeded?}
I -->|No| J[Continue]
I -->|Yes| K[Auto Cutoff]
style A fill:#e3f2fd
style C fill:#fff3e0
style K fill:#ffebee
Brolostack Devil provides comprehensive security with zero-knowledge encryption and source code protection.
graph TB
A[User Data] --> B[Devil Encryption]
B --> C[Zero-Knowledge Keys]
B --> D[Quantum-Resistant Algorithms]
B --> E[Self-Evolving Patterns]
F[Source Code] --> G[Multi-Language Obfuscation]
G --> H[Variable Renaming]
G --> I[Control Flow Flattening]
G --> J[String Encryption]
K[Browser Environment] --> L[Anti-Debugging]
L --> M[DevTools Detection]
L --> N[Code Protection]
style A fill:#e3f2fd
style B fill:#f3e5f5
style G fill:#fff3e0
style L fill:#ffebee
| Feature | Description | Protection Level |
|---|---|---|
| Zero-Knowledge Encryption | Keys never leave client | Maximum |
| Quantum-Resistant | Future-proof algorithms | Maximum |
| Source Code Obfuscation | Multi-language protection | High |
| Anti-Debugging | DevTools protection | High |
| Self-Evolving Security | Dynamic patterns | Maximum |
Brolostack includes advanced WebSocket capabilities with the ARGS protocol for multi-agent coordination.
graph LR
subgraph "Client Side"
A[BrolostackWSClientside]
B[Message Queue]
C[Room Management]
end
subgraph "Server Side"
D[BrolostackWSMultiagent]
E[ARGS Protocol]
F[Agent Coordination]
end
subgraph "Backend Integration"
G[Node.js Integration]
H[Python Integration]
end
A <--> D
B <--> E
C <--> F
D --> G
D --> H
style A fill:#e3f2fd
style D fill:#f3e5f5
style G fill:#e8f5e8
| Message Type | Purpose | Use Case |
|---|---|---|
| AGENT_REGISTER | Register new agents | Multi-agent setup |
| TASK_START | Begin collaborative task | Task coordination |
| COLLABORATION_REQUEST | Agent-to-agent communication | Agent collaboration |
| STREAM_DATA | Real-time data streaming | Live updates |
| HEARTBEAT | Connection monitoring | System health |
| Metric | Value | Description |
|---|---|---|
| Bundle Size | 319KB | Main framework bundle |
| React Bundle | 328KB | React integration bundle |
| Dependencies | 4 packages | Minimal, secure dependencies |
| TypeScript Support | 100% | Complete type coverage |
| Build Time | ~60 seconds | Full framework build |
| Storage Type | Capacity | Speed | Persistence |
|---|---|---|---|
| IndexedDB | ~1GB+ | Fast | Permanent |
| localStorage | ~10MB | Very Fast | Permanent |
| sessionStorage | ~10MB | Very Fast | Session Only |
| Memory | RAM Limited | Instant | Temporary |
| Application Type | Bundle Impact | Typical Storage | Load Performance |
|---|---|---|---|
| Basic App | +319KB | 1-5MB | < 100ms |
| AI App | +328KB | 10-50MB | < 200ms |
| Enterprise App | +350KB | 50-200MB | < 300ms |
| Multi-Cloud App | +400KB | 100-500MB | < 500ms |
| Browser | Version | IndexedDB | localStorage | sessionStorage | Private Mode | Status |
|---|---|---|---|---|---|---|
| Chrome | 60+ | โ | โ | โ | โ | ๐ข Full Support |
| Firefox | 55+ | โ | โ | โ | โ | ๐ข Full Support |
| Safari | 12+ | โ | โ | โ | โ | ๐ข Full Support |
| Edge | 79+ | โ | โ | โ | โ | ๐ข Full Support |
| Brave | 1.0+ | โ | โ | โ | โ | ๐ข Full Support |
| DuckDuckGo | 7.0+ | โ | โ | โ | โ | ๐ข Full Support |
| Opera | 47+ | โ | โ | โ | โ | ๐ข Full Support |
graph TD
A[Private Mode Detection] --> B{Storage Available?}
B -->|Yes| C[Use sessionStorage]
B -->|No| D[Use Memory Storage]
C --> E[Graceful Degradation]
D --> E
E --> F[Application Works]
style A fill:#e3f2fd
style C fill:#e8f5e8
style D fill:#fff3e0
style F fill:#e8f5e8
| Platform | iOS | Android | Windows Mobile | Status |
|---|---|---|---|---|
| Safari Mobile | 12+ | - | - | ๐ข Full Support |
| Chrome Mobile | - | 60+ | - | ๐ข Full Support |
| Firefox Mobile | - | 55+ | - | ๐ข Full Support |
| Edge Mobile | - | - | 79+ | ๐ข Full Support |
Brolostack provides optional cloud integration while maintaining its local-first architecture. Cloud adapters enable data synchronization, backup, and multi-device access.
graph TB
subgraph "Major Cloud Providers"
A[AWS]
B[Microsoft Azure]
C[Google Cloud]
end
subgraph "Database Cloud"
D[MongoDB Atlas]
E[Redis Cloud]
end
subgraph "Edge Computing"
F[Cloudflare]
G[CoreWeave]
end
subgraph "Enterprise Cloud"
H[IBM Cloud]
I[Oracle Cloud]
J[SAP Cloud]
end
K[Brolostack App] --> A
K --> B
K --> C
K --> D
K --> E
K --> F
K --> G
K --> H
K --> I
K --> J
style K fill:#e3f2fd
style A fill:#fff3e0
style D fill:#e8f5e8
style F fill:#f3e5f5
style H fill:#fce4ec
graph TB
subgraph "๐ Local Brolostack"
A[Browser Storage]
B[Local AI Memory]
C[Event System]
end
subgraph "โ๏ธ Cloud Adapters"
D[AWS S3]
E[Google Cloud Storage]
F[Azure Blob]
G[MongoDB Atlas]
H[Redis Cloud]
I[Firebase]
end
A -.-> D
A -.-> E
A -.-> F
B -.-> G
B -.-> H
C -.-> I
style A fill:#e8f5e8
style D fill:#fff3e0
style E fill:#e3f2fd
style F fill:#f3e5f5
import { CloudBrolostack } from 'brolostack';
// Initialize with multi-cloud integration
const cloudApp = new CloudBrolostack({
appName: 'my-cloud-app',
version: '1.0.2',
cloud: {
enabled: true,
adapters: [
{
name: 'aws',
provider: 'aws',
config: {
region: 'us-east-1',
accessKeyId: 'your-key',
secretAccessKey: 'your-secret'
},
enabled: true,
priority: 1
},
{
name: 'mongodb',
provider: 'mongodb',
config: {
connectionString: 'mongodb://your-cluster'
},
enabled: true,
priority: 2
}
],
syncStrategy: 'local-first',
conflictResolution: 'client-wins',
autoSync: true,
syncInterval: 60000 // 1 minute
}
});
// Initialize cloud integration
await cloudApp.initializeCloudIntegration();
// Manual operations available
await cloudApp.syncToCloud();
await cloudApp.backupToCloud();| Feature | Local Only | Cloud Integrated | Multi-Cloud |
|---|---|---|---|
| Server Costs | $0 | $0 (client-side) | $0 (client-side) |
| Cloud Storage | None | Provider-specific | Multiple providers |
| Data Access | Instant | Local + Sync | Local + Multi-Sync |
| Offline Support | Full | Full | Full |
| Multi-Device | No | Yes | Yes |
| Collaboration | Single User | Multi-User | Multi-User |
| Backup | Manual Export | Automatic | Multi-Provider |
graph LR
subgraph "๐ค AI Memory Architecture"
A[User Input] --> B[AI Agent]
B --> C[Memory Storage]
C --> D[Context Retrieval]
D --> E[Enhanced Response]
F[Memory Types] --> G[Conversation]
F --> H[Knowledge]
F --> I[Preferences]
F --> J[Context]
G --> C
H --> C
I --> C
J --> C
end
style A fill:#e3f2fd
style B fill:#f3e5f5
style C fill:#e8f5e8
style D fill:#fff3e0
style E fill:#e8f5e8
| Component | Description | Implementation Status |
|---|---|---|
| BrolostackAIFramework | Main AI coordination system | โ Complete |
| BrolostackBSDGF4AI | 13 safety governance modules | โ Complete |
| 4 Reasoning Frameworks | ReAct, CoT, ToT, CoT-SC | โ Complete |
| Token Usage Control | 3-level cost management | โ Complete |
| 18+ AI Providers | Unified provider interface | โ Complete |
| React Integration | AI hooks and components | โ Complete |
import { BrolostackAIFramework, BrolostackBSDGF4AI } from 'brolostack';
// Initialize AI framework with complete governance
const aiFramework = new BrolostackAIFramework({
provider: {
name: 'openai',
apiKey: 'your-api-key',
model: 'gpt-4'
},
reasoning: { framework: 'cot' },
governance: {
enabled: true,
config: {
hallucination: { enabled: true, threshold: 0.8 },
toxicLanguage: { enabled: true },
bias: { enabled: true },
privacy: { enabled: true }
}
},
tokenUsage: {
controlLevel: 'strict',
limits: { maxInputTokens: 4000, maxOutputTokens: 2000 }
}
});
// Process query with reasoning and governance
const result = await aiFramework.processQuery(
'Analyze user behavior patterns',
{ data: userStore.getState().users }
);
// Access reasoning steps and safety scores
console.log('Reasoning:', result.reasoning);
console.log('Safety Score:', result.governance.safetyScore);
console.log('Token Usage:', result.tokenUsage);๐ฆ brolostack/ (v1.0.2)
โโโ ๐ LICENSE # MIT License
โโโ ๐ README.md # This file
โโโ ๐ SECURITY.md # Security policy
โโโ ๐ package.json # Package configuration (v1.0.2)
โโโ ๐ tsconfig.json # TypeScript configuration
โโโ ๐ rollup.config.js # Build configuration
โ
โโโ ๐ src/ # Source code
โ โโโ ๐ core/ # Core framework
โ โ โโโ ๐ Brolostack.ts # Main framework class
โ โ โโโ ๐ EnhancedBrolostack.ts # Enhanced features
โ โ โโโ ๐ CloudBrolostack.ts # Cloud integration
โ โ โโโ ๐ EnvironmentManager.ts # Environment management
โ โ
โ โโโ ๐ ai/ # AI framework (Complete)
โ โ โโโ ๐ BrolostackAIFramework.ts # Main AI framework
โ โ โโโ ๐ governance/ # AI governance
โ โ โ โโโ ๐ BrolostackBSDGF4AI.ts # 13 safety modules
โ โ โโโ ๐ argprotocol/ # 4 reasoning frameworks
โ โ โ โโโ ๐ BrolostackReAcT.ts
โ โ โ โโโ ๐ BrolostackCoT.ts
โ โ โ โโโ ๐ BrolostackToT.ts
โ โ โ โโโ ๐ BrolostackCoTSC.ts
โ โ โโโ ๐ providers/ # 18+ AI providers
โ โ
โ โโโ ๐ security/ # Security framework (Devil)
โ โ โโโ ๐ BrolostackDevil.ts # Zero-knowledge security
โ โ โโโ ๐ BrolostackDevilSourceCode.ts # Source protection
โ โ โโโ ๐ SecurityAuditor.ts # Security auditing
โ โ
โ โโโ ๐ auth/ # Authentication (CIAM)
โ โ โโโ ๐ AuthManager.ts # 9 CIAM providers + hybrid auth
โ โ
โ โโโ ๐ realtime/ # Real-time communication
โ โ โโโ ๐ BrolostackWSMultiagent.ts # Server-side WebSocket
โ โ โโโ ๐ BrolostackWSClientside.ts # Client-side WebSocket
โ โ โโโ ๐ WebSocketManager.ts # WebSocket management
โ โ โโโ ๐ protocols/
โ โ โโโ ๐ ARGSProtocol.ts # Agent protocol
โ โ
โ โโโ ๐ cloud/ # Cloud integration (22 providers)
โ โ โโโ ๐ CloudBrolostack.ts
โ โ โโโ ๐ providers/ # AWS, Azure, GCP, MongoDB, etc.
โ โ
โ โโโ ๐ react/ # React integration (Complete)
โ โ โโโ ๐ BrolostackProvider.tsx # Main provider
โ โ โโโ ๐ BrolostackAIProvider.tsx # AI provider
โ โ โโโ ๐ BrolostackCIAMProvider.tsx # Auth provider
โ โ โโโ ๐ BrolostackDevilProvider.tsx # Security provider
โ โ โโโ ๐ useTokenUsage.tsx # Token control hook
โ โ
โ โโโ ๐ index.ts # Main entry point (357 exports)
โ
โโโ ๐ docs/ # Comprehensive documentation
โ โโโ ๐ GETTING_STARTED.md # 5-minute setup guide
โ โโโ ๐ BROLOSTACK_AI_FRAMEWORK.md # AI framework guide
โ โโโ ๐ BROLOSTACK_DEVIL_SECURITY_FRAMEWORK.md # Security guide
โ โโโ ๐ BROLOSTACK_WEBSOCKET_FRAMEWORK.md # WebSocket guide
โ โโโ ๐ BROLOSTACK_CIAM_INTEGRATION_COMPLETE.md # Auth guide
โ โโโ ๐ BROLOSTACK_CLOUD_INTEGRATION_IMPLEMENTATION.md # Cloud guide
โ โโโ ๐ BROLOSTACK_BACKEND_INTEGRATION.md # Backend integration
โ โโโ ๐ BROLOSTACK_FRAMEWORK_STATUS.md # Framework status
โ
โโโ ๐ examples/ # Working examples (7 complete examples)
โ โโโ ๐ ai-framework-showcase/ # AI framework demo
โ โโโ ๐ devil-security-showcase/ # Security demo
โ โโโ ๐ websocket-showcase/ # WebSocket demo
โ โโโ ๐ ciam-showcase/ # Authentication demo
โ โโโ ๐ token-usage-showcase/ # Token control demo
โ โโโ ๐ environment-showcase/ # Environment demo
โ โโโ ๐ enterprise-multi-provider/ # Complete enterprise setup
โ
โโโ ๐ dist/ # Built packages
โ โโโ ๐ index.js # UMD build (319KB)
โ โโโ ๐ index.esm.js # ES module build (319KB)
โ โโโ ๐ index.d.ts # TypeScript definitions (310KB)
โ โโโ ๐ react.js # React UMD build (328KB)
โ โโโ ๐ react.esm.js # React ES module build (328KB)
โ โโโ ๐ react.d.ts # React TypeScript definitions (6KB)
โ
โโโ ๐ scripts/ # Utility scripts
โโโ ๐ production-check.js # Production readiness validation
โโโ ๐ validate-docs.js # Documentation quality check
โโโ ๐ update-docs.js # Documentation maintenance
| Example | Features Demonstrated | Complexity | Documentation |
|---|---|---|---|
| AI Framework Showcase | AI reasoning, governance, token control | โญโญโญ | ๐ Guide |
| Devil Security Showcase | Zero-knowledge encryption, source protection | โญโญโญโญ | ๐ Guide |
| WebSocket Showcase | Real-time communication, ARGS protocol | โญโญโญ | ๐ก Guide |
| CIAM Showcase | Multi-provider authentication | โญโญโญ | ๐ Guide |
| Token Usage Showcase | AI cost control and monitoring | โญโญ | ๐ฐ Guide |
| Environment Showcase | Environment-aware configuration | โญโญ | ๐ Guide |
| Enterprise Multi-Provider | Complete enterprise setup | โญโญโญโญ | ๐ข Guide |
graph TD
A[Choose Your Path] --> B[๐ฏ Basic Usage]
A --> C[๐ค AI Applications]
A --> D[๐ Secure Applications]
A --> E[๐ก Real-Time Applications]
A --> F[โ๏ธ Cloud Applications]
B --> G[Todo App Example]
C --> H[AI Framework Showcase]
D --> I[Devil Security Showcase]
E --> J[WebSocket Showcase]
F --> K[Enterprise Multi-Provider]
style A fill:#e3f2fd
style B fill:#e8f5e8
style C fill:#fff3e0
style D fill:#f3e5f5
style E fill:#fce4ec
style F fill:#e1f5fe
import { Brolostack } from 'brolostack';
// Initialize app
const app = new Brolostack({
appName: 'todo-app',
version: '1.0.2'
});
// Create todo store
const todoStore = app.createStore('todos', {
todos: [],
filter: 'all',
addTodo: (text) => set(state => ({
todos: [...state.todos, {
id: Date.now(),
text,
completed: false,
createdAt: new Date()
}]
})),
toggleTodo: (id) => set(state => ({
todos: state.todos.map(todo =>
todo.id === id ? { ...todo, completed: !todo.completed } : todo
)
})),
setFilter: (filter) => set(state => ({ filter }))
});
// Use in components
function TodoApp() {
const todos = todoStore.useStore(state => state.todos);
const filter = todoStore.useStore(state => state.filter);
const addTodo = todoStore.useStore(state => state.addTodo);
return (
<div>
<input
onKeyPress={(e) => {
if (e.key === 'Enter') {
addTodo(e.target.value);
e.target.value = '';
}
}}
placeholder="Add a todo..."
/>
{todos.map(todo => (
<div key={todo.id}>
<input
type="checkbox"
checked={todo.completed}
onChange={() => toggleTodo(todo.id)}
/>
{todo.text}
</div>
))}
</div>
);
}gantt
title Brolostack v1.0.2 Development Status
dateFormat YYYY-MM-DD
section Core Framework v1.0.2
Core Framework :done, core1, 2025-07-01, 2025-09-20
AI Framework :done, ai1, 2025-08-01, 2025-09-20
Security Framework :done, sec1, 2025-08-15, 2025-09-20
WebSocket Framework :done, ws1, 2025-09-01, 2025-09-20
section Enterprise Features
Authentication (CIAM) :done, auth1, 2025-09-05, 2025-09-20
Cloud Integration :done, cloud1, 2025-09-10, 2025-09-20
Environment Management :done, env1, 2025-09-15, 2025-09-20
Production Ready :done, prod1, 2025-09-20, 2025-09-20
section Future Development
Performance Optimization :active, perf1, 2025-10-01, 2025-12-31
Additional Providers :future, prov1, 2026-01-01, 2026-03-31
Mobile Integration :future, mobile1, 2026-04-01, 2026-06-30
| Version | Timeframe | Focus Areas |
|---|---|---|
| v1.0.3 | Q4 2025 | Performance optimizations, bug fixes |
| v1.1.0 | Q1 2026 | Enhanced AI capabilities, additional providers |
| v1.2.0 | Q2 2026 | Advanced cloud features, improved sync |
| v2.0.0 | Q3 2026 | Architecture improvements, plugin system |
- Performance: Bundle size optimization, faster initialization
- AI: Additional reasoning frameworks, improved governance
- Cloud: More provider adapters, enhanced sync strategies
- Mobile: React Native integration, mobile optimizations
- Developer Experience: Enhanced tooling, better debugging
We welcome contributions from the community! Here's how you can help:
# Clone the repository
git clone https://github.com/Beunec/brolostack.git
cd brolostack
# Install dependencies
npm install
# Start development
npm run dev
# Run tests
npm test
# Build the project
npm run build| Type | Description | Process |
|---|---|---|
| ๐ Bug Reports | Report issues and bugs | Use GitHub Issues |
| ๐ก Feature Requests | Suggest new features | Use GitHub Discussions |
| ๐ Documentation | Improve docs and examples | Submit PRs |
| ๐งช Testing | Add tests and improve coverage | Submit PRs |
| ๐ง Code | Fix bugs, add features | Submit PRs |
Contributors will be recognized in:
- ๐ README.md contributors section
- ๐ GitHub contributors page
- ๐ง Monthly contributor newsletter
- ๐ Special contributor rewards
pie title Brolostack Usage Statistics
"Personal Projects" : 45
"Enterprise Apps" : 25
"AI Applications" : 15
"SaaS Platforms" : 10
"Research Tools" : 5
- Department: Technology & Innovation
- Role: Neo Cloud R&D Lead
- Company: Beunec Technologies, Inc.
- Overview: Beunec is a future-of-work research and deployment company that creates intelligent environments for collaboration between people, agents, and systems, focusing on productivity, ethics, and unified digital identity.
- Vision: To be world leading future-of-work organization.
- Mission: Intelligent work, agentic collaboration, ethical innovation, digital identity.
Brolostack was conceived and developed in the THINKUNIQ Lab, a cutting-edge remote-based R&D work environment under the Technology & Innovation Department at Beunec Technologies, Inc. This project represents our commitment to pushing the boundaries of what's possible in web development.
| Support Channel | Response Time | Best For |
|---|---|---|
| ๐ Documentation | Instant | Learning, reference |
| ๐ GitHub Issues | 24-48 hours | Bug reports, feature requests |
| ๐ฌ GitHub Discussions | 12-24 hours | Questions, community help |
| ๐ง Email Support | 24-72 hours | Enterprise support |
| ๐ผ Enterprise Support | 4-8 hours | Priority support |
- ๐ Complete Documentation - Comprehensive guides and API reference
- ๐ Quick Start Guide - Get started in 5 minutes
- ๐ก Example Applications - Real-world implementation examples
- ๐ฅ Video Tutorials - Step-by-step video guides
- ๐ฐ Blog Posts - Latest updates and insights
Join/Follow/Subscribe our Community for the Latest Updates:
- ๐ผ LinkedIn - Professional updates and networking
- ๐บ YouTube - Tutorials, demos, and tech insights
- ๐ธ Instagram (Beunec) - Behind-the-scenes and company culture
- โ๏ธ Instagram (Beunec Cloud) - Cloud technology updates
- ๐ Instagram (Beunec Daily) - Daily tech news and updates
- ๐งต Threads - Real-time discussions and updates
- ๐ฆ Twitter - Latest announcements and tech news
- ๐ผ Crunchbase - Company profile and funding info
- ๐ป GitHub - Open source projects and contributions
- ๐ต TikTok - Quick tech tips and fun content
This project is licensed under the MIT License - see the LICENSE file for details.
| Permission | Description |
|---|---|
| โ Commercial Use | Use in commercial projects |
| โ Modification | Modify and adapt the code |
| โ Distribution | Distribute copies |
| โ Private Use | Use in private projects |
| โ Liability | No warranty or liability |
| โ Warranty | No warranty provided |
