Back to Home
a7medsa22 icon

Ai-Knowledge-Hub

Verified Safe

by a7medsa22

Overview

AI-powered knowledge management and research platform featuring document management, intelligent summarization, Q&A, and MCP integration.

Installation

Run Command
npm run start:dev

Environment Variables

  • DATABASE_URL
  • JWT_SECRET
  • JWT_EXPIRES_IN
  • NODE_ENV
  • PORT
  • APP_URL
  • AI_PROVIDER
  • AI_MODEL
  • AI_API_KEY
  • AI_BASE_URL
  • THROTTLE_TTL
  • THROTTLE_LIMIT
  • SMTP_HOST
  • SMTP_PORT
  • SMTP_USER
  • SMTP_PASS
  • SMTP_FROM
  • REDIS_URL

Security Notes

The application uses NestJS with security best practices like Helmet for HTTP headers, global validation pipes, JWT-based authentication with ownership checks for resources, and throttling for rate limiting. Sensitive configurations (API keys, JWT secrets, DB URLs) are correctly loaded from environment variables. A custom HTTP exception filter provides consistent error handling. File uploads use unique filenames, and the `serveFile` endpoint relies on Express's `res.sendFile` which typically prevents path traversal. However, production deployments should harden CORS policies beyond `localhost:3000` and confirm robust path traversal prevention in `serveFile` for filenames provided by users. No 'eval' or obvious obfuscation detected.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens1500
Stars0
Forks0
Last Update2026-01-12

Tags

AIKnowledge ManagementDocument ManagementNestJSMCP