llm-mock
Self-hosted OpenAI-compatible mock server — test your LLM integrations without exposing your API key. By Axium.
파일 탐색기
- ci.yml
- release.yml
- tag-release.yml
- settings.json
- api-anthropic.html
- api-azure.html
- api-gemini-enterprise.html
- api-gemini.html
- api-openai.html
- api.html
- CNAME
- index.html
- og-image.png
- robots.txt
- sitemap.xml
- styles.css
- api-keys.ts
- auth.ts
- embeddings.ts
- errors.ts
- fallback.ts
- ids.ts
- multipart.ts
- override.ts
- sse.ts
- tools.ts
- usage.ts
- batches.ts
- count-tokens.ts
- files.ts
- messages.ts
- models.ts
- batches.ts
- count-tokens.ts
- files.ts
- messages.ts
- models.ts
- stream.ts
- auth.ts
- errors.ts
- index.ts
- types.ts
- version.ts
- deployments.ts
- inference.ts
- models.ts
- auth.ts
- content-filter.ts
- deployments.ts
- errors.ts
- index.ts
- files.ts
- models.ts
- openai-compat.ts
- embeddings.ts
- files.ts
- models.ts
- auth.ts
- errors.ts
- index.ts
- types.ts
- version.ts
- models.ts
- embeddings.ts
- generate-content.ts
- models.ts
- auth.ts
- errors.ts
- index.ts
- scope.ts
- types.ts
- interactions.ts
- count-tokens.ts
- errors.ts
- generate-content.ts
- interactions.ts
- rpc-path.ts
- types.ts
- chat-completions.ts
- embeddings.ts
- files.ts
- models.ts
- responses.ts
- uploads.ts
- chat-completions.ts
- embeddings.ts
- files.ts
- models.ts
- responses.ts
- uploads.ts
- auth.ts
- errors.ts
- index.ts
- types.ts
- types.ts
- app.ts
- config.ts
- index.ts
- auth.test.ts
- batches.test.ts
- count-tokens.test.ts
- files.test.ts
- messages.test.ts
- models.test.ts
- setup.ts
- streaming.test.ts
- auth.test.ts
- content-filter.test.ts
- inference.test.ts
- routing.test.ts
- setup.ts
- v1-surface.test.ts
- auth.test.ts
- embeddings.test.ts
- files.test.ts
- generate-content.test.ts
- interactions.test.ts
- models.test.ts
- openai-compat.test.ts
- routing.test.ts
- setup.ts
- streaming.test.ts
- tools.test.ts
- auth.test.ts
- embeddings.test.ts
- generate-content.test.ts
- interactions.test.ts
- models.test.ts
- setup.ts
- auth.test.ts
- chat-completions.test.ts
- embeddings.test.ts
- files.test.ts
- models.test.ts
- responses.test.ts
- setup.ts
- stateless.test.ts
- streaming.test.ts
- tools.test.ts
- uploads.test.ts
- health.test.ts
- server.ts
- .dockerignore
- .env.example
- .gitignore
- api-keys.json
- bun.lock
- bunfig.toml
- CHANGELOG.md
- Dockerfile
- LICENSE
- package.json
- README.md
- tsconfig.json
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
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:
bun run
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
bun
JavaScript 런타임 및 툴킷.
번들러, 테스트 러너 및 패키지 관리자가 포함.
더 많은 정보: <https://bun.com/docs>.
bun init
JavaScript 파일 또는 `package.json` 스크립트 실행:
bun run {{path/to/file|script_name}}
단위 테스트 실행:
bun test
`package.json`에 종속성으로 나열된 모든 패키지를 다운로드하고 설치:
docker compose
설명 보기 ▼
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
설명 보기 ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
gemini
설명 보기 ▼
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
설명 보기 ▼
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
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"}}
채팅 완료 생성:
