Thanks to visit codestin.com
Credit goes to github.com

Skip to content

boxlet-ux/chat-man

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent Man

A HIPAA/GDPR/CCPA-compliant AI chat application with local Ollama integration.

Chat with AI models running entirely on your machine. Your data never leaves your computer.


🚀 Quick Start

# Clone and install
git clone https://github.com/KenKaiii/chat-man.git
cd chat-man
bun install

# Build and start
bun run build
bun start

Then open: http://localhost:3010

Platforms: macOS, Linux, WSL Requirements: BunOllama (auto-installed if missing)

🔧 Troubleshooting

Windows: "command not found: ./start.sh"

You're trying to run on native Windows instead of WSL. This app requires WSL (Windows Subsystem for Linux):

# Install WSL (PowerShell as Administrator)
wsl --install

# Restart your computer, then open Ubuntu and run:
cd /mnt/c/path/to/chat-man
bun install
bun start

Native Windows is NOT supported. Use WSL, macOS, or Linux.

Advanced: Native Windows (not recommended)

If you must use native Windows without WSL:

# 1. Install Ollama from https://ollama.ai/download/windows
# 2. Start Ollama manually (should auto-start in system tray)
# 3. Run the server directly:
bun run dev:server

Note: You'll miss automatic Ollama startup and health checks.

Linux: Permission denied

If you downloaded a ZIP file instead of cloning with git:

# Fix permissions and line endings
chmod +x start.sh start-dev.sh
sed -i 's/\r$//' start.sh start-dev.sh
bun start

Alternative: Always use git clone instead of downloading ZIP files.


✨ Features

🤖 Local AI

  • 100% local processing with Ollama
  • No cloud, no API keys
  • Support for Llama, Qwen, Mistral, and more
  • Download models directly in the UI

💬 Rich Chat

  • Real-time streaming responses
  • Markdown with syntax highlighting
  • Code blocks with copy
  • Mermaid diagram rendering
  • File attachments (drag & drop)
  • Beautiful dark theme

🔍 RAG (Retrieval-Augmented Generation)

  • Upload and search documents
  • Vector database (LanceDB)
  • Context-aware AI responses

🔐 Security & Privacy

  • AES-256-GCM encryption
  • No telemetry or tracking
  • Session timeout (15 min)
  • Audit logging
  • Disk encryption enforcement (production)

🔐 GDPR/HIPAA/CCPA Compliance

This application implements technical controls designed to support compliance.

⚠️ See "Legal Disclaimer" section below before using for regulated data.

Required: Enable Disk Encryption

macOS:

# Check status
fdesetup status

# Enable: System Preferences → Security & Privacy → FileVault

Linux:

# Check status
lsblk -o NAME,FSTYPE | grep crypto_LUKS

Compliance Features

  • Field-level encryption (AES-256-GCM)
  • DSR identity verification (GDPR Article 12(6))
  • Session timeout (HIPAA §164.312(a)(2)(iii))
  • 6-year audit retention (HIPAA §164.316(b)(2)(i))
  • CCPA disclosures (1798.100)

Full details: See COMPLIANCE_AUDIT_REPORT.md

User Risk: ZERO ✅

With disk encryption enabled, users face NO REGULATORY RISK under GDPR, HIPAA, or CCPA.


⚠️ Legal Disclaimer

IMPORTANT: READ CAREFULLY BEFORE USE

This software implements technical controls designed to support HIPAA, GDPR, and CCPA compliance requirements. However:

Not Legal Advice

  • This software and its documentation DO NOT constitute legal advice
  • You are responsible for ensuring your own compliance with applicable laws
  • Consult qualified legal counsel for compliance guidance specific to your use case

No Warranty of Compliance

  • The software is provided "AS IS" WITHOUT WARRANTY OF ANY KIND
  • The creators make NO REPRESENTATIONS OR WARRANTIES regarding regulatory compliance
  • Compliance depends on your specific implementation, policies, and procedures
  • You are solely responsible for verifying compliance with all applicable regulations

Your Responsibilities

As a user of this software, you must:

  • Conduct your own compliance assessment
  • Implement appropriate organizational policies and procedures
  • Maintain proper documentation and training
  • Consult legal and compliance professionals
  • Regularly audit and update your compliance measures

Limitation of Liability

  • The creators and contributors SHALL NOT BE LIABLE for any regulatory violations, fines, penalties, or damages
  • Use of this software does not guarantee compliance with any law or regulation
  • You assume all risks associated with using this software for regulated data

Regulatory Requirements Vary

  • HIPAA, GDPR, and CCPA requirements vary by jurisdiction, organization, and use case
  • Technical controls are only one component of regulatory compliance
  • Full compliance requires organizational policies, training, risk assessments, and more

BY USING THIS SOFTWARE, YOU ACKNOWLEDGE THAT YOU HAVE READ THIS DISCLAIMER AND AGREE TO ITS TERMS.


📄 License

AGPL-3.0-or-later


Made with ❤️ by KenKai

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 90.6%
  • CSS 4.0%
  • Shell 3.0%
  • JavaScript 1.8%
  • PowerShell 0.3%
  • Batchfile 0.2%
  • HTML 0.1%