Compare commits
8 commits
8949bbfd01
...
80fd73d317
Author | SHA1 | Date | |
---|---|---|---|
80fd73d317 | |||
6bbf93198f | |||
0a1089a4f6 | |||
cbc8fd427a | |||
e31d46bc9f | |||
5520cba68d | |||
7332ae9d5e | |||
366b1e552b |
9 changed files with 179 additions and 2235 deletions
BIN
assets/Sounds/Lotus Waters.ogg
Normal file
BIN
assets/Sounds/Lotus Waters.ogg
Normal file
Binary file not shown.
167
constants.json
167
constants.json
|
@ -18,18 +18,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"quotes": [
|
"quotes": [
|
||||||
"Remember the 14th commandment: Thou shalt always clean thy plate and not waste anything, whether thy stomach is full, or not.",
|
|
||||||
"I hate javascript!!!",
|
|
||||||
"Happy <s>400</s> 500 commits!",
|
|
||||||
"Play Cave Story!",
|
|
||||||
"Cave Story+ Sucks!",
|
|
||||||
"World's Worst Developer",
|
"World's Worst Developer",
|
||||||
"Bored",
|
|
||||||
"IMAGE CACHING!!! THE IMAGE CACHING IS REAL!!!!",
|
|
||||||
"Is sharing your IP <em>reallyy</em> that bad?",
|
|
||||||
"The worst git user to exist",
|
"The worst git user to exist",
|
||||||
"These birds are Pissing me off... I'm the original Starwalker",
|
"These birds are Pissing me off... I'm the original Starwalker",
|
||||||
"Fun fact: Did you know the <a href='./socials'>Socials section</a> is considered its own page?"
|
|
||||||
|
"Make sure to check out <a href='https://univerter.dev'>Univerter!</a>",
|
||||||
|
"Check out <a href='https://asahixp.pages.gay'>Asahi's website! <3</a>",
|
||||||
|
"Check out <a href='https://sylvie.loveh.art/'>Sylvie's website! <3</a>"
|
||||||
],
|
],
|
||||||
"titles": [
|
"titles": [
|
||||||
"Boykisser",
|
"Boykisser",
|
||||||
|
@ -42,45 +37,119 @@
|
||||||
"https://axiomatic-hair-production.up.railway.app/"
|
"https://axiomatic-hair-production.up.railway.app/"
|
||||||
],
|
],
|
||||||
"highlightedWords": {
|
"highlightedWords": {
|
||||||
"birds": "yellow",
|
"birds": {
|
||||||
"Pissing": "yellow",
|
"color": "yellow"
|
||||||
"Starwalker": "yellow",
|
},
|
||||||
"word highlighting": "yellow",
|
"Pissing": {
|
||||||
"replaceAll": "limegreen",
|
"color": "yellow"
|
||||||
"Godot Engine": "#64B5F6",
|
},
|
||||||
"Javascript": "yellow",
|
"Starwalker": {
|
||||||
"NodeJS": "limegreen",
|
"color": "yellow"
|
||||||
"Violets-Purgatory": "rgb(200, 150, 255)",
|
},
|
||||||
"Violets-Cache": "rgb(200, 150, 255)",
|
"word highlighting": {
|
||||||
"Violet's": "rgb(200, 150, 255)",
|
"color": "yellow"
|
||||||
"Violets": "rgb(200, 150, 255)",
|
},
|
||||||
"Violet": "rgb(200, 150, 255)",
|
"Godot Engine": {
|
||||||
"Purgatory": "rgb(200, 150, 255)",
|
"color": "#64B5F6"
|
||||||
"Asahi": "rgb(255, 175, 175)",
|
},
|
||||||
"Lunya": "rgb(255, 175, 175)",
|
"Javascript": {
|
||||||
"bisexual": "rgb(214, 2, 112)",
|
"color": "yellow"
|
||||||
"enby": "rgb(252, 244, 52)",
|
},
|
||||||
"Youtube": "rgb(255, 0, 0)",
|
"NodeJS": {
|
||||||
"Fedi": "rgb(175, 125, 200)",
|
"color": "limegreen"
|
||||||
"Matrix": "limegreen",
|
},
|
||||||
"Element": "rgb(100, 255, 200)",
|
"Violet": {
|
||||||
"Code": "rgb(150, 175, 255)",
|
"color": "rgb(200, 150, 255)"
|
||||||
"Codeberg": "rgb(0, 255, 255)",
|
},
|
||||||
"Docker": "blue",
|
"Purgatory": {
|
||||||
"Github": "gray",
|
"color": "rgb(200, 150, 255)"
|
||||||
"Steam": "lightgray",
|
},
|
||||||
"Univerter": "rgb(200, 175, 255)",
|
"Asahi": {
|
||||||
"Ko-fi": "rgb(255, 150, 150)",
|
"color": "rgb(255, 175, 175)",
|
||||||
"Revolt": "rgb(255, 50, 50)",
|
"caseInsensitive": true
|
||||||
"Discord": "rgb(150, 150, 255)",
|
},
|
||||||
"SearXNG": "rgb(100, 100, 255)",
|
"Lunya": {
|
||||||
"Highlighting": "yellow",
|
"color": "rgb(255, 175, 175)"
|
||||||
"highlighted": "yellow",
|
},
|
||||||
"Forgejo": "orange",
|
"Sylvie": {
|
||||||
"HTML": "orange",
|
"color": "#f768a4"
|
||||||
"CSS": "rgb(50, 200, 255)",
|
},
|
||||||
"Thumbor": "rgb(225, 225, 255)",
|
"bisexual": {
|
||||||
"Spotify": "limegreen",
|
"color": "rgb(214, 2, 112)"
|
||||||
"Ultrakill": "red"
|
},
|
||||||
|
"enby": {
|
||||||
|
"color": "rgb(252, 244, 52)"
|
||||||
|
},
|
||||||
|
"Youtube": {
|
||||||
|
"color": "rgb(255, 0, 0)"
|
||||||
|
},
|
||||||
|
"Fedi": {
|
||||||
|
"color": "rgb(175, 125, 200)"
|
||||||
|
},
|
||||||
|
"Matrix": {
|
||||||
|
"color": "limegreen"
|
||||||
|
},
|
||||||
|
"Element": {
|
||||||
|
"color": "rgb(100, 255, 200)"
|
||||||
|
},
|
||||||
|
"Codeberg": {
|
||||||
|
"color": "rgb(0, 255, 255)"
|
||||||
|
},
|
||||||
|
"Code": {
|
||||||
|
"color": "rgb(150, 175, 255)"
|
||||||
|
},
|
||||||
|
"Docker": {
|
||||||
|
"color": "blue"
|
||||||
|
},
|
||||||
|
"Github": {
|
||||||
|
"color": "gray"
|
||||||
|
},
|
||||||
|
"Steam": {
|
||||||
|
"color": "lightgray"
|
||||||
|
},
|
||||||
|
"Univerter": {
|
||||||
|
"color": "rgb(200, 175, 255)"
|
||||||
|
},
|
||||||
|
"Ko-fi": {
|
||||||
|
"color": "rgb(255, 150, 150)"
|
||||||
|
},
|
||||||
|
"Revolt": {
|
||||||
|
"color": "rgb(255, 50, 50)"
|
||||||
|
},
|
||||||
|
"Discord": {
|
||||||
|
"color": "rgb(150, 150, 255)"
|
||||||
|
},
|
||||||
|
"SearXNG": {
|
||||||
|
"color": "rgb(100, 100, 255)"
|
||||||
|
},
|
||||||
|
"Highlighting": {
|
||||||
|
"color": "yellow"
|
||||||
|
},
|
||||||
|
"highlighted": {
|
||||||
|
"color": "yellow"
|
||||||
|
},
|
||||||
|
"Forgejo": {
|
||||||
|
"color": "orange"
|
||||||
|
},
|
||||||
|
"HTML": {
|
||||||
|
"color": "orange"
|
||||||
|
},
|
||||||
|
"CSS": {
|
||||||
|
"color": "rgb(50, 200, 255)"
|
||||||
|
},
|
||||||
|
"Thumbor": {
|
||||||
|
"color": "rgb(225, 225, 255)"
|
||||||
|
},
|
||||||
|
"Spotify": {
|
||||||
|
"color": "limegreen"
|
||||||
|
},
|
||||||
|
"Ultrakill": {
|
||||||
|
"color": "red",
|
||||||
|
"caseInsensitive": true
|
||||||
|
},
|
||||||
|
"Risk of Rain 2": {
|
||||||
|
"color": "rgb(150, 220, 255)",
|
||||||
|
"caseInsensitive": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
2153
output.json
2153
output.json
File diff suppressed because it is too large
Load diff
|
@ -87,11 +87,6 @@ module.exports = {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!debounce && activity.type != 4) {
|
|
||||||
addedHTML += `<h2><hr>What I'm up to:</h2><div class="activity-container">`
|
|
||||||
debounce = true
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function get_img(activity, size = "large_image") {
|
function get_img(activity, size = "large_image") {
|
||||||
return "https://cache.violets-purgatory.dev/cached/" + get_img_url(activity, size)
|
return "https://cache.violets-purgatory.dev/cached/" + get_img_url(activity, size)
|
||||||
|
@ -200,6 +195,10 @@ module.exports = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return addedHTML + "</div>"
|
if (addedHTML.length > 10) {
|
||||||
|
addedHTML = `<h2><hr>What I'm up to:</h2><div class="activity-container">` + addedHTML
|
||||||
|
addedHTML += "</div>"
|
||||||
|
}
|
||||||
|
return addedHTML
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -142,13 +142,42 @@ function converter(html) {
|
||||||
|
|
||||||
for (let index = 0; index < highTable.length; index++) {
|
for (let index = 0; index < highTable.length; index++) {
|
||||||
var term = highTable[index];
|
var term = highTable[index];
|
||||||
var replacement = `<span style="color: ${highlightedWords[term]}">${term}</span>`
|
var termProps = highlightedWords[term]
|
||||||
|
|
||||||
|
var reg = term
|
||||||
|
if (termProps.caseInsensitive) {
|
||||||
|
reg = new RegExp(`(${term})`, "gi")
|
||||||
|
}
|
||||||
|
|
||||||
element.content = element.content.replaceAll(`{${term}}`, "TEMPORARY_REPLACE")
|
element.content = element.content.replaceAll(`{${term}}`, "TEMPORARY_REPLACE")
|
||||||
element.content = element.content.replaceAll(term, replacement)
|
element.content = element.content.replaceAll(reg, "{TERM" + index + "}")
|
||||||
element.content = element.content.replaceAll("TEMPORARY_REPLACE", `${term}`)
|
element.content = element.content.replaceAll("TEMPORARY_REPLACE", `${term}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (let index = 0; index < highTable.length; index++) {
|
||||||
|
var termKey = "{TERM" + index + "}"
|
||||||
|
var termProps = highlightedWords[highTable[index]]
|
||||||
|
while (element.content.includes(termKey)) {
|
||||||
|
var termIndex = element.content.indexOf(termKey)
|
||||||
|
|
||||||
|
var spanEnd = element.content.indexOf(" ", termIndex)
|
||||||
|
|
||||||
|
if (spanEnd == -1) {
|
||||||
|
spanEnd = element.content.length
|
||||||
|
}
|
||||||
|
|
||||||
|
var endContent = element.content.substring(termIndex + termKey.length, spanEnd)
|
||||||
|
|
||||||
|
var spanStart = element.content.substring(0, termIndex).lastIndexOf(" ")
|
||||||
|
var startContent = element.content.substring(spanStart, termIndex)
|
||||||
|
|
||||||
|
var replacement = `<span style="color: ${termProps.color}">${startContent + highTable[index] + endContent}</span>`
|
||||||
|
|
||||||
|
element.content = element.content.substring(0, spanStart) + replacement + element.content.substring(spanEnd)
|
||||||
|
}
|
||||||
|
|
||||||
|
// element.content = element.content.replaceAll(termKey, replacement)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,18 +67,18 @@
|
||||||
<h2><hr>Quotes:</h2>
|
<h2><hr>Quotes:</h2>
|
||||||
|
|
||||||
|
|
||||||
<p style="white-space: pre-wrap;">“literally anything from the 1995 movie 'Hackers' will absolutely fit here” -tyberry
|
<p>“literally anything from the 1995 movie 'Hackers' will absolutely fit here” -tyberry<br>
|
||||||
"ooooo you like boys, ur a boykisser" -Elodie
|
"ooooo you like boys, ur a boykisser" -Elodie<br>
|
||||||
"asahi is twink-esk in spirit. aspirational." -Juniper
|
"asahi is twink-esk in spirit. aspirational." -Juniper<br>
|
||||||
"cute huggable nice huggable cute cute" -marcy
|
"cute huggable nice huggable cute cute" -marcy<br>
|
||||||
"Petting Asahi makes the world better” -yassie
|
"Petting Asahi makes the world better” -yassie<br>
|
||||||
"meow meow meow mrrrp nya~" -gettie
|
"meow meow meow mrrrp nya~" -gettie<br>
|
||||||
"cute and queer catenby that functions as fedi's algorithm on the side" -7331
|
"cute and queer catenby that functions as fedi's algorithm on the side" -7331<br>
|
||||||
"sometimes this one still forgets how friendly some people are here… like Asahi, for instance!” -Ariadne
|
"sometimes this one still forgets how friendly some people are here… like Asahi, for instance!” -Ariadne<br>
|
||||||
"Asahi wa sugoi desu ne?" -Bard
|
"Asahi wa sugoi desu ne?" -Bard<br>
|
||||||
"this is a quote :3c" -Ukko
|
"this is a quote :3c" -Ukko<br>
|
||||||
"best Asahi I've ever met (awww!)" -Kristina
|
"best Asahi I've ever met (awww!)" -Kristina<br>
|
||||||
"asahi is friend shaped and they have a good heart" -Drew
|
"asahi is friend shaped and they have a good heart" -Drew<br>
|
||||||
"10/10 will give loving headpats and will protect them!" -Natsura</p>
|
"10/10 will give loving headpats and will protect them!" -Natsura</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,10 +19,10 @@ const discStatuses = {
|
||||||
|
|
||||||
var pfp
|
var pfp
|
||||||
|
|
||||||
var catsOnMars = new Audio("/snds/cats on mars.mp3")
|
var music = new Audio("/snds/Lotus Waters.ogg")
|
||||||
var whipLash = new Audio("/snds/johnny-test-whip-crack.mp3")
|
var whipLash = new Audio("/snds/johnny-test-whip-crack.mp3")
|
||||||
catsOnMars.loop = true
|
music.loop = true
|
||||||
catsOnMars.volume = 0.25
|
music.volume = 0.45
|
||||||
whipLash.volume = 0.25
|
whipLash.volume = 0.25
|
||||||
|
|
||||||
var sock
|
var sock
|
||||||
|
@ -42,20 +42,20 @@ function spinLoop() {
|
||||||
spinWaiting = true
|
spinWaiting = true
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
spinWaiting = false
|
spinWaiting = false
|
||||||
if (!catsOnMars.paused) {
|
if (!music.paused) {
|
||||||
if (spins > 1) {
|
if (spins > 1) {
|
||||||
document.querySelector(".spinnyCount").style.display = "block"
|
document.querySelector(".spinnyCount").style.display = "block"
|
||||||
document.querySelector(".localSpins").innerHTML = Math.ceil(spins - 1);
|
document.querySelector(".localSpins").innerHTML = Math.ceil(spins - 1);
|
||||||
}
|
}
|
||||||
spins += 0.5
|
spins += 0.5
|
||||||
if (Math.round(spins) == spins && sock && sock.OPEN) {
|
if (Math.round(spins) == spins && sock && sock.OPEN) {
|
||||||
resetPFP()
|
// resetPFP()
|
||||||
sock.send(`{"op": 4}`)
|
sock.send(`{"op": 4}`)
|
||||||
console.log("Spin Sent!")
|
console.log("Spin Sent!")
|
||||||
}
|
}
|
||||||
spinLoop()
|
spinLoop()
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1500);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onbeforeunload = function () {
|
window.onbeforeunload = function () {
|
||||||
|
@ -71,7 +71,7 @@ window.onload = function () {
|
||||||
if (!spinWaiting) {
|
if (!spinWaiting) {
|
||||||
spinLoop();
|
spinLoop();
|
||||||
}
|
}
|
||||||
catsOnMars.play()
|
music.play()
|
||||||
|
|
||||||
pfp.style.animationName = "spinny"
|
pfp.style.animationName = "spinny"
|
||||||
|
|
||||||
|
@ -79,9 +79,9 @@ window.onload = function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
document.body.onmouseup = () => {
|
document.body.onmouseup = () => {
|
||||||
if (catsOnMars.currentTime != 0) {
|
if (music.currentTime != 0) {
|
||||||
catsOnMars.currentTime = 0
|
music.currentTime = 0
|
||||||
catsOnMars.pause()
|
music.pause()
|
||||||
|
|
||||||
whipLash.currentTime = 0
|
whipLash.currentTime = 0
|
||||||
whipLash.play()
|
whipLash.play()
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
rotate: 0deg;
|
rotate: 0deg;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
animation-duration: 2s;
|
animation-duration: 3s;
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
<div>
|
<div>
|
||||||
<h3>Coding</h3>
|
<h3>Coding</h3>
|
||||||
<a class="chip" href="https://git.violets-purgatory.dev/bingus_violet/">Forgejo: bingus_violet (git.violets-purgatory.dev)</a>
|
<a class="chip" href="https://git.violets-purgatory.dev/bingus_violet/">Forgejo: bingus_violet (git.violets-purgatory.dev)</a>
|
||||||
<a class="chip" href="https://codeberg.org/Bingus_violet">{Code}berg: bingus_violet</a>
|
<a class="chip" href="https://codeberg.org/Bingus_violet">Codeberg: bingus_violet</a>
|
||||||
<a class="chip" href="https://hub.docker.com/u/bingusviolet">Docker: bingusviolet</a>
|
<a class="chip" href="https://hub.docker.com/u/bingusviolet">Docker: bingusviolet</a>
|
||||||
<a class="chip" href="https://github.com/violets-puragtory">Github: violets-puragtory</a>
|
<a class="chip" href="https://github.com/violets-puragtory">Github: violets-puragtory</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue