This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
config_example.json
99 lines (89 loc) · 2.59 KB
/
config_example.json
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
98
99
{
"IPFS_HOST": "127.0.0.1",
"IPFS_API_PORT": 5001,
"IPFS_PROTOCOL": "http",
"HTTP_PORT": 3000,
"HTTP_BIND_IP": "127.0.0.1",
"whitelistEnabled": false,
"spritesEnabled": true,
"durationAPIEnabled": true,
"deleteUploadsAfterAdd": true,
"enforceIPFSOnline": true,
"tokenExpiry": 86400,
"tokenApp": "oneloveipfs",
"upstream": "https://uploader.oneloveipfs.com",
"admins":[],
"Encoder": {
"accounts": [],
"encoder": "libx264",
"quality": "-crf 18",
"ffmpegPath": "",
"ffprobePath": "",
"outputs": [2160,1440,1080,720,480],
"threads": 0,
"maxSizeMb": 0
},
"PinService": {
"SPKOrigins": []
},
"Discounts": {
"SPK": 0.5
},
"ClientConfig": {
"authIdentifier": "oneloveipfs_login",
"authTimeoutBlocks": 20,
"gateway": "https://video.oneloveipfs.com",
"useUserPreferredGateway": true,
"hivesignerEnabled": true,
"hivesignerApp": "ipfsuploader.app",
"blurtApp": "ipfsuploader.app",
"avalonApp": "oneloveipfs",
"tusdEndpoint": "http://localhost:1080/files",
"enableSupport": true,
"disabled": false,
"disabledMessage": "",
"disabledMeme": "brbmeme.jpg",
"uploadFromFs": true,
"noBroadcast": false
},
"Build": {
"number": 11,
"version": "v3.1.0",
"link": "https://github.com/oneloveipfs/ipfsVideoUploader/releases"
},
"Skynet": {
"enabled": false,
"portalUrl": "http://localhost:9980",
"portalUploadPath": "/skynet/skyfile",
"portalFileFieldname": "file",
"apiKey": ""
},
"tusdUploadDir": "/Users/techcoderx/tusfiles",
"socketTimeout": 600000,
"Shawp": {
"Enabled": false,
"DefaultUSDRate": 0.0026,
"AvalonAPI": "https://api.avalonblocks.com",
"HiveAPI": "https://techcoderx.com",
"BlurtAPI": "https://rpc.blurt.world",
"DtcReceiver": "oneloveipfs",
"HiveReceiver": "oneloveipfs",
"BlurtReceiver": "oneloveipfs"
},
"Olisc": {
"enabled": false,
"mongodbUrl": "mongodb://localhost:27017",
"mongodbName": "olisc",
"apiNamespace": "/olisc",
"runInterval": 300000,
"rpcs": {},
"wifs": {}
},
"test": {
"hashType": ["videos","thumbnails","sprites","images","video240","video480","video720","video1080","subtitles"],
"user": "techcoderx",
"otherUser": "alice",
"hiveUser": "bob",
"aliasedUser": "john"
}
}