opencode-free-proxy
Proxy server for OpenCode free-tier AI models (DeepSeek, MiniMax, Qwen) via Zen API — OpenAI + Anthropic compatible
파일 탐색기
- .gitignore
- package.json
- README.md
- server.mjs
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
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:
node
설명 보기 ▼
node
서버 측 JavaScript 플랫폼 (Node.js).
더 많은 정보: <https://nodejs.org/docs/latest/api/cli.html#options>.
node {{path/to/file}}
JavaScript 파일 실행:
node
REPL(대화형 셸) 시작:
node --watch {{path/to/file}}
지정된 파일을 실행하고 가져온 파일이 변경될 때 프로세스를 재시작 (Node.js 버전 18.11+ 필요):
nohup
설명 보기 ▼
nohup
터미널이 종료되어도 프로세스가 계속 실행되도록 허용.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/nohup-invocation.html>.
nohup {{command}} {{argument1 argument2 ...}}
터미널 종료 후에도 계속 실행되는 프로세스 시작:
nohup {{command}} {{argument1 argument2 ...}} &
백그라운드 모드에서 `nohup` 실행:
nohup {{path/to/script.sh}} &
터미널 종료 후에도 계속 실행되는 셸 스크립트 실행:
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`:
ssh
설명 보기 ▼
ssh
Secure Shell은 원격 시스템에 안전하게 로그인하기 위한 프로토콜입니다.
원격 서버에 로그인하거나 명령을 실행하는 데 사용할 수 있습니다.
더 많은 정보: <https://man.openbsd.org/ssh>.
ssh {{username}}@{{remote_host}}
원격 서버에 연결:
ssh {{username}}@{{remote_host}} -i {{path/to/key_file}}
특정 신원(개인 키)으로 원격 서버에 연결:
ssh {{username}}@10.0.0.1 -p {{2222}}
특정 [p]포트를 사용하여 원격 서버에 연결:
systemctl enable
설명 보기 ▼
systemctl enable
Enable systemd services.
See also: `systemctl revert`.
systemctl enable {{unit}}
Enable a service to run on boot:
systemctl enable {{unit}} --now
Enable a service to run on boot and start it now:
systemctl enable {{unit}} --user
Enable a user unit to run on login:
