Skip to content

CattleZoe/divination

This branch is 11 commits behind sunls24/divination:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

65308ea · Mar 23, 2024

History

19 Commits
Mar 23, 2024
Mar 20, 2024
Nov 8, 2023
Mar 20, 2024
Oct 31, 2023
Oct 27, 2023
Oct 27, 2023
Oct 27, 2023
Dec 22, 2023
Mar 20, 2024
Oct 27, 2023
Mar 23, 2024
Mar 23, 2024
Oct 27, 2023
Oct 27, 2023
Mar 20, 2024
Oct 27, 2023

Repository files navigation

🧙 概述

AI 算卦: 通过进行六次硬币的随机卜筮,生成卦象,并使用 AI 对卦象进行分析。

⚙️ 设置

环境变量

  • OPENAI_API_KEY:不必多说,懂的都懂
  • OPENAI_BASE_URL:自定义 API 接口地址,默认:https://api.openai.com/v1
  • OPENAI_MODEL:自定义 OpenAI 模型,默认:gpt-3.5-turbo

🚀 本地运行

  1. 克隆仓库:
git clone https://github.com/sunls24/divination
  1. 安装依赖项:
pnpm install
  1. 本地运行:
# 设置环境变量 OPENAI_API_KEY=sk-xxx
touch .env.local
# 本地运行
pnpm run dev

☁️ 使用 Vercel 部署

Deploy with Vercel


screenshots

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.1%
  • CSS 4.3%
  • JavaScript 0.6%