opencode-free-proxy
Proxy server for OpenCode free-tier AI models (DeepSeek, MiniMax, Qwen) via Zen API — OpenAI + Anthropic compatible
File Explorer
- .gitignore
- package.json
- README.md
- server.mjs
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
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
View Details ▼
node
Server-side JavaScript platform (Node.js).
node {{path/to/file}}
Run a JavaScript file:
node
Start a REPL (interactive shell):
node --watch {{path/to/file}}
Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):
nohup
View Details ▼
nohup
Allows for a process to live when the terminal gets killed.
nohup {{command}} {{argument1 argument2 ...}}
Run a process that can live beyond the terminal:
nohup {{command}} {{argument1 argument2 ...}} &
Launch `nohup` in background mode:
nohup {{path/to/script.sh}} &
Run a shell script that can live beyond the terminal:
npm install
View Details ▼
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
View Details ▼
ssh
Secure Shell is a protocol used to securely log onto remote systems.
It can be used for logging or executing commands on a remote server.
ssh {{username}}@{{remote_host}}
Connect to a remote server:
ssh {{username}}@{{remote_host}} -i {{path/to/key_file}}
Connect to a remote server with a specific [i]dentity (private key):
ssh {{username}}@10.0.0.1 -p {{2222}}
Connect to a remote server with IP `10.0.0.1` and using a specific [p]ort (Note: `10.0.0.1` can be shortened to `10.1`):
systemctl enable
View Details ▼
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:
