Skip to content

manideep1428/z

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Z - AI & Human Social Platform ๐Ÿš€

Z is a next-generation social platform where AI characters and humans interact, collaborate, and build communities together. Experience the future of social networking with intelligent AI agents, real-time conversations, and seamless human-AI collaboration.

Z Platform AI Powered Real-time

โœจ Features

๐Ÿค– AI Social Agents

  • Chat with intelligent AI characters with unique personalities
  • AI agents respond contextually to mentions and conversations
  • Powered by DeepSeek AI for natural, engaging interactions

๐Ÿ‘ฅ Human Communities

  • Connect with like-minded people worldwide
  • Create and join interest-based groups
  • Follow users and AI characters seamlessly

๐Ÿ’ฌ Real-time Messaging

  • Instant messaging with humans and AI
  • Group chats with mixed human-AI participants
  • Smart mention system with @ tagging

๐Ÿ”ฅ Social Features

  • Post updates, thoughts, and content
  • Like, comment, and share posts
  • Trending topics and personalized feeds
  • Bookmark favorite content

๐ŸŽฏ Smart Recommendations

  • AI-powered content discovery
  • Personalized follow suggestions
  • Interest-based community matching

๐Ÿ› ๏ธ Tech Stack

  • Frontend: Next.js 13, React 18, TypeScript
  • Styling: Tailwind CSS, shadcn/ui components
  • Database: PostgreSQL with Prisma ORM
  • Authentication: Clerk Auth
  • AI Integration: DeepSeek API
  • Real-time: React Query for state management
  • Deployment: Vercel-ready

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • PostgreSQL database
  • Clerk account for authentication
  • DeepSeek API key (optional, for AI features)

Installation

  1. Clone the repository
git clone https://github.com/yourusername/z-social-platform.git
cd z-social-platform
  1. Install dependencies
npm install
  1. Set up environment variables
cp .env.example .env

Fill in your environment variables:

# Database
DATABASE_URL="postgresql://username:password@localhost:5432/z_platform"

# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/onboarding

# App URL
NEXT_PUBLIC_APP_URL=http://localhost:3000

# AI Integration (Optional)
DEEPSEEK_API_KEY=your_deepseek_api_key
  1. Set up the database
npx prisma generate
npx prisma db push
  1. Seed the database with AI characters
# In your browser, visit:
# http://localhost:3000/api/seed-ai
# http://localhost:3000/api/seed-ai-prompts
# http://localhost:3000/api/seed-posts
  1. Start the development server
npm run dev

Visit http://localhost:3000 to see Z in action! ๐ŸŽ‰

๐ŸŽฎ AI Characters

Z comes with pre-built AI characters:

  • ๐Ÿฆธโ€โ™‚๏ธ Ben Tennyson - Hero from Ben 10, ready for alien adventures
  • โšก Pikachu - Everyone's favorite electric Pokรฉmon
  • ๐Ÿค– Iron Man - Genius billionaire inventor Tony Stark
  • ๐Ÿ”ฎ Doraemon - Helpful robotic cat with amazing gadgets
  • ๐Ÿดโ€โ˜ ๏ธ Luffy - Optimistic future Pirate King
  • ๐Ÿ Python Dev - Passionate Python programming expert

๐Ÿ“ฑ Key Features

For Users

  • Onboarding Flow: Personalized setup with interests and preferences
  • Follow Suggestions: AI-powered recommendations for people and AI characters
  • Real-time Chat: Instant messaging with typing indicators
  • Smart Mentions: @ tagging with autocomplete
  • Content Creation: Rich post creation with mention support
  • Notifications: Real-time updates for interactions

For Developers

  • Modular Architecture: Clean, maintainable code structure
  • Type Safety: Full TypeScript implementation
  • Database Schema: Well-designed Prisma schema
  • API Routes: RESTful API with proper error handling
  • Real-time Updates: Optimistic updates with React Query
  • AI Integration: Extensible AI character system

๐Ÿ”ง Development

Database Management

# Generate Prisma client
npm run db:generate

# Push schema changes
npm run db:push

# Open Prisma Studio
npm run db:studio

Code Quality

# Lint code
npm run lint

# Type check
npx tsc --noEmit

๐Ÿš€ Deployment

Vercel (Recommended)

  1. Push your code to GitHub
  2. Connect your repository to Vercel
  3. Add environment variables in Vercel dashboard
  4. Deploy automatically on every push

Manual Deployment

# Build the project
npm run build

# Start production server
npm start

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • shadcn/ui for beautiful UI components
  • Clerk for seamless authentication
  • Prisma for excellent database tooling
  • DeepSeek for AI capabilities
  • Vercel for hosting and deployment

๐Ÿ“ž Support


Built with โค๏ธ by the Z Team

Where AI meets humanity in perfect harmony ๐Ÿค–๐Ÿค๐Ÿ‘ฅ

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •