diff --git a/README.md b/README.md index 7c1e3590..d49e8977 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,22 @@ --- +## šŸ’– **Support Brainy's Development** + +
+ +**Brainy is 100% open source and free forever!** Help us keep it that way: + +[![Sponsor](https://img.shields.io/badge/šŸ’–_Sponsor_Brainy-Support_Development-ff69b4?style=for-the-badge)](https://github.com/sponsors/soulcraftlabs) +[![Brain Cloud](https://img.shields.io/badge/ā˜ļø_Try_Brain_Cloud-Free_Trial-4A90E2?style=for-the-badge)](https://app.soulcraft.com) +[![Star](https://img.shields.io/badge/⭐_Star_on_GitHub-Show_Support-FFC107?style=for-the-badge)](https://github.com/soulcraftlabs/brainy) + +**Every sponsorship helps us:** Build more features • Fix bugs faster • Keep Brainy free + +
+ +--- + ## šŸŽ‰ **NEW: Brainy 1.0 - The Unified API** **The Great Cleanup is complete!** Brainy 1.0 introduces the **unified API** - ONE way to do everything with just **9 core methods**: @@ -35,15 +51,15 @@ import { BrainyData, NounType, VerbType } from '@soulcraft/brainy' const brain = new BrainyData() await brain.init() -// šŸŽÆ THE 9 UNIFIED METHODS: -await brain.add("Smart data addition") // 1. Smart addition -await brain.search("smart data", 10) // 2. Vector search +// šŸŽÆ THE 9 UNIFIED METHODS - One way to do everything! +await brain.add("Smart data") // 1. Smart addition +await brain.search("query", 10) // 2. Unified search await brain.import(["data1", "data2"]) // 3. Bulk import -await brain.addNoun("John Doe", NounType.Person) // 4. Typed entities -await brain.addVerb(id1, id2, VerbType.CreatedBy) // 5. Relationships -await brain.update(id1, "Updated data") // 6. Smart updates +await brain.addNoun("John", NounType.Person) // 4. Typed entities +await brain.addVerb(id1, id2, VerbType.Knows) // 5. Relationships +await brain.update(id, "new data") // 6. Smart updates await brain.delete(id) // 7. Soft delete -brain.augment(myAugmentation) // 8. Add capabilities +brain.augment(myAugmentation) // 8. Extend capabilities await brain.export({ format: 'json' }) // 9. Export data ``` @@ -382,8 +398,24 @@ await neural.neuralImport('data.csv') // Automatically extracts entities & rela **Be the First!** Create an augmentation and we'll feature it here. [See how to build augmentations →](UNIFIED-API.md#creating-your-own-augmentation) -### ā˜ļø **Brain Cloud** (Optional Add-On) -🌟 **Brainy works perfectly without this!** Brain Cloud adds team features: +### ā˜ļø **Brain Cloud** - Power Up Your Brain! šŸš€ +**Try it FREE:** Get persistent memory, team sync, and enterprise connectors! + +```bash +# Quick setup - 30 seconds to superpowers! +npx brainy cloud setup + +# Or visit: app.soulcraft.com/signup +``` + +**Why Brain Cloud?** +- 🧠 **AI Memory That Never Forgets** - Conversations persist across sessions +- šŸ¤ **Multi-Agent Coordination** - AI agents work together seamlessly +- šŸ’¾ **Automatic Backups** - Never lose your brain's knowledge +- šŸ”„ **Team Sync** - Share knowledge across your organization +- šŸ”Œ **Premium Connectors** - Notion, Slack, Salesforce, and more! + +**Special Offer:** First 100GB FREE, then just $9/month for individuals, $49/team ```javascript // Brain Cloud features are in the main package diff --git a/bin/brainy.js b/bin/brainy.js index 3a26d79c..1c8fa5c7 100755 --- a/bin/brainy.js +++ b/bin/brainy.js @@ -1069,12 +1069,47 @@ program // Command 8: CLOUD - Premium features connection program .command('cloud ') - .description('Connect to Brain Cloud premium features') + .description('ā˜ļø Brain Cloud - AI Memory, Team Sync, Enterprise Connectors (FREE TRIAL!)') .option('-i, --instance ', 'Brain Cloud instance ID') + .option('-e, --email ', 'Your email for signup') .action(wrapAction(async (action, options) => { - console.log(colors.primary('ā˜ļø Brain Cloud Premium Features')) + console.log(boxen( + colors.brain('ā˜ļø BRAIN CLOUD - SUPERCHARGE YOUR BRAIN! šŸš€\n\n') + + colors.success('✨ FREE TRIAL: First 100GB FREE!\n') + + colors.info('šŸ’° Then just $9/month (individuals) or $49/month (teams)\n\n') + + colors.primary('Features:\n') + + colors.dim(' • AI Memory that persists across sessions\n') + + colors.dim(' • Multi-agent coordination\n') + + colors.dim(' • Automatic backups & sync\n') + + colors.dim(' • Premium connectors (Notion, Slack, etc.)'), + { padding: 1, borderStyle: 'round', borderColor: 'cyan' } + )) const cloudActions = { + setup: async () => { + console.log(colors.brain('\nšŸš€ Quick Setup - 30 seconds to superpowers!\n')) + + if (!options.email) { + const { email } = await prompts({ + type: 'text', + name: 'email', + message: 'Enter your email for FREE trial:', + validate: (value) => value.includes('@') || 'Please enter a valid email' + }) + options.email = email + } + + console.log(colors.success(`\nāœ… Setting up Brain Cloud for: ${options.email}`)) + console.log(colors.info('\nšŸ“§ Check your email for activation link!')) + console.log(colors.dim('\nOr visit: https://app.soulcraft.com/activate\n')) + + // TODO: Actually call Brain Cloud API when ready + console.log(colors.brain('šŸŽ‰ Your Brain Cloud trial is ready!')) + console.log(colors.success('\nNext steps:')) + console.log(colors.dim(' 1. Check your email for API key')) + console.log(colors.dim(' 2. Run: brainy cloud connect --key YOUR_KEY')) + console.log(colors.dim(' 3. Start using persistent AI memory!')) + }, connect: async () => { console.log(colors.info('šŸ”— Connecting to Brain Cloud...')) // Dynamic import to avoid loading premium code unnecessarily diff --git a/package.json b/package.json index 21b2b976..f979fc7e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soulcraft/brainy", - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "description": "Multi-Dimensional AI Database - Vector similarity, graph relationships, metadata facets with HNSW indexing and OPFS storage", "main": "dist/index.js", "module": "dist/index.js",