1 Star 0 Fork 60

诶黑黑/cocopilot

forked from 屁屁啊哈/cocopilot 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
cocopilot.sh 488 Bytes
Copy Edit Raw Blame History
屁屁啊哈 authored 2023-09-11 10:41 . 'init'
#!/bin/bash
set -e
if [ -n "$XDG_CONFIG_HOME" ]; then
CONFIG_DIR="$XDG_CONFIG_HOME"
else
CONFIG_DIR="$HOME/.config"
fi
COPILOT_DIR="$CONFIG_DIR/github-copilot"
if [ ! -d "$COPILOT_DIR" ]; then
mkdir -p "$COPILOT_DIR"
fi
echo '{"github.com":{"user":"cocopilot","oauth_token":"ghu_ThisIsARealFreeCopilotKeyByCoCopilot","dev_override":{"copilot_token_url":"https://api.cocopilot.org/copilot_internal/v2/token"}}}' > "$COPILOT_DIR/hosts.json"
echo 'done. please restart your ide.'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ehwhw/cocopilot.git
git@gitee.com:ehwhw/cocopilot.git
ehwhw
cocopilot
cocopilot
master

Search