llm-mock

(★ 22)

Self-hosted OpenAI-compatible mock server — test your LLM integrations without exposing your API key. By Axium.

파일 탐색기

  • .dockerignore
  • .env.example
  • .gitignore
  • api-keys.json
  • bun.lock
  • bunfig.toml
  • CHANGELOG.md
  • Dockerfile
  • LICENSE
  • package.json
  • README.md
  • tsconfig.json

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

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:

🔍

bun run

설명 보기 ▼

Execute a JavaScript/TypeScript file, or a script from `package.json`.

bun run {{script_name}}

Run a script defined in `package.json`:

bun run {{path/to/file.ts}}

Run a JavaScript or TypeScript file directly:

bun run --watch {{path/to/file.ts}}

Run a file in "watch" mode (restarts automatically when the file changes):

🔍

bun test

설명 보기 ▼

Run tests using Bun's built-in test runner.
It is a fast, Jest-compatible test runner that looks for `*.test.ts` (and similar) files.

bun test

Run all test files found in the project:

bun test {{path/to/file.test.ts}}

Run a specific test file or directory:

bun test --watch

Run tests in "watch" mode (re-runs automatically on file changes):

🔍

bun

설명 보기 ▼

JavaScript 런타임 및 툴킷.
번들러, 테스트 러너 및 패키지 관리자가 포함.
더 많은 정보: <https://bun.com/docs>.

bun init

JavaScript 파일 또는 `package.json` 스크립트 실행:

bun run {{path/to/file|script_name}}

단위 테스트 실행:

bun test

`package.json`에 종속성으로 나열된 모든 패키지를 다운로드하고 설치:

🔍

docker compose

설명 보기 ▼

Run and manage multi container Docker applications.

docker compose ps

List all running containers:

docker compose up {{[-d|--detach]}}

Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

docker compose up --build

Start all containers, rebuild if necessary:

🔍

docker run

설명 보기 ▼

This command is an alias of `docker container run`.

tldr docker container run

View documentation for the original command:

🔍

gemini

설명 보기 ▼

Gemini AI와 대화형 프롬프트 실행.
더 많은 정보: <https://geminicli.com/docs/cli/cli-reference/>.

gemini

대화형 채팅을 위한 REPL 세션 시작:

{{echo "Summarize the history of Rome"}} | gemini {{[-p|--prompt]}} -

다른 명령의 출력을 Gemini로 전달하고 즉시 종료:

gemini {{[-m|--model]}} {{model_name}}

특정 모델 사용 (기본값: auto-gemini-3):

🔍

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:

🔍

openai

설명 보기 ▼

OpenAI API에 접근할 수 있는 CLI 도구.
더 많은 정보: <https://github.com/openai/openai-python>.

openai api models.list

모델 나열:

openai api completions.create --model {{ada}} --prompt "{{Hello world}}"

완료 생성:

openai api chat_completions.create --model {{gpt-3.5-turbo}} --message {{user "Hello world"}}

채팅 완료 생성:

# 프로젝트 배지

// repository documentation