前情提要
由于claude对话一两轮就到限制了,目前看到有两种方法:
- you.com 可以用掺水的claude_3_5_sonnet
- 退款流用claude
退款用claude无疑是比较过分的滥用,因此我不会优先考虑。you有pro和团队版,pro20刀/月,黑五年付120刀,教育优惠10/月 。团队版30刀/月,标的是不限量+更长上下文。我点击使用教育优惠,没有任何审核,直接出订单可以付款了,并且使用中国卡也能付,非常神奇。
部署
https://github.com/YIWANG-sketch/YOUChat_Proxy/blob/bypass-cf/usage.md
使用docker运行
git clone https://github.com/YIWANG-sketch/YOUChat_Proxy.git
cd YOUChat_Proxy
vim Dockerfile
# Use the official Node.js 20 image as the base image
FROM node:20
RUN chmod 1777 /tmp
# Install necessary dependencies for running Chrome and building robotjs
RUN apt-get update && apt-get install -y \
wget \
gnupg \
ca-certificates \
apt-transport-https \
xvfb \
build-essential \
libx11-dev \
libxtst-dev \
libpng-dev \
libxinerama-dev \
libx11-xcb-dev \
libxkbcommon-dev \
libxkbcommon-x11-dev \
xorg-dev \
python3 \
&& rm -rf /var/lib/apt/lists/*
# Install Google Chrome
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \
&& apt-get update \
&& apt-get install -y google-chrome-stable \
&& rm -rf /var/lib/apt/lists/*
# Set up the working directory in the container
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
# Install Node.js dependencies
RUN npm install
# Copy the rest of the application code
COPY . .
# Expose the port your app runs on
EXPOSE 8080
# Command to run the application
CMD [ "node", "index.mjs" ]
docker-compose.yml
services:
youchat-proxy:
build: .
container_name: youchat-proxy
ports:
- "8080:8080"
volumes:
- ./config.mjs:/app/config.mjs
environment:
- USE_CUSTOM_MODE=true
# - ENABLE_MODE_ROTATION=true # 我觉得custom模式好像比较好用
- AI_MODEL=claude_3_opus
# - PASSWORD=yourpassword # 可选,设置访问密码
restart: unless-stopped
vim config.mjs
替换cookies
"cookie": "你的 You.com cookie"
构建启动
docker-compose up -d --build
查看日志
docker-compose logs -f
使用体验
感觉you好像确实是掺水了,claude明显感觉更有想象力。但you也不是不能用,主要是便宜啊,并且you比clewd中转claude好像还要快一些。
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容