写字台开源仓库: https://github.com/zhongdaiqi/xiezitai
腾讯云部署成功:https://xiezitai.zhongdaiqi.com/
甲骨文部署还没有成功,国内访问甲骨文很卡,很慢,每一步都难爱。
写字台亮点
- 采用java开发,打包成jar包部署。
- 支持docker镜像安装部署
- 支持大模型,直接让大模型生成封面配图、摘要、润色
- markdown编辑器
- 主题简洁朴素
- 支持api
- 支持mcp
写字台开源仓库: https://github.com/zhongdaiqi/xiezitai
腾讯云部署成功:https://xiezitai.zhongdaiqi.com/
甲骨文部署还没有成功,国内访问甲骨文很卡,很慢,每一步都难爱。

最近把Google邮箱Gmaile恢复了,找回了Oralce Cloud账号。之前注册完Oracle云主机账号,感觉网络不稳定。现在想想,跑java程序还是得有一个云主机。国内备案,说麻烦也不麻烦,但是域名比较多,国内一个一个备案,就不太想折腾。有免费的国外云主机,就先用着,国内再慢慢备案。
国外ip在国内访问,访问效果很差。与cloudflare或者腾讯云的edgeOne组合在一起,源站放云主机,前面放一个CDN,有加速效果。cloudflare或者腾讯云的edgeOne都提供免费CDN服务,能用腾讯云,就尽量使用腾讯云,腾讯云国内节点要求域名备案。腾讯还提供国际节点。
之前使用甲骨文云主机,没有搞明白怎么个免费法子,就建了一个“VM.Standard.E2.1.Micro”主机,现在才搞明白免费配额。
VM.Standard.E2.1.Micro 2台 每个实际配置 1 OCPU ,1G内存
VM.Standard.A1.Flex 配额 2 OCPU , 12G内存,可以分配给一台主机或者两台主机
我打算配置3台云主机
可用性域 VM.Standard.A1.Flex 中配置 AD-1 的容量不足。请在其他可用性域中创建实例,或稍后重试。如果指定了容错域,请尝试在不指定容错域的情况下创建实例。如果这样不起作用,请稍后重试。了解有关主机容量的更多信息。
脚本中通知可以让ai修改为企业微信通知,或者让ai去掉通知。
可以将脚本跑在M.Standard.E2.1.Micro云主机上
sudo apt-get update
sudo apt-get upgrade
sudo apt install python3-pip
pip3 install --upgrade pip //因为ubuntu系统已经默认安装pip3,这边要更新一下!
pip3 install requests //亲测过程,只使用命令:pip install requests
pip3 install oci
python3 oci_auto.py //该命令必须到当前文件夹下打开终端后输入!
tail -f oci_auto.log
sudo -i //切换到管理员权限
yum update -y //更新
我觉得宝塔不错,进入宝塔面板,复制安装命令。
长期闲置会被官方收回,可以在云主机上跑一个keep busy脚本,适当使用云主机。
本次恢复了Gmail,还有Google的域名邮箱。今天就分享这两件事情的解决方案吧。
很早以前注册的gmail邮箱,绑定了不少业务,之前是转发到QQ邮箱,也就一直这么用着,也很少直接登陆gmail。毕竟登陆起来也麻烦。最近发现收不到邮件,着实有些难受。
从历史记录来看,已经多次被“删除”了。这次登陆,继续点击申请恢复,等2天的样子,又能使用了。Gmail账号的恢复还是比较顺利,登陆提示申请,就点一下,填写一下申请原因,我写的是会给工作与生活造成困扰。绑了不少业务,着实不能随便被删除。被删除存在巨大的安全问题,万一被别人重新注册使用了,真不能想像会造成多大的问题。
”’
您的登录设置不符合贵组织的两步验证政策。
请与您的管理员联系,以了解详情。
”’
Hello,
Your request to extend the 2-Step Verification(2SV) enforcement date has been processed. We have extended the enforcement date for the account associated with domain zhongdaiqi.com by 60 days. Please ensure that 2SV is enabled for all admins in your account within this period to avoid being locked out of the account.
Please note that after the enforcement date, if any of the admins do not have 2SV enabled, they will be locked out of their account and will need to contact another admin or support to regain access to the account.
Best regards,
Google Workspace Support
https://github.com/zhongdaiqi/newbeemd
让wordpress集成ByteMD编辑器,感觉wordpress官方的编辑器用不习惯,还是这种markdown的好用。
到项目地址下载插件包,在wordpress后台安装
插件取名为NewbeeMD,已经按流程提交,等wordpress团队审核
每天会自动补充Token,可以选择的模型非常多
https://www.modelscope.cn/register?inviteCode=freetoken2208&invitorName=AIDever
魔塔的优势在于长期免费,模型选择多
from openai import OpenAI
client = OpenAI(
base_url='https://api-inference.modelscope.cn/v1',
api_key='密钥', # ModelScope Token
)
response = client.chat.completions.create(
model='ZhipuAI/GLM-5.3:Zhipu-Coding', # ModelScope Model-Id, required
messages=[{
'role':
'user',
'content': [{
'type': 'text',
'text': '描述这幅图',
}, {
'type': 'image_url',
'image_url': {
'url':
'https://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/audrey_hepburn.jpg',
},
}],
}],
stream=True
)
done_reasoning = False
for chunk in response:
if chunk.choices:
reasoning_chunk = chunk.choices[0].delta.reasoning_content
answer_chunk = chunk.choices[0].delta.content
if reasoning_chunk != '':
print(reasoning_chunk, end='', flush=True)
elif answer_chunk != '':
if not done_reasoning:
print('\n\n === Final Answer ===\n')
done_reasoning = True
print(answer_chunk, end='', flush=True)