# 1391959853/404jd architecture

> Architecture diagram of the GitHub repository 1391959853/404jd, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/1391959853/404jd
- Repository: https://github.com/1391959853/404jd

## Overview

This repository is a collection of scheduled and manually runnable JD.com account and activity automation scripts, rather than a single service. A typical task uses account cookies, makes activity requests, and may send a completion notification. The tree and source index show a broad portfolio—farm, bean, asset, draw, and shop tasks—plus shared request/signing helpers. The README contains no architectural detail, and many scripts are obfuscated or only partially sampled, so links are limited to indexed references and visible excerpts; task-to-JD service interactions are not mapped without direct evidence.

Main entry points: [`jd_bean_change.js`](https://github.com/1391959853/404jd/blob/main/jd_bean_change.js) (Asset Summary), [`jd_AutoEval.js`](https://github.com/1391959853/404jd/blob/main/jd_AutoEval.js) (Image Reviews), [`function/dylib.js`](https://github.com/1391959853/404jd/blob/main/function/dylib.js) (Shared Utilities), [`jd_fruit_new.js`](https://github.com/1391959853/404jd/blob/main/jd_fruit_new.js) (Farm Tasks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_tasks["JD Activity Tasks"]
  node_auto_eval["Image Reviews<br/>[jd_AutoEval.js]"]
  node_bean_change["Asset Summary<br/>[jd_bean_change.js]"]
  node_farm["Farm Tasks<br/>[jd_fruit_new.js]"]
  node_beans["Bean Tasks<br/>[jd_plantBean.js]"]
  node_draw["Draw Tasks<br/>[jd_ifdraw.js]"]
  node_shop["Shop Tasks<br/>[jd_dplhbshop.js]"]
  node_other_tasks["Other JD Tasks<br/>[jd_jrttlqy.js]"]
  node_rebels["Rebels Activities<br/>[3_1.js]"]
end

subgraph group_account["Account Runtime"]
  node_cookies["Cookie Manager<br/>[jdCookie.js]"]
  node_user_agents["User Agents<br/>[USER_AGENTS.js]"]
end

subgraph group_network["Request Helpers"]
  node_dynland["Request Helper A<br/>[dyland.js]"]
  node_dynland_k["Request Helper K<br/>[dylank.js]"]
  node_dynland_s["Request Helper S<br/>[dylans.js]"]
  node_dynland_x["Request Helper X<br/>[dylanx.js]"]
  node_dynlib["Shared Utilities<br/>[dylib.js]"]
  node_proxy["Proxy Helper<br/>[proxy.js]"]
  node_rebels_helpers["Rebels Runtime<br/>[Rebels_H.js]"]
  node_rebels_common["Rebels Common<br/>[Rebels_jdCommon.js]"]
end

subgraph group_notify["Notifications"]
  node_notify["Notification Sender<br/>[sendNotify.js]"]
end

node_scheduler(("Task Scheduler"))
node_jd_service["JD.com Services"]

node_scheduler -->|"starts task"| node_auto_eval
node_auto_eval -->|"loads accounts"| node_cookies
node_auto_eval -->|"uses utilities"| node_dynlib
node_auto_eval -->|"uses requests"| node_proxy
node_auto_eval -->|"uses helper"| node_dynland_x
node_auto_eval -->|"uses agents"| node_user_agents
node_auto_eval -->|"sends updates"| node_notify
node_bean_change -->|"loads accounts"| node_cookies
node_bean_change -->|"uses utilities"| node_dynlib
node_bean_change -->|"uses requests"| node_proxy
node_bean_change -->|"uses helper"| node_dynland_s
node_bean_change -->|"uses helper"| node_dynland_x
node_bean_change -->|"uses agents"| node_user_agents
node_bean_change -->|"sends updates"| node_notify
node_farm -->|"loads accounts"| node_cookies
node_farm -->|"uses utilities"| node_dynlib
node_farm -->|"uses requests"| node_proxy
node_farm -->|"uses helper"| node_dynland_s
node_farm -->|"sends updates"| node_notify
node_beans -->|"loads accounts"| node_cookies
node_beans -->|"uses utilities"| node_dynlib
node_beans -->|"uses requests"| node_proxy
node_beans -->|"uses helper"| node_dynland_s
node_beans -->|"sends updates"| node_notify
node_draw -->|"loads accounts"| node_cookies
node_draw -->|"uses utilities"| node_dynlib
node_draw -->|"uses requests"| node_proxy
node_draw -->|"uses helper"| node_dynland_s
node_draw -->|"sends updates"| node_notify
node_shop -->|"loads accounts"| node_cookies
node_shop -->|"uses utilities"| node_dynlib
node_shop -->|"uses requests"| node_proxy
node_shop -->|"uses helper"| node_dynland_k
node_shop -->|"sends updates"| node_notify
node_other_tasks -->|"loads accounts"| node_cookies
node_other_tasks -->|"uses utilities"| node_dynlib
node_other_tasks -->|"uses requests"| node_proxy
node_other_tasks -->|"sends updates"| node_notify
node_dynlib -->|"uses helper"| node_dynland
node_rebels -.->|"uses runtime"| node_rebels_helpers
node_rebels_helpers -->|"uses common"| node_rebels_common
node_jd_service -.->|"activity requests"| node_farm
node_jd_service -.->|"activity requests"| node_beans

click node_auto_eval "https://github.com/1391959853/404jd/blob/main/jd_AutoEval.js"
click node_bean_change "https://github.com/1391959853/404jd/blob/main/jd_bean_change.js"
click node_farm "https://github.com/1391959853/404jd/blob/main/jd_fruit_new.js"
click node_beans "https://github.com/1391959853/404jd/blob/main/jd_plantBean.js"
click node_draw "https://github.com/1391959853/404jd/blob/main/jd_ifdraw.js"
click node_shop "https://github.com/1391959853/404jd/blob/main/jd_dplhbshop.js"
click node_other_tasks "https://github.com/1391959853/404jd/blob/main/jd_jrttlqy.js"
click node_cookies "https://github.com/1391959853/404jd/blob/main/jdCookie.js"
click node_user_agents "https://github.com/1391959853/404jd/blob/main/USER_AGENTS.js"
click node_dynland "https://github.com/1391959853/404jd/blob/main/function/dyland.js"
click node_dynland_k "https://github.com/1391959853/404jd/blob/main/function/dylank.js"
click node_dynland_s "https://github.com/1391959853/404jd/blob/main/function/dylans.js"
click node_dynland_x "https://github.com/1391959853/404jd/blob/main/function/dylanx.js"
click node_dynlib "https://github.com/1391959853/404jd/blob/main/function/dylib.js"
click node_proxy "https://github.com/1391959853/404jd/blob/main/function/proxy.js"
click node_rebels "https://github.com/1391959853/404jd/blob/main/utils/Rebels/3_1.js"
click node_rebels_helpers "https://github.com/1391959853/404jd/blob/main/utils/Rebels_H.js"
click node_rebels_common "https://github.com/1391959853/404jd/blob/main/utils/Rebels_jdCommon.js"
click node_notify "https://github.com/1391959853/404jd/blob/main/sendNotify.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_auto_eval,node_bean_change,node_farm,node_beans,node_draw,node_shop,node_other_tasks,node_rebels toneBlue
class node_cookies,node_user_agents toneAmber
class node_dynland,node_dynland_k,node_dynland_s,node_dynland_x,node_dynlib,node_proxy,node_rebels_helpers,node_rebels_common toneMint
class node_notify,node_scheduler toneRose
class node_jd_service toneIndigo
```

## Components

### JD Activity Tasks

- [Image Reviews](https://github.com/1391959853/404jd/blob/main/jd_AutoEval.js): `jd_AutoEval.js`
- [Asset Summary](https://github.com/1391959853/404jd/blob/main/jd_bean_change.js): `jd_bean_change.js`
- [Farm Tasks](https://github.com/1391959853/404jd/blob/main/jd_fruit_new.js): `jd_fruit_new.js`
- [Bean Tasks](https://github.com/1391959853/404jd/blob/main/jd_plantBean.js): `jd_plantBean.js`
- [Draw Tasks](https://github.com/1391959853/404jd/blob/main/jd_ifdraw.js): `jd_ifdraw.js`
- [Shop Tasks](https://github.com/1391959853/404jd/blob/main/jd_dplhbshop.js): `jd_dplhbshop.js`
- [Other JD Tasks](https://github.com/1391959853/404jd/blob/main/jd_jrttlqy.js): `jd_jrttlqy.js`
- [Rebels Activities](https://github.com/1391959853/404jd/blob/main/utils/Rebels/3_1.js): `utils/Rebels/3_1.js`

### Account Runtime

- [Cookie Manager](https://github.com/1391959853/404jd/blob/main/jdCookie.js): `jdCookie.js`
- [User Agents](https://github.com/1391959853/404jd/blob/main/USER_AGENTS.js): `USER_AGENTS.js`

### Request Helpers

- [Request Helper A](https://github.com/1391959853/404jd/blob/main/function/dyland.js): `function/dyland.js`
- [Request Helper K](https://github.com/1391959853/404jd/blob/main/function/dylank.js): `function/dylank.js`
- [Request Helper S](https://github.com/1391959853/404jd/blob/main/function/dylans.js): `function/dylans.js`
- [Request Helper X](https://github.com/1391959853/404jd/blob/main/function/dylanx.js): `function/dylanx.js`
- [Shared Utilities](https://github.com/1391959853/404jd/blob/main/function/dylib.js): `function/dylib.js`
- [Proxy Helper](https://github.com/1391959853/404jd/blob/main/function/proxy.js): `function/proxy.js`
- [Rebels Runtime](https://github.com/1391959853/404jd/blob/main/utils/Rebels_H.js): `utils/Rebels_H.js`
- [Rebels Common](https://github.com/1391959853/404jd/blob/main/utils/Rebels_jdCommon.js): `utils/Rebels_jdCommon.js`

### Notifications

- [Notification Sender](https://github.com/1391959853/404jd/blob/main/sendNotify.js): `sendNotify.js`

### Other components

- **Task Scheduler**
- **JD.com Services**

## Connections

- Task Scheduler → Image Reviews: starts task (evidence: `jd_AutoEval.js`)
- Image Reviews → Cookie Manager: loads accounts (evidence: `jd_AutoEval.js`)
- Image Reviews → Shared Utilities: uses utilities (evidence: `jd_AutoEval.js`)
- Image Reviews → Proxy Helper: uses requests (evidence: `jd_AutoEval.js`)
- Image Reviews → Request Helper X: uses helper (evidence: `jd_AutoEval.js`)
- Image Reviews → User Agents: uses agents (evidence: `jd_AutoEval.js`)
- Image Reviews → Notification Sender: sends updates (evidence: `jd_AutoEval.js`)
- Asset Summary → Cookie Manager: loads accounts (evidence: `jd_bean_change.js`)
- Asset Summary → Shared Utilities: uses utilities (evidence: `jd_bean_change.js`)
- Asset Summary → Proxy Helper: uses requests (evidence: `jd_bean_change.js`)
- Asset Summary → Request Helper S: uses helper (evidence: `jd_bean_change.js`)
- Asset Summary → Request Helper X: uses helper (evidence: `jd_bean_change.js`)
- Asset Summary → User Agents: uses agents (evidence: `jd_bean_change.js`)
- Asset Summary → Notification Sender: sends updates (evidence: `jd_bean_change.js`)
- Farm Tasks → Cookie Manager: loads accounts (evidence: `jd_fruit_new.js`)
- Farm Tasks → Shared Utilities: uses utilities (evidence: `jd_fruit_new.js`)
- Farm Tasks → Proxy Helper: uses requests (evidence: `jd_fruit_new.js`)
- Farm Tasks → Request Helper S: uses helper (evidence: `jd_fruit_new.js`)
- Farm Tasks → Notification Sender: sends updates (evidence: `jd_fruit_new.js`)
- Bean Tasks → Cookie Manager: loads accounts (evidence: `jd_plantBean.js`)
- Bean Tasks → Shared Utilities: uses utilities (evidence: `jd_plantBean.js`)
- Bean Tasks → Proxy Helper: uses requests (evidence: `jd_plantBean.js`)
- Bean Tasks → Request Helper S: uses helper (evidence: `jd_plantBean.js`)
- Bean Tasks → Notification Sender: sends updates (evidence: `jd_plantBean.js`)
- Draw Tasks → Cookie Manager: loads accounts (evidence: `jd_ifdraw.js`)
- Draw Tasks → Shared Utilities: uses utilities (evidence: `jd_ifdraw.js`)
- Draw Tasks → Proxy Helper: uses requests (evidence: `jd_ifdraw.js`)
- Draw Tasks → Request Helper S: uses helper (evidence: `jd_ifdraw.js`)
- Draw Tasks → Notification Sender: sends updates (evidence: `jd_ifdraw.js`)
- Shop Tasks → Cookie Manager: loads accounts (evidence: `jd_dplhbshop.js`)
- Shop Tasks → Shared Utilities: uses utilities (evidence: `jd_dplhbshop.js`)
- Shop Tasks → Proxy Helper: uses requests (evidence: `jd_dplhbshop.js`)
- Shop Tasks → Request Helper K: uses helper (evidence: `jd_dplhbshop.js`)
- Shop Tasks → Notification Sender: sends updates (evidence: `jd_dplhbshop.js`)
- Other JD Tasks → Cookie Manager: loads accounts (evidence: `jd_jrttlqy.js`)
- Other JD Tasks → Shared Utilities: uses utilities (evidence: `jd_jrttlqy.js`)
- Other JD Tasks → Proxy Helper: uses requests (evidence: `jd_jrttlqy.js`)
- Other JD Tasks → Notification Sender: sends updates (evidence: `jd_jrttlqy.js`)
- Shared Utilities → Request Helper A: uses helper (evidence: `function/dylib.js`)
- Rebels Activities → Rebels Runtime: uses runtime
- Rebels Runtime → Rebels Common: uses common (evidence: `utils/Rebels_H.js`)
- JD.com Services → Farm Tasks: activity requests
- JD.com Services → Bean Tasks: activity requests
