qmd
문서, 지식 베이스, 회의록 등 무엇이든 검색할 수 있는 미니 CLI 검색 엔진입니다. 최신 SOTA(State-of-the-Art) 접근 방식을 추구하면서도 모든 데이터가 로컬에서 처리됩니다.
파일 탐색기
- marketplace.json
- ci.yml
- nix.yml
- publish.yml
- settings.json
- qmd
- SYNTAX.md
- accelerate_multi_gpu.yaml
- sft-lfm2.yaml
- sft.yaml
- sft_local.yaml
- dataset_info.json
- fix_hyde_checkpoint.json
- qmd_expansion_balanced_deduped.jsonl
- qmd_expansion_diverse_addon.jsonl
- qmd_expansion_handcrafted.jsonl
- qmd_expansion_handcrafted_only.jsonl
- qmd_expansion_lex_phrases_negation.jsonl
- qmd_expansion_locations.jsonl
- qmd_expansion_people.jsonl
- qmd_expansion_personal_entities.jsonl
- qmd_expansion_short_nontech.jsonl
- qmd_expansion_sports.jsonl
- qmd_expansion_v3_structured.jsonl
- qmd_only_sampled.jsonl
- analyze_data.py
- prepare_data.py
- prepare_data_lfm2.py
- schema.py
- score_data.py
- validate_schema.py
- .gitignore
- queries.txt
- __init__.py
- best_prompt.txt
- best_prompt_glm.txt
- dspy_gepa.py
- example.py
- generate.py
- gepa_outputs.jsonl
- gepa_outputs_glm.jsonl
- model.json
- optimizer.py
- score.py
- grpo.py
- grpo.yaml
- README.md
- sft_lfm2.py
- sft_lfm2.yaml
- eval.py
- eval_common.py
- sft.py
- .gitignore
- benchmark.py
- CLAUDE.md
- convert_gguf.py
- convert_onnx.py
- eval.py
- eval_retrieval.py
- Justfile
- Modelfile
- pyproject.toml
- README.md
- reward.py
- SCORING.md
- train-0.8B.log
- train.py
- train_unsloth.py
- uv.lock
- build.mjs
- check-package-grammars.mjs
- extract-changelog.sh
- install-hooks.mjs
- package-smoke.mjs
- pre-push
- release.sh
- repro-metal-rsets-crash.mjs
- test-all.mjs
- mcp-setup.md
- SKILL.md
- install-hooks.sh
- release-context.sh
- SKILL.md
- example.json
- bench.ts
- score.ts
- types.ts
- embed-lock.ts
- formatter.ts
- mcp-pid.ts
- qmd.ts
- version.ts
- origin-guard.ts
- server.ts
- picomatch.d.ts
- ast.ts
- bench-rerank.ts
- collections.ts
- db.ts
- index.ts
- llm.ts
- maintenance.ts
- paths.ts
- store.ts
- test-preload.ts
- trust.ts
- embed-lock-holder.ts
- store-init-worker.ts
- api-design-principles.md
- distributed-systems-overview.md
- machine-learning-primer.md
- product-launch-retrospective.md
- remote-work-policy.md
- startup-fundraising-memo.md
- ast-chunking.test.ts
- ast.test.ts
- bench-guard.test.ts
- bench-score.test.ts
- bin-wrapper.test.ts
- build-script.test.ts
- cleanup.test.ts
- cli-exit-lifecycle.test.ts
- cli-lazy-llm-import.test.ts
- cli.test.ts
- collections-config.test.ts
- Containerfile
- db.test.ts
- embed-lock.test.ts
- esm-ambiguous-module.test.ts
- eval-bm25.test.ts
- eval-deep-research.jsonl
- eval-deep-research.ts
- eval-harness.ts
- eval.test.ts
- formatter.test.ts
- full-path-fallback.test.ts
- install-hooks.test.ts
- intent.test.ts
- launcher-detection.test.sh
- llm.test.ts
- local-config-trust-cli.test.ts
- local-config.test.ts
- mcp-origin-guard.test.ts
- mcp-pid.test.ts
- mcp-stdio-lifecycle.test.ts
- mcp.test.ts
- multi-collection-filter.test.ts
- package.test.ts
- path-fidelity.test.ts
- release-context.test.ts
- rrf-trace.test.ts
- sdk.test.ts
- smoke-install.sh
- store-cjk-fts.test.ts
- store-concurrency.test.ts
- store-insert-context.test.ts
- store-paths.test.ts
- store.helpers.unit.test.ts
- store.test.ts
- structured-search.test.ts
- update-hook-trust-cli.test.ts
- update-hook-trust.test.ts
- version.test.ts
- no-service-constructor-imports.test.ts
- no-service-constructor-imports.ts
- index.ts
- no-chained-type-assertions.ts
- no-conditional-empty-object-spread.test.ts
- no-conditional-empty-object-spread.ts
- no-known-value-widening.test.ts
- no-known-value-widening.ts
- no-module-mocking.test.ts
- no-module-mocking.ts
- no-object-parameters.test.ts
- no-object-parameters.ts
- no-reflect-apply.test.ts
- no-reflect-apply.ts
- no-reflect-get.test.ts
- no-reflect-get.ts
- no-runtime-typeof.test.ts
- no-runtime-typeof.ts
- no-shape-in-symbol-names.ts
- no-unknown-parameters.ts
- no-unknown-returns.test.ts
- no-unknown-returns.ts
- no-unknown-type-aliases.test.ts
- no-unknown-type-aliases.ts
- no-unsafe-dictionary-type.test.ts
- no-unsafe-dictionary-type.ts
- no-widen-then-assert.test.ts
- no-widen-then-assert.ts
- require-safety-comment-for-type-assertion.test.ts
- require-safety-comment-for-type-assertion.ts
- dictionary-types.ts
- lexical-type-parameters.ts
- reflect-method.ts
- index.ts
- LICENSE
- VENDOR.txt
- .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 서버를 실행합니다.
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
릴리즈 타임라인
활발히 관리 중명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
brew install
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
claude
코드베이스를 이해하고 자연어 명령을 통해 더 빠르게 코딩할 수 있도록 도와주는 에이전트 기반 코딩 도구.
더 많은 정보: <https://code.claude.com/docs/en/cli-reference>.
claude prompt
프롬프트로 실행:
claude update
`claude`를 업데이트:
claude mcp list
지정된 MCP 서버 목록을 표시:
git clone
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
lex
어휘 분석기 생성기.
어휘 분석기의 명세가 주어지면 이를 구현하는 C 코드를 생성합니다.
참고: 대부분의 주요 운영 체제에서 이 명령은 `flex`의 별칭입니다.
더 많은 정보: <https://manned.org/lex>.
lex {{analyzer.l}}
Lex 파일로부터 분석기를 생성하고, `lex.yy.c` 파일에 저장:
tldr flex
자세한 내용은 원본 명령을 참고하세요:
lex -t {{analyzer.l}} > {{analyzer.c}}
출력 파일 지정:
npm install
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
npx
이 명령은 `npm exec`의 별칭입니다.
tldr npm exec
자세한 내용은 원본 명령을 참고하세요:
regex
설명 보기 ▼
regex
정규 표현식 (`regex`)은 텍스트에서 특정 패턴을 찾거나 일치시키고 조작하는 데 사용하는 표현식.
참고: `regex`는 명령이 아니라, 다른 명령에서 사용하는 문법 .
관련 항목: `egrep`, `glob`.
더 많은 정보: <https://cheatography.com/davechild/cheat-sheets/regular-expressions/>.
.
임의의 한 문자와 일치:
^{{hello}}
줄의 시작과 일치:
{{world}}$
줄의 끝과 일치:
query
설명 보기 ▼
query
프로세스, 세션 및 원격 데스크톱 세션 호스트 서버에 대한 정보를 표시합니다.
더 많은 정보: <https://learn.microsoft.com/windows-server/administration/windows-commands/query>.
query session
모든 사용자 세션 표시:
query session /server:{{hostname}}
원격 컴퓨터의 현재 사용자 세션 표시:
query user
로그인한 사용자 표시:
