Skip to content

ahmadrosid/Knowmore

Repository files navigation

Knowmore

Knowmore is a clone of Perplexity AI, it has a lot of thing missing features. The goals for this project is to learn django and RAG architecture.

demo-knowmore

Demo

Watch the YouTube demo: https://www.youtube.com/watch?v=_mFrt65fLQA

Requirements

  • Python >= 3.10
  • Node.js/Bun
  • Docker (optional)

Environment Variables:

ANTHROPIC_API_KEY=
OPENAI_API_KEY=
FIRE_CRAWL_API_TOKEN=
SECRET_KEY=

Integration

For now it integrates with Anthropic AI. Soon will be adding OpenAI GPT-4 and other LLMs.

Quick Start

Using Make (Recommended)

Build and run the full application:

make dev

This will:

  • Build the frontend using ./build_frontend.sh
  • Build the Docker image
  • Run the backend on port 7000

Individual commands:

# Build frontend and backend
make build

# Serve frontend only (for development)
make serve-ui

# Build Docker image only
make backend

# Run backend container only
make run-backend

Manual Setup

Install Python packages:

pip install -r requirements.txt

Install frontend dependencies:

cd frontend && bun install

Run Python server:

For development (no streaming support):

python manage.py runserver

For proper SSE streaming support (recommended):

python run_asgi.py
# or
daphne -b 127.0.0.1 -p 8000 Knowmore.asgi:application

Using Docker

Build Docker image:

docker build . -t knowmore

Run Docker container:

docker run --env-file .env -p 7000:8000 knowmore

Access the application at: http://localhost:7000

Credits

This project is inspired by this company.

About

Knowmore is perplexity clone build width django & react.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published