nort is an intelligent CLI tool that leverages Large Language Models (LLM) to create natural, context-aware conversations while autonomously building a knowledge graph of your interests. It acts as your personal research assistant, capable of gathering information, generating content, and following up on topics you discuss.
- 🚀 Real-time Communication: Instant message delivery using Server-Sent Events (SSE)
- 🤖 AI Integration: Support for multiple AI participants in conversations
- 👥 Multi-User Support: Full authentication system with secure user management
- 💬 Conversation Management: Create, join, and manage multiple chat conversations
- 🔄 Message Queuing: Reliable message processing with background queue system
- 🔐 Access Control: Fine-grained permissions for conversation access
- 🔗 Shareable Links: Generate and manage conversation share links
- 🎨 Modern UI: Clean, responsive interface with real-time typing indicators
# Clone the repository
git clone https://github.com/creativebuilds/NORT.git ./nort
# Navigate to the project directory
cd nort
# Install dependencies
bun install
# Set up your environment variables
cp .env.example .env
# Edit .env with your configuration- Set up your environment variables in
.env:
DATABASE_URL=your_database_url
JWT_SECRET=your_jwt_secret
API_KEY=your_ai_service_api_key- Configure your database (PostgreSQL recommended)
# Start the development server
bun dev
# Build for production
bun run build
# Start production server
bun start-
Backend (Node.js + TypeScript):
- Express.js server with TypeScript
- PostgreSQL database for data persistence
- Server-Sent Events for real-time updates
- Message queue for processing AI responses
- JWT authentication
-
Frontend:
- Vanilla JavaScript for lightweight client
- Server-Sent Events for real-time updates
- Modern CSS with responsive design
- Clean and intuitive UI
-
Key Components:
- Real-time message delivery
- User authentication and authorization
- Conversation management
- AI participant integration
- Message queuing system
POST /auth/login- User authenticationGET /chat/conversations- List user conversationsGET /chat/:id- Get conversation detailsPOST /chat/- Create new conversationPOST /chat/:id- Send message to conversationGET /chat/:id/events- SSE endpoint for real-time updates
Contributions are welcome! Please feel free to submit a Pull Request.
For issues, questions, or suggestions, please open an issue in the GitHub repository.