0.0
No release in over 3 years
generator for your admin.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

chatgpt tarot divination

  • chatgpt tarot divination
    • AI 算命,占卜 功能
    • Deploy by docker
    • Local Run

AI 算命,占卜 功能

  • 塔罗牌
  • 生辰八字
  • 姓名五格
  • 周公解梦
  • 起名
  • 梅花易数

demo

Deploy by docker

services:
  chatgpt-tarot-divination:
    image: ghcr.io/dreamhunter2333/chatgpt-tarot-divination:latest
    container_name: chatgpt-tarot-divination
    restart: always
    ports:
      - 8000:8000
    environment:
      - api_key=sk-xxx
      - api_base=https://api.openai.com/v1 # optional
      - model=gpt-3.5-turbo # optional
      - rate_limit=10/minute # optional
      - user_rate_limit=600/hour # optional
      - log_dir=/logs/ # optional
      - github_client_id=xxx
      - github_client_secret=xxx
      - jwt_secret=secret
      - ad_client=ca-pub-xxx
      - ad_slot=123

Local Run

创建 .env 文件,填入如下内容, api_key 为必填项, 其余为可选项

api_key=sk-xxxx
api_base=https://api.openai.com/v1
github_client_id=xxx
github_client_secret=xxx
ad_client=ca-pub-xxx
ad_slot=123

RUN

cd frontend
pnpm install
pnpm build --emptyOutDir
cd ..
python3 -m venv ./venv
./venv/bin/python3 -m pip install -r requirements.txt
./venv/bin/python3 main.py