Skip to content

adlai88/arin

Repository files navigation

Arin: Spatial Intelligence for Are.na Channels

Transform any Are.na channel into an intelligent knowledge base. Experience multimodal AI across websites, PDFs, images, and videos.

✨ Try It Now (No Signup Required)

Paste any public Are.na channel URL β†’ Instant AI intelligence

Live Demo: https://www.arin.im/

🎯 Perfect For

  • Designers discovering patterns in visual research
  • Researchers extracting insights from academic collections
  • Creators exploring connections across curated content
  • Teams building intelligence from shared knowledge

πŸš€ Features

Complete Multimodal Intelligence

  • Websites: Extract and analyze web content using Jina AI
  • PDFs: Process documents and research papers
  • Images: Visual analysis with GPT-4V
  • Videos: YouTube content extraction with official API
  • Text blocks: Index user annotations and thoughts

Intelligent Chat Interface

  • Hybrid knowledge mode: Prioritizes your curated content while providing helpful general knowledge
  • Visual context: See thumbnails of referenced content
  • Source attribution: Direct links to original Are.na blocks

Content Generation

  • Newsletter creation: Transform research into readable insights
  • Research summaries: Extract key patterns and themes

πŸ—ΊοΈ Spatial Canvas (NEW - Supabase LW15 Feature)

  • Semantic clustering: Automatically organizes blocks by meaning using pgvector
  • Three-way view: Grid (default), Similarity (semantic clusters), Random (exploration)
  • Drag-and-drop: Rearrange and explore your knowledge spatially
  • Spatial chat: AI understands what you're looking at on the canvas

πŸ’‘ Quick Start

Option 1: Try the Hosted Service

Visit www.aryn.im and paste any public Are.na channel URL.

Option 2: Self-Host (Open Source)

# Clone the repository
git clone https://github.com/adlai88/aryn.git
cd aryn

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local
# Edit .env.local with your API keys

# Set up database
npm run db:setup

# Start development server
npm run dev

Open http://localhost:3000 in your browser.

πŸ“‹ Prerequisites

  • Node.js 18+ and npm
  • PostgreSQL database with pgvector extension
  • OpenAI API key (for embeddings and GPT-4)
  • Are.na API key (optional, for private channels)

πŸ”§ Environment Setup

Required environment variables for self-hosting:

# Core Configuration
DATABASE_URL="postgresql://..."
OPENAI_API_KEY="sk-..."

# Optional (for private channels)
ARENA_API_KEY="your-arena-api-key"

# Optional (for video processing)
YOUTUBE_API_KEY="your-youtube-api-key"

# Optional (for enhanced web extraction)
JINA_API_KEY="your-jina-api-key"

See docs/SELF_HOSTING.md for detailed setup instructions.

πŸ—οΈ Architecture

src/
β”œβ”€β”€ app/              # Next.js app router pages
β”œβ”€β”€ components/       # React UI components  
β”œβ”€β”€ lib/              # Core intelligence layer
β”‚   β”œβ”€β”€ arena.ts      # Are.na API client
β”‚   β”œβ”€β”€ extraction.ts # Content processing pipeline
β”‚   β”œβ”€β”€ embeddings.ts # Vector similarity search
β”‚   └── chat.ts       # AI conversation interface
└── hooks/           # React state management

Open Source Core: Complete multimodal intelligence pipeline Hosted Service: Adds user accounts, private channels, higher limits

πŸ“Š Supported Content Types

Type Source Processing Status
Websites Link blocks Jina AI extraction βœ… Complete
PDFs Attachment blocks Jina AI processing βœ… Complete
Images Image blocks GPT-4V analysis βœ… Complete
Videos Media/Link blocks YouTube API extraction βœ… Complete
Text Text blocks Direct indexing βœ… Complete

🎨 Built With

  • Frontend: Next.js 15, React, TypeScript, Tailwind CSS
  • UI Components: shadcn/ui design system
  • Backend: Vercel Edge Functions, Supabase (PostgreSQL + pgvector)
  • AI: OpenAI (embeddings + GPT-4 + GPT-4V), YouTube Data API v3
  • Content: Are.na API, Jina AI Reader

🀝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Development Workflow

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and test locally
  4. Commit with clear messages: git commit -m 'Add amazing feature'
  5. Push to your fork: git push origin feature/amazing-feature
  6. Open a Pull Request

Areas for Contribution

  • Integrations: Additional content sources and APIs
  • UI/UX: Design improvements and accessibility
  • Documentation: Setup guides and tutorials
  • Testing: Expanded test coverage

πŸ“š Documentation

πŸ’° Hosted Service vs Self-Hosting

Open Source (Self-Hosted)

  • βœ… Complete multimodal intelligence
  • βœ… Public channel processing
  • βœ… Unlimited usage
  • βœ… Full source code access
  • ❌ Requires technical setup
  • ❌ Public channels only

Hosted Service

  • βœ… Zero setup required
  • βœ… Private channel access
  • βœ… User account management
  • βœ… Professional support
  • πŸ’° Founding Member: $7/month forever (unlimited blocks, private channels)

🌟 Community & Support

  • GitHub Discussions: Community support and feature requests
  • Issues: Bug reports and technical problems
  • Are.na: Follow our Are.na channel for updates

πŸ“„ License

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

πŸ™ Acknowledgments

  • Are.na for creating an incredible platform for thoughtful curation
  • The Are.na community for inspiration and feedback
  • OpenAI for GPT-4 and embedding capabilities
  • Jina AI for excellent content extraction
  • shadcn/ui for the beautiful component system

Made with 🧠 for the Are.na community

Transform your curation advantage into your intelligence advantage.

About

AI for Are.na (Rebranded from Airena)

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •