forked from jordanlambrecht/tracker-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.ts
More file actions
97 lines (89 loc) · 3.36 KB
/
Copy pathconstants.ts
File metadata and controls
97 lines (89 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// src/lib/constants.ts
//
// Available: DEFAULT_LOG_FILE, DOCS_URL, DOCS, DocsEntry
export const DEFAULT_LOG_FILE = "/data/logs/tracker-tracker.log"
export const DEV_LOG_FILE = ".next/tracker-tracker.log"
export const DOCS_URL = "https://jordanlambrecht.github.io/tracker-tracker"
export type DocsEntry = { href?: string; description?: string }
export const DOCS = {
// Getting Started
INSTALLATION: {
href: `${DOCS_URL}/getting-started/installation/`,
description: "How to install Tracker Tracker with Docker",
},
FIRST_SETUP: {
href: `${DOCS_URL}/getting-started/first-setup/`,
description: "Set your master password and add your first tracker",
},
DOCKER_CONFIG: {
href: `${DOCS_URL}/getting-started/docker-config/`,
description: "Environment variables, volumes, and reverse proxy setup",
},
// Trackers
ADDING_A_TRACKER: {
href: `${DOCS_URL}/trackers/adding-a-tracker/`,
description: "How to add a tracker, find your API token, and see what stats are tracked",
},
// Features
PROXIES: {
href: `${DOCS_URL}/features/proxies/`,
description: "Route tracker requests through a SOCKS5, HTTP, or HTTPS proxy",
},
TOTP: {
href: `${DOCS_URL}/reference/settings/#two-factor-authentication`,
description: "Two-factor authentication with backup codes",
},
BACKUPS: {
href: `${DOCS_URL}/features/backups/`,
description: "Export, restore, and schedule encrypted backups",
},
DOWNLOAD_CLIENTS: {
href: `${DOCS_URL}/features/download-clients/`,
description: "Connect qBittorrent to track torrents by tag",
},
TAG_GROUPS: {
href: `${DOCS_URL}/features/tag-groups/`,
description: "Bundle qBittorrent tags into groups for breakdown charts",
},
QBITMANAGE: {
href: `${DOCS_URL}/features/qbitmanage/`,
description: "Automate tag groups with qbitmanage status tags and share limits",
},
WEBHOOKS: {
href: `${DOCS_URL}/features/webhooks/`,
description: "Get alerts in Discord when something happens on your trackers",
},
IMAGE_HOSTING: {
href: `${DOCS_URL}/features/`,
description: "Upload tracker proof to image hosting sites",
},
TRANSIT_PAPERS: {
href: `${DOCS_URL}/features/transit-papers/`,
description: "Generate and print proof of citizenship papers for other trackers",
},
// Reference
SETTINGS: { href: `${DOCS_URL}/reference/settings/`, description: "Every app setting explained" },
STATS_EXPLAINED: {
href: `${DOCS_URL}/reference/stats-explained/`,
description: "What each tracker stat means",
},
PLATFORM_DIFFERENCES: {
href: `${DOCS_URL}/reference/platform-differences/`,
description: "Field availability across UNIT3D, Gazelle, and GGn",
},
// Troubleshooting
TRACKER_OFFLINE: {
href: `${DOCS_URL}/troubleshooting/`,
description: "Tracker shows offline or polling is paused",
},
RATIO_NOT_UPDATING: {
href: `${DOCS_URL}/troubleshooting/`,
description: "Ratio or stats appear stuck",
},
COMMON_ERRORS: {
href: `${DOCS_URL}/troubleshooting/`,
description: "Error messages and what they mean",
},
} as const satisfies Record<string, DocsEntry>
// ─── Defaults ─────────────────────────────────────────────────────────────────
export const DEFAULT_TRACKER_COLOR = "#00d4ff"