TL

timorunge/lore

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

20 stars 0 forks 품질 76 트렌드 30MIT

90+ 문서 형식의 현지 지식 베이스. CLI 검색 + MCP 서버. 클라우드 없음, API 키 없음.

개요

터미널에서 검색 할 수있는 로컬 지식베이스 또는 MCP에 에이전트에 봉사 할 수 있습니다. lore ingests your document -- 로컬 파일, 웹사이트, git 저장소, 피드, S3, 유튜브, 이메일, 쉘 명령, 업스트림 MCP 서버, 90 + 형식 -- 그리고 전체 텍스트 검색으로 모든 인덱스. 외부 서비스, 인프라가 관리되지 않습니다. 하나의 바이너리, 하나의 구성, 하나의 저장소 -- 또는 당신이 필요로만큼. 당신의 프로젝트에 대한 남자 페이지를 생각 -- 인간과 에이전트와 같은. 또는 릴리즈 페이지에서 미리 만들어진 바이너리를 직접 다운로드하십시오. 사전 제작된 바이너리는 Linux 및 macOS에서 사용할 수 있습니다. Windows에서 WSL (추천)을 사용하거나 화물 설치 (OCR은 cmake를 요구하고 MSVC에 지원되지 않습니다 --no-default-features --features ingest, mcp). lore init는 디렉토리를 스캔하고 문서 폴더와 README 파일을 감지하고 사전 채워진 소스로 구성을 생성합니다. 그것을 검토, ingest, and search -- 당신의 맨끝에서 또는 어떤 MCP 클라이언트를 통해.

개요(AI 번역)

터미널에서 검색 할 수있는 로컬 지식베이스 또는 봉사 MCP에 대리인. lore ingests your document – 로컬 파일, 웹사이트, git repos, 피드, S3, 유튜브, 이메일, 쉘 명령, 업스트림 MCP 서버, 90+ 형식 – 및 전체 텍스트 검색으로 모든 색인. 외부 서비스, 인프라가 관리되지 않습니다. 하나의 바이너리, 하나 구성, 하나의 저장소 – 또는 당신이 필요로하는만큼 많은.

생각 man 당신의 프로젝트에 대한 페이지 – 인간과 에이전트처럼.

설치

스크립트 설치 (Linux 및 macOS):

Homebrew (맥스 및 리눅스):

또는 직접 내장 된 바이너리를 다운로드 공지사항

윈도우: 사전 제작된 바이너리는 Linux 및 macOS에서 사용할 수 있습니다. Windows에서, 사용 WSL (권장) 또는 소스에서 구축 cargo install (OCR 필요 cmake는 MSVC에서 지원되지 않습니다 – ---no-default-features로 omit --features ingest, mcp).

근원에서 구조:

선택적인 특징 깃발:

플래그 기본 설명
ocr 스캔된 PDF 및 이미지(cmake 필요)
[T3] 오프 LLM 농축물(lore ingest, lore enrich): 릴라마, 안토픽, ОAI, 베드록
[T6] 오프 아마존 S3 소스 지원

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

lore

A local knowledge base you can search from the terminal or serve to agents over MCP. lore ingests your documents – local files, websites, git repos, feeds, S3, YouTube, email, shell commands, upstream MCP servers, 90+ formats – and indexes everything with full-text search. No external services, no infrastructure to manage. One binary, one config, one store – or as many as you need.

Think man pages for your projects – for humans and agents alike.

Install

Install script (Linux and macOS):

curl -fsSL https://github.com/timorunge/lore/releases/latest/download/lore-cli-installer.sh | bash

Homebrew (macOS and Linux):

brew install timorunge/tap/lore-cli

Or download a pre-built binary directly from the releases page.

Windows: Pre-built binaries are available for Linux and macOS. On Windows, use WSL (recommended) or build from source with cargo install (OCR requires cmake and is not supported on MSVC – omit with --no-default-features --features ingest,mcp).

Build from source:

git clone https://github.com/timorunge/lore.git
cd lore
cargo install --locked --path cli

Optional feature flags:

Flag Default Description
ocr on OCR for scanned PDFs and images (requires cmake)
llm off LLM enrichment (lore ingest, lore enrich): Ollama, Anthropic, OpenAI, and Bedrock
s3 off Amazon S3 source support
mcp on Upstream MCP server ingestion (resources and tool calls)
iwork off Apple iWork documents (Keynote, Pages, Numbers)
tree-sitter off Source code parsing via tree-sitter
cargo install --locked --path cli --features llm         # with LLM enrichment
cargo install --locked --path cli --features llm,s3      # with LLM + S3 support
cargo install --locked --path cli --all-features         # all optional features
cargo install --locked --path cli --no-default-features  # minimal build (no OCR, no MCP)

# Windows (native, no OCR):
cargo install --locked --path cli --no-default-features --features ingest,mcp

Quick start

cd my-project
lore init                     # generates .lore/lore.yaml from your project
lore ingest                   # build the store
lore search "authentication"  # search from the terminal
lore serve                    # or serve to agents over MCP

lore init scans your directory, detects documentation folders and README files, and generates a config with pre-filled sources. Review it, ingest, and search – from your terminal or through any MCP client.

Try it without your own docs

If you cloned the repo, the gutenberg example works out of the box:

cd examples/gutenberg
lore ingest
lore search "love and death"
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "my-docs": { "command": "lore", "args": ["serve"], "env": { "LORE_CONFIG": "/path/to/.lore/lore.yaml" } } } }