MCPcopy Index your code
hub / github.com/dreamhunter2333/chatgpt-tarot-divination

github.com/dreamhunter2333/chatgpt-tarot-divination @v0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.0 ↗ · + Follow
59 symbols 242 edges 26 files 1 documented · 2% updated 6mo agov0.4.0 · 2025-02-23★ 83318 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

chatgpt tarot divination

AI 算命,占卜 功能

  • [x] 塔罗牌
  • [x] 生辰八字
  • [x] 姓名五格
  • [x] 周公解梦
  • [x] 起名
  • [x] 梅花易数
  • [x] 姻缘 @alongLFB

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
      - 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 ..
rm -r dist
cp -r frontend/dist/ dist
python3 -m venv ./venv
./venv/bin/python3 -m pip install -r requirements.txt
./venv/bin/python3 main.py

Core symbols most depended-on inside this repo

Shape

Class 20
Function 20
Method 13
Route 6

Languages

Python88%
Rust10%
TypeScript2%

Modules by API surface

src/models.py9 symbols
src/user_router.py6 symbols
src/divination/base.py5 symbols
src/app.py5 symbols
src-tauri/src/main.rs5 symbols
src/config.py4 symbols
src/divination/birthday.py3 symbols
src/chatgpt_router.py3 symbols
src/limiter.py2 symbols
src/divination/tarot.py2 symbols
src/divination/plum_flower.py2 symbols
src/divination/new_name.py2 symbols

For agents

$ claude mcp add chatgpt-tarot-divination \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page