Files
minisrv/zefie_wtvp_minisrv/user_config.example.json
zefie b89e0e932c v0.9.35
- numerous bug fixes
 - wtv-news goodies, ready for local testing
   - custom patched nntp-server node module with support for POSTing
   - should be able to post locally
   - 4 groups are made by default
   - can override in user_config.json (look at the config.json changes but dont do them there)
   - can sync down from an upstream server with sync_nntp.js
   - sync does not push new posts to upstream yet
2022-11-29 08:29:31 -05:00

123 lines
3.1 KiB
JSON

{
"config": {
"service_ip": "192.168.1.8",
"service_name": "WebTV",
"service_logo": "WebTVLogoJewel.gif",
"service_owner": "A Cool Dude",
"service_owner_account": "CoolDude",
"service_owner_contact": "CoolDudeTweets",
"service_owner_contact_method": "Twitter",
"service_splash_logo": "file://ROM/images/SplashLogo1.gif",
"ServiceVaults": [
"UserServiceVault",
"ServiceVault",
"C:\\users\\zefie\\webtv\\ServiceVault",
"C:/Users/zefie/webtv/ServiceVault2",
"/home/zefie/webtv/ServiceVault"
],
"ssid_block_list": [
"8100000000000000",
"8100000000000010"
],
"ssid_ip_allow_list": {
"8100000000000000": [
"192.168.1.0/24",
"127.0.0.1"
]
},
"hide_ssid_in_logs": true,
"verbosity": 2,
"errorMessages": {
"999": "My Custom Error Code Message",
"400": "${service_name} ran into a technical problem. Please try again.",
"401": "Authorization Required.",
"403": "The publisher of that page has not authorized you to view it.",
"404": "The service could not find the requested page.",
"500": "${service_name} ran into a technical problem. Please try again."
},
"lockdownWhitelist": [
"wtv-1800:/preregister",
"wtv-head-waiter:/login",
"wtv-head-waiter:/ValidateLogin",
"wtv-head-waiter:/login-stage-two",
"wtv-head-waiter:/relogin",
"wtv-head-waiter:/ROMCache/Spacer.gif",
"wtv-head-waiter:/ROMCache/NameStrip.gif",
"wtv-head-waiter:/images/PasswordBanner.gif",
"wtv-head-waiter:/ROMCache/UtilityBullet.gif",
"wtv-head-waiter:/images/NameBanner.gif",
"wtv-head-waiter:/bad-disk",
"wtv-head-waiter:/images/signin_new_mail.gif",
"wtv-head-waiter:/images/signin_no_mail.gif",
"wtv-log:/log",
"wtv-custom-service:/my-cool-page-everyone-should-have-access-to"
]
},
"services": {
"wtv-1800": {
"send_tellyscripts": true,
"send_tellyscript_ssid_whitelist": [
"8100000000000000"
]
},
"wtv-admin": {
"authorized_ssids": {
"8100000000000000": [
"192.168.1.0/24",
"127.0.0.1"
]
},
"password": "my-secure-password"
},
"wtv-log": {
"write_logs_to_disk": true
},
"wtv-some-custom-service": {
"port": 1609,
"connections": 1
},
"wtv-tricks": {
"service_ip": "192.168.1.8",
"port": 1702,
"nobind": true
},
"wtv-music": {
"disabled": true
},
"wtv-author": {
"enable_multi_query": true
},
"wtv-news": {
"disabled": false,
"upstream_address": "192.168.11.8",
"upstream_port": 1699,
"upstream_auth": {
"username": "myusername",
"password": "mypassword"
},
"upstream_tls": true,
"local_auth": {
"username": "mylocaluser",
"password": "mylocalpass"
}
}
},
"favorites": {
"folder_templates": {
"Personal": [
{
"title": "The Midnight Archive",
"url": "http://archive.midnightchannel.net/",
"image_type": "url",
"image": "canned/midnightchannel.gif"
},
{
"title": "WebTV/MSNTV Secrets",
"url": "http://turdinc.kicks-ass.net/Msntv/index2.html",
"image_type": "url",
"image": "canned/mattman69.gif"
}
]
}
}
}