mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
230 lines
6.6 KiB
JSON
230 lines
6.6 KiB
JSON
{
|
|
"app":
|
|
{
|
|
"name":"Yoda",
|
|
"theme":"Default",
|
|
"database":
|
|
{
|
|
"name":"database.sqlite",
|
|
"username":null,
|
|
"password":null
|
|
},
|
|
"header":
|
|
{
|
|
"enabled":true,
|
|
"button":
|
|
{
|
|
"close":true
|
|
}
|
|
},
|
|
"width":640,
|
|
"height":480,
|
|
"tab":
|
|
{
|
|
"page":
|
|
{
|
|
"title":
|
|
{
|
|
"default":"New page",
|
|
"width":
|
|
{
|
|
"chars":32
|
|
},
|
|
"ellipsize":
|
|
{
|
|
"mode":3
|
|
},
|
|
"postfix":
|
|
{
|
|
"hostname":true
|
|
}
|
|
},
|
|
"redirect":
|
|
{
|
|
"follow":
|
|
{
|
|
"enabled":true,
|
|
"max":5,
|
|
"code":
|
|
[
|
|
30,
|
|
31
|
|
]
|
|
}
|
|
},
|
|
"resolver":
|
|
{
|
|
"enabled":true,
|
|
"request":
|
|
{
|
|
"timeout":1,
|
|
"host":
|
|
[
|
|
"1.1.1.1",
|
|
"8.8.8.8"
|
|
],
|
|
"record":
|
|
[
|
|
"A",
|
|
"AAAA"
|
|
]
|
|
},
|
|
"result":
|
|
{
|
|
"shuffle":false,
|
|
"cache":
|
|
{
|
|
"timeout":3600
|
|
}
|
|
}
|
|
},
|
|
"history":
|
|
{
|
|
"memory":
|
|
{
|
|
"enabled":true
|
|
},
|
|
"database":
|
|
{
|
|
"enabled":true,
|
|
"mode":
|
|
{
|
|
"renew":true
|
|
}
|
|
}
|
|
},
|
|
"progressbar":
|
|
{
|
|
"visible":true
|
|
},
|
|
"header":
|
|
{
|
|
"margin":8,
|
|
"button":
|
|
{
|
|
"home":
|
|
{
|
|
"visible":true,
|
|
"label":"Home",
|
|
"url":"yoda://welcome"
|
|
},
|
|
"back":
|
|
{
|
|
"visible":true,
|
|
"label":"Back"
|
|
},
|
|
"forward":
|
|
{
|
|
"visible":true,
|
|
"label":"Forward"
|
|
},
|
|
"base":
|
|
{
|
|
"visible":true,
|
|
"label":"Base"
|
|
},
|
|
"go":
|
|
{
|
|
"visible":true,
|
|
"label":"Go"
|
|
}
|
|
},
|
|
"entry":
|
|
{
|
|
"request":
|
|
{
|
|
"placeholder":"URL or any search term...",
|
|
"length":
|
|
{
|
|
"max":1024
|
|
},
|
|
"autocomplete":
|
|
{
|
|
"enabled":true,
|
|
"inline":
|
|
{
|
|
"completion":true,
|
|
"selection":true
|
|
},
|
|
"key":
|
|
{
|
|
"length":1
|
|
},
|
|
"ignore":
|
|
{
|
|
"keycode":
|
|
[
|
|
111,
|
|
116
|
|
]
|
|
},
|
|
"result":
|
|
{
|
|
"limit":15
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"body":
|
|
{
|
|
"margin":8
|
|
},
|
|
"footer":
|
|
{
|
|
"margin":8,
|
|
"status":
|
|
{
|
|
"open":
|
|
{
|
|
"complete":"{REQUEST_BASE_URL} | {TIME_C} | {RESPONSE_META} | {RESPONSE_LENGTH} bytes | {RESPONSE_SECONDS} seconds"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"history":
|
|
{
|
|
"enabled":true,
|
|
"label":"History",
|
|
"clean":
|
|
{
|
|
"timeout":null
|
|
},
|
|
"time":
|
|
{
|
|
"format":"c"
|
|
},
|
|
"header":
|
|
{
|
|
"margin":8,
|
|
"button":
|
|
{
|
|
"open":
|
|
{
|
|
"visible":true,
|
|
"label":"Open"
|
|
},
|
|
"delete":
|
|
{
|
|
"visible":true,
|
|
"label":"Delete"
|
|
},
|
|
"search":
|
|
{
|
|
"visible":true,
|
|
"label":"Search"
|
|
}
|
|
},
|
|
"filter":
|
|
{
|
|
"placeholder":"Search in history..."
|
|
}
|
|
},
|
|
"body":
|
|
{
|
|
"margin":8
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |