1.准备一个 openai api key
2.采集微博每日热搜(github 有开源的项目)
3.批量生成文章 然后自动发布到你网站 对于一个程序员来说 问题都不大
var url = "https://api.openai.com/v1/chat/completions"; xhr.open("POST", url, true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.setRequestHeader("Authorization", "Bearer sk-123456"); xhr.Onreadystatechange= function() { var json = JSON.parse(xhr.responseText); var respOnse= json.choices[0].delta.content; //将此文本保存下来 }; var data = JSON.stringify({ "messages": [{"role": "user", "content": prompt}], //prompt 是需要网站标题 自己采集就好了 "temperature": 0.5, "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, "model": "gpt-3.5-turbo" }); xhr.send(data); 盈利点:
1.网站收录较多的时候 可以卖域名
2.可以挂广告
我目前在做 Google 可以看收录情况 3 天收录 好几百
site:cveoy.com 
PS:仅提供思路 勿喷
