qmd

(★ 29,026)

문서, 지식 베이스, 회의록 등 무엇이든 검색할 수 있는 미니 CLI 검색 엔진입니다. 최신 SOTA(State-of-the-Art) 접근 방식을 추구하면서도 모든 데이터가 로컬에서 처리됩니다.

파일 탐색기

  • .gitattributes
  • .gitignore
  • bun.lock
  • CHANGELOG.md
  • CLAUDE.md
  • example-index.yml
  • flake.lock
  • flake.nix
  • LICENSE
  • migrate-schema.ts
  • oxlint.config.ts
  • package.json
  • pnpm-lock.yaml
  • README.md
  • tsconfig.build.json
  • tsconfig.json
  • vitest.config.ts

# 설치 가이드

node
사전 준비물

설치 및 실행 절차

npm install -g @tobilu/qmd

npm을 사용하여 QMD를 전역으로 설치합니다.

qmd collection add ~/notes --name notes

검색할 노트 및 문서 폴더를 컬렉션으로 추가합니다.

qmd embed

qmd query "quarterly planning process"

하이브리드 검색 및 순위 재지정(reranking)을 수행합니다.

핵심 명령어

qmd collection add ~/notes --name notes

검색 인덱스에 새로운 문서 폴더(컬렉션)를 추가합니다.

qmd context add qmd://notes "Personal notes and ideas"

검색 결과의 문맥을 향상시키기 위해 계층적 컨텍스트를 추가합니다.

qmd embed

시맨틱 벡터 검색을 위한 임베딩을 생성합니다.

qmd search "project timeline"

키워드 기반의 고속 전체 텍스트 검색을 수행합니다.

qmd query "quarterly planning process"

하이브리드 검색 및 LLM 리랭킹을 거친 고품질 검색을 수행합니다.

qmd mcp --http --port 8181

AI 에이전트 연동을 위한 Model Context Protocol 서버를 실행합니다.

LLM 모델(node-llama-cpp 및 GGUF) 로컬 구동을 위해 충분한 RAM 또는 VRAM이 필요합니다.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

릴리즈 타임라인

활발히 관리 중

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

brew install

설명 보기 ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

bun install

설명 보기 ▼

Install JavaScript dependencies for a project from `package.json`.

bun {{[i|install]}}

Install all dependencies listed in `package.json`:

bun {{[i|install]}} {{package_name}}@{{version}}

Install a single package (this is an alias for `bun add`):

bun {{[i|install]}} {{[-g|--global]}} {{package_name}}

Install a package globally:

🔍

bunx

설명 보기 ▼

로컬에 설치되었거나 원격에서 가져온 패키지의 바이너리를 실행.
참고: `bun x`는 `bunx`의 별칭으로 사용할 수 있음.
더 많은 정보: <https://bun.com/docs/pm/bunx>.

bunx {{package_name}} "{{command_argument}}"

레지스트리에서 패키지를 다운로드하여 실행:

bunx {{package_name}} --version

로컬에 설치된 패키지의 버전 확인 (존재하는 경우):

bunx --bun {{package_name}}

실행파일을 Node 대신 Bun 런타임으로 강제 실행:

🔍

claude

설명 보기 ▼

코드베이스를 이해하고 자연어 명령을 통해 더 빠르게 코딩할 수 있도록 도와주는 에이전트 기반 코딩 도구.
더 많은 정보: <https://code.claude.com/docs/en/cli-reference>.

claude prompt

프롬프트로 실행:

claude update

`claude`를 업데이트:

claude mcp list

지정된 MCP 서버 목록을 표시:

🔍

git clone

설명 보기 ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

git pull

설명 보기 ▼

Fetch branch from a remote repository and merge it to local repository.

git pull

Download changes from default remote repository and merge it:

git pull {{[-r|--rebase]}}

Download changes from default remote repository and use fast-forward:

git pull {{remote_name}}

Download changes from a specific remote repository:

🔍

lex

설명 보기 ▼

어휘 분석기 생성기.
어휘 분석기의 명세가 주어지면 이를 구현하는 C 코드를 생성합니다.
참고: 대부분의 주요 운영 체제에서 이 명령은 `flex`의 별칭입니다.
더 많은 정보: <https://manned.org/lex>.

lex {{analyzer.l}}

Lex 파일로부터 분석기를 생성하고, `lex.yy.c` 파일에 저장:

tldr flex

자세한 내용은 원본 명령을 참고하세요:

lex -t {{analyzer.l}} > {{analyzer.c}}

출력 파일 지정:

🔍

npm install

설명 보기 ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

npm link

설명 보기 ▼

Symlink a local package into the global `node_modules` or another project for development.

npm {{[ln|link]}}

Symlink the current package globally:

npm {{[ln|link]}} {{package_name}}

Link a globally linked package into another project's `node_modules`:

npm {{[r|unlink]}} {{package_name}}

Unlink a package from the current project:

🔍

npm

설명 보기 ▼

JavaScript 및 Node.js 패키지 관리자.
Node.js 프로젝트 및 모듈 의존성을 관리합니다.
더 많은 정보: <https://docs.npmjs.com/cli/npm/>.

npm init {{[-y|--yes]}}

기본값으로 `package.json` 파일 생성 (`--yes`를 생략하면 대화식으로 진행):

npm {{[i|install]}}

package.json에 의존성으로 나열된 모든 패키지를 다운로드:

npm {{[i|install]}} {{package_name}}@{{version}}

특정 버전의 패키지를 다운로드하고 `package.json`의 의존성 목록에 추가:

🔍

npx

설명 보기 ▼

이 명령은 `npm exec`의 별칭입니다.

tldr npm exec

자세한 내용은 원본 명령을 참고하세요:

🔍

regex

설명 보기 ▼

정규 표현식 (`regex`)은 텍스트에서 특정 패턴을 찾거나 일치시키고 조작하는 데 사용하는 표현식.
참고: `regex`는 명령이 아니라, 다른 명령에서 사용하는 문법 .
관련 항목: `egrep`, `glob`.
더 많은 정보: <https://cheatography.com/davechild/cheat-sheets/regular-expressions/>.

.

임의의 한 문자와 일치:

^{{hello}}

줄의 시작과 일치:

{{world}}$

줄의 끝과 일치:

🔍

query

설명 보기 ▼

프로세스, 세션 및 원격 데스크톱 세션 호스트 서버에 대한 정보를 표시합니다.
더 많은 정보: <https://learn.microsoft.com/windows-server/administration/windows-commands/query>.

query session

모든 사용자 세션 표시:

query session /server:{{hostname}}

원격 컴퓨터의 현재 사용자 세션 표시:

query user

로그인한 사용자 표시:

// repository documentation