ManeraKai 2023-11-24 21:22:43 +03:00
parent 1a0e640e3c
commit 4ed67a3f73
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
4 changed files with 103 additions and 1 deletions

View File

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="512"
height="512"
viewBox="0 0 135.46666 135.46667"
version="1.1"
id="svg1"
xml:space="preserve"
inkscape:version="1.3.1 (91b66b0783, 2023-11-16)"
sodipodi:docname="bluesky-icon.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="1.1452094"
inkscape:cx="358.01312"
inkscape:cy="227.46931"
inkscape:window-width="1888"
inkscape:window-height="1060"
inkscape:window-x="32"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" /><defs
id="defs1"><linearGradient
id="linearGradient1"
inkscape:collect="always"><stop
style="stop-color:#0062ff;stop-opacity:1;"
offset="0"
id="stop1" /><stop
style="stop-color:#0090fe;stop-opacity:1;"
offset="1"
id="stop2" /></linearGradient><linearGradient
inkscape:collect="always"
xlink:href="#linearGradient1"
id="linearGradient2"
x1="-16.737301"
y1="0.19602649"
x2="-16.737301"
y2="136.34718"
gradientUnits="userSpaceOnUse" /></defs><g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"><rect
style="fill:url(#linearGradient2);stroke-width:1.165;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.53144"
id="rect1"
width="135.46667"
height="136.65152"
x="-4.9023438e-06"
y="-0.59242737"
ry="24.716606"
rx="24.716606" /></g></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -166,6 +166,10 @@ function redirect(url, type, initiator, forceRedirection) {
case "freetube": {
return 'freetube://' + url.href
}
case "freetubePwa": {
return 'freetube://' + url.href
}
case "poketube": {
if (url.pathname.startsWith('/channel')) {
const reg = /\/channel\/(.*)\/?$/.exec(url.pathname)
@ -561,6 +565,10 @@ function redirect(url, type, initiator, forceRedirection) {
case "tekstoLibre": {
return `${randomInstance}/?${url.pathname.slice(1)}`;
}
case "skyview": {
if (url.pathname == '/') return randomInstance
return `${randomInstance}?url=${encodeURIComponent(url.href)}`
}
default: {
return `${randomInstance}${url.pathname}${url.search}`
}
@ -731,6 +739,7 @@ const defaultInstances = {
'tuboYoutube': ['https://tubo.migalmoreno.com'],
'tuboSoundcloud': ['https://tubo.migalmoreno.com'],
'tekstoLibre': ['https://davilarek.github.io/TekstoLibre'],
'skyview': ['https://skyview.social'],
}
function initDefaults() {

View File

@ -97,6 +97,16 @@
"desktopApp": true,
"instanceList": false,
"url": "https://github.com/yattee/yattee"
},
"freetubePwa": {
"excludeTargets": [
2,
3
],
"name": "FreeTube PWA",
"embeddable": false,
"instanceList": false,
"url": "https://github.com/MarmadileManteater/FreeTubeCordova"
}
},
"targets": [
@ -963,6 +973,26 @@
},
"imageType": "svg",
"url": "https://www.tekstowo.pl"
},
"bluesky": {
"frontends": {
"skyview": {
"name": "Skyview",
"instanceList": true,
"url": "https://github.com/badlogic/skyview"
}
},
"targets": [
"^https?:\\/{2}bsky\\.app\\/"
],
"name": "Bluesky",
"options": {
"enabled": false,
"unsupportedUrls": "bypass",
"frontend": "skyview"
},
"imageType": "svg",
"url": "https://bsky.app/"
}
}
}

View File

@ -131,7 +131,7 @@ section.links {
flex-wrap: wrap;
flex-direction: column;
width: 350px;
max-height: 890px;
max-height: 930px;
}
section.links div {