π ONE - Build Your AI-Powered Brand
Create valuable conversations that grow exponentially. Build AI brands that thrive on authentic relationships.
ONE is a revolutionary platform that transforms how people build and grow AI-powered businesses. Instead of traditional βjoin our platformβ approaches, ONE enables you to create valuable content and build genuine relationships that drive exponential growth.
π What Makes ONE Different
π― Viral Conversations, Not Platform Invitations
Create valuable content (strategies, frameworks, playbooks) and our AI agents help you share it with the right people. Each conversation creates more value, driving authentic viral growth.
π€ Your Personal AI Team
Six specialized AI agents work together to amplify your expertise:
- Marketing Agent - Content creation, campaign strategy, brand building
- Sales Agent - Lead qualification, outreach automation, deal closing
- Service Agent - Customer support, satisfaction tracking, issue resolution
- Design Agent - UI/UX creation, visual branding, content design
- Legal Agent - Contract review, compliance checking, documentation
- Engineering Agent - Technical implementation, automation, integrations
πΌ Multiple Business Models
- Expert Networks - Build high-value mastermind communities
- Educational Empires - Create and sell courses with AI delivery
- Service Marketplaces - Offer AI-powered services at scale
π Built on Modern Tech
- β‘ Blazing Fast: Astro + React for optimal performance
- π¨ Beautiful UI: Shadcn/UI + Novu notification components
- π€ 300+ Integrations: Nango for seamless API connections
- π Real-time Data: Convex for reactive backends
- π Enterprise Ready: Full TypeScript, testing, security
β‘ Quick Start
This guide will help you set up and start building AI-powered applications with ONE. ONE combines Astro, React, and modern AI capabilities to create intelligent web applications.
π How It Works
1. Create Something Valuable
Document your expertise - a growth strategy, technical framework, or business playbook that showcases your unique knowledge.
2. AI Analyzes & Amplifies
Our AI agents analyze your content for value, identify ideal collaborators, and craft personalized invitations that focus on mutual benefit.
3. Start Valuable Conversations
Share with 3-5 carefully selected people who would genuinely benefit. Each person gets value and naturally wants to share their own expertise.
4. Exponential Growth
Each conversation spawns more valuable connections. Your network grows authentically through real value exchange, not empty invitations.
5. Monetize Your Expertise
As your community grows, monetize through courses, consulting, masterminds, or AI-powered services - all managed by your AI team.
Prerequisites
Before you begin, ensure you have:
- Node.js 20 or higher installed
- pnpm package manager (
npm install -g pnpm
) - API keys for AI services (Claude, OpenAI via
.env
) - Basic knowledge of TypeScript and React
Quick Start
1. Get the Project π
Choose your preferred way to get started with ONE:
π¦ Option 1: Clone the Repository
git clone https://github.com/one-ie/one.git
cd one
πΎ Option 2: Download ZIP
- Download the ZIP file: Download ONE
- Extract the contents
- Navigate to the project directory
π Option 3: Fork the Repository
- Visit the Fork page
- Create your fork
- Clone your forked repository
βοΈ Quick Start with GitHub Codespaces
Click the button above to instantly start developing in a cloud environment.
2. Install Dependencies
# Navigate to project directory
cd one
# Install dependencies
pnpm install
3. Configure Environment Variables
Copy .env.example
to .env
and add your API keys:
# AI Services (Required)
OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_claude_key
OPENROUTER_API_KEY=your_openrouter_key
# Integrations
NANGO_SECRET_KEY=your_nango_secret
NANGO_PUBLIC_KEY=your_nango_public
NOVU_API_KEY=your_novu_key
# Database
CONVEX_DEPLOYMENT=your_convex_deployment
VITE_CONVEX_URL=your_convex_url
See Environment Variables Guide for complete setup.
4. Start Development Server
pnpm dev
Visit http://localhost:4321
to see your application running.
Project Structure
one/
βββ src/
β βββ components/ # UI components
β βββ layouts/ # Page layouts
β βββ pages/ # Routes and pages
β βββ content/ # Markdown content
β βββ styles/ # Global styles
βββ public/ # Static assets
Adding AI Chat to a Page
- Create a new page (e.g.,
src/pages/chat.astro
):
---
import Layout from "../layouts/Layout.astro";
import { ChatConfigSchema } from '../schema/chat';
const chatConfig = ChatConfigSchema.parse({
systemPrompt: [{
type: "text",
text: "You are a helpful assistant."
}],
welcome: {
message: "π How can I help you today?",
avatar: "/icon.svg",
suggestions: [
{
label: "Get Started",
prompt: "How do I get started with ONE?"
}
]
}
});
---
<Layout
title="Chat Page"
chatConfig={chatConfig}
rightPanelMode="quarter"
>
<main>
<h1>Welcome to the Chat</h1>
<!-- Your page content here -->
</main>
</Layout>
Customizing the Chat Interface
Chat Configuration Options
const chatConfig = {
provider: "openai", // AI provider
model: "gpt-4o-mini", // Model to use
apiEndpoint: "https://api.openai.com/v1",
temperature: 0.7, // Response creativity (0-1)
maxTokens: 2000, // Maximum response length
systemPrompt: "...", // AI behavior definition
welcome: {
message: "...", // Welcome message
avatar: "/path/to/icon.svg",
suggestions: [...] // Quick start prompts
}
};
Panel Modes
The chat interface can be displayed in different modes:
quarter
: 25% width side panelhalf
: 50% width side panelfull
: Full screen chatfloating
: Floating chat windowicon
: Minimized chat button
Adding Page-Specific Knowledge
Make your AI assistant knowledgeable about specific pages:
---
const pageContent = "Your page content here";
const chatConfig = ChatConfigSchema.parse({
systemPrompt: [{
type: "text",
text: `You are an expert on ${pageContent}. Help users understand this content.`
}],
// ... other config options
});
---
Basic Customization
1. Styling
Customize the appearance using Tailwind CSS classes:
/* src/styles/global.css */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Your custom styles here */
2. Layout
Adjust the layout using the Layout component props:
<Layout
title="Your Page"
description="Page description"
header={true} // Show/hide header
footer={true} // Show/hide footer
rightPanelMode="quarter"
>
<!-- Your content -->
</Layout>
3. Chat Features
Enable or disable specific chat features:
const chatConfig = ChatConfigSchema.parse({
// ... other options
features: {
textToSpeech: true, // Enable voice synthesis
codeHighlight: true, // Enable code syntax highlighting
markdown: true, // Enable markdown rendering
suggestions: true // Enable quick suggestions
}
});
π¨ Pre-installed Components
All Shadcn/UI components are pre-configured for Astro:
---
// Example usage in .astro file
import { Button } from "@/components/ui/button"
import { Card } from "@/components/ui/card"
---
<Button>Click me!</Button>
Available Components
- β Accordion
- β Alert Dialog
- β Avatar
- β Badge
- β Button
- β Card
- β Dialog
- β¦ and more!
π οΈ Project Structure
src/
βββ components/ # UI Components
β βββ ui/ # Shadcn/UI components
β βββ chat/ # Chat-related components
β βββ magicui/ # Enhanced UI components
β
βββ content/ # Content Collections
β βββ blog/ # Blog posts
β βββ docs/ # Documentation
β βββ prompts/ # AI prompts
β
βββ hooks/ # React hooks
β βββ use-mobile.tsx
β βββ use-theme.ts
β βββ use-toast.ts
β
βββ layouts/ # Page layouts
β βββ Blog.astro
β βββ Docs.astro
β βββ Layout.astro
β βββ LeftRight.astro
β
βββ lib/ # Utility functions
β βββ utils.ts
β βββ icons.ts
β
βββ pages/ # Routes and pages
β βββ api/ # API endpoints
β βββ blog/ # Blog routes
β βββ docs/ # Documentation routes
β βββ index.astro # Homepage
β
βββ schema/ # Data schemas
β βββ chat.ts # Chat-related schemas
β
βββ stores/ # State management
β βββ layout.ts # Layout state
β
βββ styles/ # Global styles
β βββ global.css # Global CSS
β
βββ types/ # TypeScript types
βββ env.d.ts # Environment types
π Development Workflow
-
Start Development
npm run dev
-
Using React Components in Astro
--- // Always add client:load for interactive components import { Dialog } from "@/components/ui/dialog" --- <Dialog client:load> <!-- Dialog content --> </Dialog>
-
Build for Production
npm run build npm run preview # Test the production build
π Troubleshooting
Common Issues Solved
β
Component Hydration: All interactive components use client:load
β
Build Warnings: Suppressed in configuration
β
Path Aliases: Pre-configured for easy imports
β
React Integration: Properly set up for Shadcn
π‘ Pro Tips
-
Component Usage in Astro
--- // Always import in the frontmatter import { Button } from "@/components/ui/button" --- <!-- Use in template --> <Button client:load>Click me!</Button>
-
Styling with Tailwind
<div class="dark:bg-slate-800"> <Button class="m-4">Styled Button</Button> </div>
-
Layout Usage
--- import Layout from '../layouts/Layout.astro'; --- <Layout title="Home"> <!-- Your content --> </Layout>
π Quick Links
π Key Documentation
Growth & Strategy
- Viral Conversations Strategy - How to create exponential growth
- AI Brand Ecosystem - Building your AI-powered brand
- Technical Implementation - How the viral system works
Technical Guides
- Integrations Guide - Nango, Novu, and 300+ APIs
- CLAUDE.md - Complete development guide
- Environment Setup - Configuration management
π― Success Stories
Sarahβs B2B SaaS Growth
Started with a β10x Growth Frameworkβ β Invited 3 founders β Created a mastermind β Now runs a $10k/month expert community with 50+ members.
Mikeβs Automation Agency
Shared his βClient Automation Playbookβ β Connected with 5 agencies β Built joint ventures β Scaled to $100k/month in 6 months.
Lisaβs Course Empire
Created βDesign Systems Courseβ β AI agents handled delivery β Students became evangelists β $250k in first year with 90% automation.
π€ Need Help?
- Check our Documentation
- Review Example Code
- File an Issue on GitHub
- Join our community of AI brand builders
AI Book Generation with Pandoc
ONE includes powerful book generation capabilities that combine Astroβs content collections with Pandoc to create beautifully formatted ebooks. This system allows you to:
- Manage book content through Astroβs content collections
- Generate professional EPUB files with proper metadata
- Maintain consistent styling across formats
- Automate the book generation process
Book Content Structure
src/content/book/
βββ metadata.yaml # Book metadata and configuration
βββ chapters/ # Book chapters in markdown
βββ assets/ # Images and resources
βββ epub-style.css # EPUB-specific styling
βββ config.ts # Book schema configuration
Book Schema Configuration
The book schema is defined in src/content/config.ts
and includes comprehensive metadata support:
// src/content/config.ts
const BookSchema = z.object({
// Basic Information
title: z.string(),
description: z.string(),
date: z.date().or(z.string()),
status: z.enum(['draft', 'review', 'published']).default('draft'),
// Author and Publishing
author: z.string().default("Anthony O'Connell"),
publisher: z.string().default('ONE Publishing'),
rights: z.string(),
creator: z.string(),
contributor: z.string(),
// Identification
identifier: z.object({
scheme: z.string().default('ISBN-13'),
text: z.string()
}),
// Classification
subject: z.string(),
language: z.string().default('en-US'),
// Visual Elements
image: z.string().optional(),
coverImage: z.string().optional(),
css: z.string().optional(),
// Organization
chapter: z.number().optional(),
order: z.number().optional(),
// Schema.org Metadata
'@type': z.literal('Book').optional(),
'@context': z.literal('https://schema.org').optional(),
bookFormat: z.enum(['EBook', 'Paperback', 'Hardcover']).optional(),
inLanguage: z.string().optional(),
datePublished: z.string().optional()
});
Metadata Configuration
The metadata.yaml
file defines the bookβs metadata and follows the BookSchema:
# src/content/book/metadata.yaml
---
# Basic Book Information
title: 'Your Book Title'
description: 'Book description'
date: '2024-05-22'
status: 'published' # draft, review, or published
# Author and Publishing Information
author: "Author Name"
publisher: 'Publisher Name'
rights: "Β© 2024 Author Name. All rights reserved."
creator: "Author Name"
contributor: 'Contributor Name'
# Book Identification
identifier:
scheme: 'ISBN-13'
text: '978-1-916-12345-6'
# Content Classification
subject: 'Subject Categories'
language: 'en-US'
# Visual Elements
image: 'assets/cover.png'
coverImage: 'assets/cover.png'
css: 'epub-style.css'
# Organization
chapter: 0
order: 0
# Schema.org Metadata
'@type': 'Book'
'@context': 'https://schema.org'
bookFormat: 'EBook'
inLanguage: 'en-US'
datePublished: '2024-05-22'
---
EPUB Generation
-
Install Pandoc
# macOS brew install pandoc # Ubuntu/Debian sudo apt-get install pandoc
-
Generate EPUB
# Using the generate-epub.sh script npm run generate:epub # Manual generation pandoc \ --resource-path=assets \ --toc \ --toc-depth=2 \ --split-level=1 \ --css=epub-style.css \ --epub-cover-image=assets/cover.png \ -o TheElevatePlaybook.epub \ metadata.yaml \ chapters/*.md
EPUB Styling
/* src/content/book/epub-style.css */
body {
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
line-height: 1.5;
color: #333;
margin: 0;
padding: 1em;
}
h1, h2, h3, h4, h5, h6 {
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
color: #000;
margin-top: 1.5em;
margin-bottom: 0.5em;
line-height: 1.2;
}
/* Add more custom styles as needed */
Features
- β Content management through Astro collections
- β Automatic table of contents generation
- β Custom styling with CSS
- β Cover image support
- β Proper metadata handling
- β Chapter organization
- β Resource management
- β Multiple output formats
Best Practices
-
Content Organization
- Use clear chapter naming conventions
- Maintain consistent formatting
- Keep images in the assets directory
- Use relative paths for resources
-
Metadata Management
- Define comprehensive book metadata
- Include all required fields
- Use proper identifiers (ISBN, etc.)
- Maintain copyright information
-
Styling
- Use system fonts for best compatibility
- Define consistent typography
- Ensure proper spacing
- Test on multiple devices
-
Build Process
- Automate EPUB generation
- Implement version control
- Add build scripts to package.json
- Include validation steps
For more details and advanced features, check out the book generation documentation.
π Join the Revolution
Stop building platforms that beg for users. Start creating valuable conversations that grow exponentially.
ONE - Where AI meets authentic human connection to create thriving businesses.
Built with π by ONE | Powered by Claude 4, Astro, Shadcn/UI, Convex, Nango & Novu